We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8dd523 commit 332b986Copy full SHA for 332b986
lib/matplotlib/projections/polar.py
@@ -557,7 +557,7 @@ def update_position(self, loc):
557
ha = 'left'
558
va = 'bottom'
559
else:
560
- ha, va = self._determine_anchor(angle, True)
+ ha, va = self._determine_anchor(angle, direction > 0)
561
self.label1.set_ha(ha)
562
self.label1.set_va(va)
563
self.label1.set_rotation(text_angle)
@@ -601,7 +601,7 @@ def update_position(self, loc):
601
602
text_angle = user_angle
603
if self.label2On:
604
- ha, va = self._determine_anchor(angle, False)
+ ha, va = self._determine_anchor(angle, direction < 0)
605
self.label2.set_ha(ha)
606
self.label2.set_va(va)
607
self.label2.set_rotation(text_angle)
0 commit comments