Set the location of tick in data coords with scalar *loc*.
(self, loc)
| 432 | self.tick2line.set_marker(mark2) |
| 433 | |
| 434 | def update_position(self, loc): |
| 435 | """Set the location of tick in data coords with scalar *loc*.""" |
| 436 | self.tick1line.set_xdata((loc,)) |
| 437 | self.tick2line.set_xdata((loc,)) |
| 438 | self.gridline.set_xdata((loc,)) |
| 439 | self.label1.set_x(loc) |
| 440 | self.label2.set_x(loc) |
| 441 | self._loc = loc |
| 442 | self.stale = True |
| 443 | |
| 444 | def get_view_interval(self): |
| 445 | # docstring inherited |