X-Git-Url: https://git.ao2.it/experiments/RadialSymmetry.git/blobdiff_plain/73ba5120f5867eeb40de9bbb3328e4bc2c77ab45..3ad27a2c463cbaeb6989828ed1925869e55e193a:/RadialSymmetryDiagram.py?ds=inline diff --git a/RadialSymmetryDiagram.py b/RadialSymmetryDiagram.py index a54c1bb..581ad30 100755 --- a/RadialSymmetryDiagram.py +++ b/RadialSymmetryDiagram.py @@ -91,7 +91,8 @@ class RadialSymmetryDiagram(Diagram.Diagram): 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) + rotated_radial_orientation_angle, color, + align_baseline=True) def draw_element(self, x, y, model, theta, color=[0, 0, 0]): if model.show_elements: