Skip to content

Commit 0a1e5a4

Browse files
committed
TST: image fix
- fix pep8 error
1 parent eb3cf4f commit 0a1e5a4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2868,7 +2868,8 @@ def get_next_color():
28682868
label_rotation = 'horizontal'
28692869
if rotatelabels:
28702870
label_alignment_v = yt > 0 and 'bottom' or 'top'
2871-
label_rotation = np.rad2deg(thetam) + (0 if xt > 0 else 180)
2871+
label_rotation = np.rad2deg(thetam) + (0 if xt > 0
2872+
else 180)
28722873
props = dict(horizontalalignment=label_alignment_h,
28732874
verticalalignment=label_alignment_v,
28742875
rotation=label_rotation,

0 commit comments

Comments
 (0)