Skip to content

Commit cd81fbf

Browse files
committed
more pep8 failures to hide under the rug.
1 parent 42185f8 commit cd81fbf

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

lib/matplotlib/tests/test_axes.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3662,8 +3662,8 @@ def make_patch_spines_invisible(ax):
36623662
# placed on the right by twinx above.
36633663
par2.spines["right"].set_position(("axes", 1.2))
36643664
# Having been created by twinx, par2 has its frame off, so the line of its
3665-
# detached spine is invisible. First, activate the frame but make the patch
3666-
# and spines invisible.
3665+
# detached spine is invisible. First, activate the frame but make the
3666+
# patch and spines invisible.
36673667
make_patch_spines_invisible(par2)
36683668
# Second, show the right spine.
36693669
par2.spines["right"].set_visible(True)
@@ -3843,7 +3843,7 @@ def test_pie_center_radius():
38433843
labels = 'Frogs', 'Hogs', 'Dogs', 'Logs'
38443844
sizes = [15, 30, 45, 10]
38453845
colors = ['yellowgreen', 'gold', 'lightskyblue', 'lightcoral']
3846-
explode = (0, 0.1, 0, 0) # only "explode" the 2nd slice (i.e. 'Hogs')
3846+
explode = (0, 0.1, 0, 0) # only "explode" the 2nd slice (i.e. 'Hogs')
38473847

38483848
plt.pie(sizes, explode=explode, labels=labels, colors=colors,
38493849
autopct='%1.1f%%', shadow=True, startangle=90,
@@ -3929,10 +3929,11 @@ def test_set_get_ticklabels():
39293929
ax[0].set_xticklabels(('a', 'b', 'c', 'd'))
39303930
ax[0].set_yticklabels(('11', '12', '13', '14'))
39313931

3932-
# set ticklabel to the other plot, expect the 2 plots have same label setting
3932+
# set ticklabel to the other plot, expect the 2 plots have
3933+
# same label setting
39333934
# pass get_ticklabels return value as ticklabels argument
3934-
ax[1].set_xticklabels(ax[0].get_xticklabels() )
3935-
ax[1].set_yticklabels(ax[0].get_yticklabels() )
3935+
ax[1].set_xticklabels(ax[0].get_xticklabels())
3936+
ax[1].set_yticklabels(ax[0].get_yticklabels())
39363937

39373938

39383939
@image_comparison(baseline_images=['o_marker_path_snap'], extensions=['png'],

0 commit comments

Comments
 (0)