From 16dd2ae0d430a47d3fef03b2b2d5401487385f4e Mon Sep 17 00:00:00 2001 From: Antonio Ospite Date: Fri, 12 Jun 2015 18:20:03 +0200 Subject: [PATCH] RadialSymmetryDiagram.py: remove a redundant statement The color calculation is exactly the same as done some lines above. --- RadialSymmetryDiagram.py | 1 - 1 file changed, 1 deletion(-) diff --git a/RadialSymmetryDiagram.py b/RadialSymmetryDiagram.py index 581ad30..333606a 100755 --- a/RadialSymmetryDiagram.py +++ b/RadialSymmetryDiagram.py @@ -89,7 +89,6 @@ class RadialSymmetryDiagram(Diagram.Diagram): if model.show_labels: ta = self.normalized_angle_01(rotated_radial_orientation_angle) text = ("%.2f" % (ta * 360)).rstrip('0').rstrip('.') - color = colorsys.hsv_to_rgb(a, 1.0, 1.0) self.draw_centered_text(v[0], v[1], text, rotated_radial_orientation_angle, color, align_baseline=True) -- 2.1.4