Push the current view limits and position onto the stack.
(self)
| 3350 | self._zoom_info = None |
| 3351 | |
| 3352 | def push_current(self): |
| 3353 | """Push the current view limits and position onto the stack.""" |
| 3354 | self._nav_stack.push( |
| 3355 | WeakKeyDictionary( |
| 3356 | {ax: (ax._get_view(), |
| 3357 | # Store both the original and modified positions. |
| 3358 | (ax.get_position(True).frozen(), |
| 3359 | ax.get_position().frozen())) |
| 3360 | for ax in self.canvas.figure.axes})) |
| 3361 | self.set_history_buttons() |
| 3362 | |
| 3363 | def _update_view(self): |
| 3364 | """ |
no test coverage detected