class_docstr: Scaling is equivalent to the matrix [sx 0 0 sy 0 0]. One unit in the X and
  Y directions in the new coordinate system equals sx and sy units in the
  previous coordinate system, respectively.
class_docstr_tok: ["Scaling","is","equivalent","to","the","matrix","[","sx","0","0","sy","0","0","]",".","One","unit","in","the","X","and","Y","directions","in","the","new","coordinate","system","equals","sx","and","sy","units","in","the","previous","coordinate","system",",","respectively","."]
code: def __init__(self, x, y=0):
      Matrix.__init__(self)
      self._x = x
      self._y = y or x
      self._matrix[...] = [[x, 0, 0], [0, y, 0], [0, 0, 1]]
  
imports: import re
  import math
  import numpy
label_desc: Use image node_id 1 to create a new Scale object from inherited base classes: Matrix with example: obj = Scale(x, y)