Reset the Axes stack.
(self, figure)
| 482 | figure.add_axobserver(lambda fig: self.update_home_views(fig)) |
| 483 | |
| 484 | def clear(self, figure): |
| 485 | """Reset the Axes stack.""" |
| 486 | if figure in self.views: |
| 487 | self.views[figure].clear() |
| 488 | self.positions[figure].clear() |
| 489 | self.home_views[figure].clear() |
| 490 | self.update_home_views() |
| 491 | |
| 492 | def update_view(self): |
| 493 | """ |
nothing calls this directly
no test coverage detected