Move an Axes, which must already exist in the stack, to the top.
(self, a)
| 89 | self._axes.pop(a) |
| 90 | |
| 91 | def bubble(self, a): |
| 92 | """Move an Axes, which must already exist in the stack, to the top.""" |
| 93 | if a not in self._axes: |
| 94 | raise ValueError("Axes has not been added yet") |
| 95 | self._axes[a] = next(self._counter) |
| 96 | |
| 97 | def add(self, a): |
| 98 | """Add an Axes to the stack, ignoring it if already present.""" |