When the __init__ method just calls the parent __init__ method without
doing anything else, it is not strictly needed.
class RadialSymmetryDiagram(Diagram.Diagram):
class RadialSymmetryDiagram(Diagram.Diagram):
- def __init__(self, width, height, background=[1, 1, 1]):
- Diagram.Diagram.__init__(self, width, height, background)
-
def draw(self, model):
cx = self.width / 2.0
cy = self.height / 2.0
def draw(self, model):
cx = self.width / 2.0
cy = self.height / 2.0