@@ -3662,8 +3662,8 @@ def make_patch_spines_invisible(ax):
3662
3662
# placed on the right by twinx above.
3663
3663
par2 .spines ["right" ].set_position (("axes" , 1.2 ))
3664
3664
# 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.
3667
3667
make_patch_spines_invisible (par2 )
3668
3668
# Second, show the right spine.
3669
3669
par2 .spines ["right" ].set_visible (True )
@@ -3843,7 +3843,7 @@ def test_pie_center_radius():
3843
3843
labels = 'Frogs' , 'Hogs' , 'Dogs' , 'Logs'
3844
3844
sizes = [15 , 30 , 45 , 10 ]
3845
3845
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')
3847
3847
3848
3848
plt .pie (sizes , explode = explode , labels = labels , colors = colors ,
3849
3849
autopct = '%1.1f%%' , shadow = True , startangle = 90 ,
@@ -3929,10 +3929,11 @@ def test_set_get_ticklabels():
3929
3929
ax [0 ].set_xticklabels (('a' , 'b' , 'c' , 'd' ))
3930
3930
ax [0 ].set_yticklabels (('11' , '12' , '13' , '14' ))
3931
3931
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
3933
3934
# 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 ())
3936
3937
3937
3938
3938
3939
@image_comparison (baseline_images = ['o_marker_path_snap' ], extensions = ['png' ],
0 commit comments