RadialSymmetryDiagram.py: remove trivial __init__ method
authorAntonio Ospite <ao2@ao2.it>
Fri, 12 Jun 2015 15:11:09 +0000 (17:11 +0200)
committerAntonio Ospite <ao2@ao2.it>
Fri, 12 Jun 2015 15:11:09 +0000 (17:11 +0200)
When the __init__ method just calls the parent __init__ method without
doing anything else, it is not strictly needed.

RadialSymmetryDiagram.py

index e6bc383..a54c1bb 100755 (executable)
@@ -43,9 +43,6 @@ class RadialSymmetryModel():
 
 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