Create a new figure manager for *figure*, using this canvas class. Notes ----- This method should not be reimplemented in subclasses. If custom manager creation logic is needed, please reimplement ``FigureManager.create_with_canvas``.
(cls, figure, num)
| 1824 | |
| 1825 | @classmethod |
| 1826 | def new_manager(cls, figure, num): |
| 1827 | """ |
| 1828 | Create a new figure manager for *figure*, using this canvas class. |
| 1829 | |
| 1830 | Notes |
| 1831 | ----- |
| 1832 | This method should not be reimplemented in subclasses. If |
| 1833 | custom manager creation logic is needed, please reimplement |
| 1834 | ``FigureManager.create_with_canvas``. |
| 1835 | """ |
| 1836 | return cls.manager_class.create_with_canvas(cls, figure, num) |
| 1837 | |
| 1838 | @contextmanager |
| 1839 | def _idle_draw_cntx(self): |
no test coverage detected