From bf505aac1157609e33843d49634db9839e8e64cf Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Fri, 12 Jun 2015 17:11:09 +0200 Subject: [PATCH] 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. --- RadialSymmetryDiagram.py | 3 --- 1 file changed, 3 deletions(-) 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 -- 2.1.4