Set the location of tick in data coords with scalar *loc*.
(self, loc)
| 493 | self.tick2line.set_marker(mark2) |
| 494 | |
| 495 | def update_position(self, loc): |
| 496 | """Set the location of tick in data coords with scalar *loc*.""" |
| 497 | self.tick1line.set_ydata((loc,)) |
| 498 | self.tick2line.set_ydata((loc,)) |
| 499 | self.gridline.set_ydata((loc,)) |
| 500 | self.label1.set_y(loc) |
| 501 | self.label2.set_y(loc) |
| 502 | self._loc = loc |
| 503 | self.stale = True |
| 504 | |
| 505 | def get_view_interval(self): |
| 506 | # docstring inherited |