Return the original and modified positions for the specified Axes. Parameters ---------- ax : matplotlib.axes.Axes The `.Axes` to get the positions for. Returns ------- original_position, modified_position A tuple of
(self, ax)
| 535 | self.positions[figure].push(pos) |
| 536 | |
| 537 | def _axes_pos(self, ax): |
| 538 | """ |
| 539 | Return the original and modified positions for the specified Axes. |
| 540 | |
| 541 | Parameters |
| 542 | ---------- |
| 543 | ax : matplotlib.axes.Axes |
| 544 | The `.Axes` to get the positions for. |
| 545 | |
| 546 | Returns |
| 547 | ------- |
| 548 | original_position, modified_position |
| 549 | A tuple of the original and modified positions. |
| 550 | """ |
| 551 | |
| 552 | return (ax.get_position(True).frozen(), |
| 553 | ax.get_position().frozen()) |
| 554 | |
| 555 | def update_home_views(self, figure=None): |
| 556 | """ |
no test coverage detected