File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -308,9 +308,9 @@ def update_position(self, loc):
308308 x = loc
309309
310310
311- self .tick1line .set_xdata ((x , x ))
312- self .tick2line .set_xdata ((x , x ))
313- self .gridline .set_xdata ((x , x ))
311+ self .tick1line .set_xdata ((x ,))
312+ self .tick2line .set_xdata ((x ,))
313+ self .gridline .set_xdata ((x , ))
314314 self .label1 .set_x (x )
315315 self .label2 .set_x (x )
316316 self ._loc = loc
@@ -432,9 +432,9 @@ def _get_gridline(self, loc):
432432 def update_position (self , loc ):
433433 'Set the location of tick in data coords with scalar loc'
434434 y = loc
435- self .tick1line .set_ydata ((y , y ))
436- self .tick2line .set_ydata ((y , y ))
437- self .gridline .set_ydata ((y , y ))
435+ self .tick1line .set_ydata ((y ,))
436+ self .tick2line .set_ydata ((y ,))
437+ self .gridline .set_ydata ((y , ))
438438
439439 self .label1 .set_y ( y )
440440 self .label2 .set_y ( y )
You can’t perform that action at this time.
0 commit comments