File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 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):
20232023 assert position == 'left' or position == 'right'
20242024 self .label .set_rotation_mode ('anchor' )
20252025 self .label .set_horizontalalignment ('center' )
2026- self .set_offset_position (position )
20272026 if position == 'left' :
20282027 self .label .set_verticalalignment ('bottom' )
20292028 else :
@@ -2115,9 +2114,11 @@ def set_ticks_position(self, position):
21152114 if position == 'right' :
21162115 self .set_tick_params (which = 'both' , right = True , labelright = True ,
21172116 left = False , labelleft = False )
2117+ self .set_offset_position (position )
21182118 elif position == 'left' :
21192119 self .set_tick_params (which = 'both' , right = False , labelright = False ,
21202120 left = True , labelleft = True )
2121+ self .set_offset_position (position )
21212122 elif position == 'both' :
21222123 self .set_tick_params (which = 'both' , right = True ,
21232124 left = True )
You can’t perform that action at this time.
0 commit comments