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 eb3cf4f commit 0a1e5a4Copy full SHA for 0a1e5a4
lib/matplotlib/axes/_axes.py
@@ -2868,7 +2868,8 @@ def get_next_color():
2868
label_rotation = 'horizontal'
2869
if rotatelabels:
2870
label_alignment_v = yt > 0 and 'bottom' or 'top'
2871
- label_rotation = np.rad2deg(thetam) + (0 if xt > 0 else 180)
+ label_rotation = np.rad2deg(thetam) + (0 if xt > 0
2872
+ else 180)
2873
props = dict(horizontalalignment=label_alignment_h,
2874
verticalalignment=label_alignment_v,
2875
rotation=label_rotation,
lib/matplotlib/tests/baseline_images/test_axes/pie_no_label.png
71 Bytes
0 commit comments