def makeTransform (self, minX, maxX, minY, maxY):
        matrix1 = Matrix (3, 3)
        matrix1.set (-minX, 0, 2)
        matrix1.set (-minY, 1, 2)

        currentRangeX = float (minX - maxX)
        currentRangeY = float (maxY - minY)

        matrix2 = Matrix (3, 3)
        matrix2.set (self.width / currentRangeX, 0, 0)
        matrix2.set (self.height / currentRangeY, 1, 1)
        
        matrix3 = Matrix (3, 3)
        matrix3.set (self.height, 1, 2)
        matrix3.set (-1.0, 1, 1)

        return (matrix3 * (matrix2 * matrix1))
dataset/ETHPy150Open dotskapes/dotSkapes/modules/savage/graph/canvas.py/GraphCanvas.makeTransform/swapped operands of `-`