(self, *args, **kwargs)
| 464 | """ |
| 465 | |
| 466 | def __init__(self, *args, **kwargs): |
| 467 | self.views = WeakKeyDictionary() |
| 468 | self.positions = WeakKeyDictionary() |
| 469 | self.home_views = WeakKeyDictionary() |
| 470 | super().__init__(*args, **kwargs) |
| 471 | |
| 472 | def add_figure(self, figure): |
| 473 | """Add the current figure to the stack of views and positions.""" |