Set the location of tick in data coords with scalar *loc*
(self, loc)
| 504 | return l |
| 505 | |
| 506 | def update_position(self, loc): |
| 507 | 'Set the location of tick in data coords with scalar *loc*' |
| 508 | if self.tick1On: |
| 509 | self.tick1line.set_xdata((loc,)) |
| 510 | if self.tick2On: |
| 511 | self.tick2line.set_xdata((loc,)) |
| 512 | if self.gridOn: |
| 513 | self.gridline.set_xdata((loc,)) |
| 514 | if self.label1On: |
| 515 | self.label1.set_x(loc) |
| 516 | if self.label2On: |
| 517 | self.label2.set_x(loc) |
| 518 | |
| 519 | self._loc = loc |
| 520 | self.stale = True |
| 521 | |
| 522 | def get_view_interval(self): |
| 523 | 'return the Interval instance for this axis view limits' |