File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -2023,7 +2023,6 @@ def set_label_position(self, position):
2023
2023
assert position == 'left' or position == 'right'
2024
2024
self .label .set_rotation_mode ('anchor' )
2025
2025
self .label .set_horizontalalignment ('center' )
2026
- self .set_offset_position (position )
2027
2026
if position == 'left' :
2028
2027
self .label .set_verticalalignment ('bottom' )
2029
2028
else :
@@ -2115,9 +2114,11 @@ def set_ticks_position(self, position):
2115
2114
if position == 'right' :
2116
2115
self .set_tick_params (which = 'both' , right = True , labelright = True ,
2117
2116
left = False , labelleft = False )
2117
+ self .set_offset_position (position )
2118
2118
elif position == 'left' :
2119
2119
self .set_tick_params (which = 'both' , right = False , labelright = False ,
2120
2120
left = True , labelleft = True )
2121
+ self .set_offset_position (position )
2121
2122
elif position == 'both' :
2122
2123
self .set_tick_params (which = 'both' , right = True ,
2123
2124
left = True )
You can’t perform that action at this time.
0 commit comments