From: Antonio Ospite Date: Fri, 12 Jun 2015 15:11:09 +0000 (+0200) Subject: RadialSymmetryDiagram.py: remove trivial __init__ method X-Git-Url: https://git.ao2.it/experiments/RadialSymmetry.git/commitdiff_plain/bf505aac1157609e33843d49634db9839e8e64cf RadialSymmetryDiagram.py: remove trivial __init__ method When the __init__ method just calls the parent __init__ method without doing anything else, it is not strictly needed. --- diff --git a/RadialSymmetryDiagram.py b/RadialSymmetryDiagram.py index e6bc383..a54c1bb 100755 --- a/RadialSymmetryDiagram.py +++ b/RadialSymmetryDiagram.py @@ -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