Return the figure manager of the current figure. The figure manager is a container for the actual backend-depended window that displays the figure on screen. If no current figure exists, a new one is created, and its figure manager is returned. Returns ------- `.F
()
| 1215 | |
| 1216 | |
| 1217 | def get_current_fig_manager() -> FigureManagerBase | None: |
| 1218 | """ |
| 1219 | Return the figure manager of the current figure. |
| 1220 | |
| 1221 | The figure manager is a container for the actual backend-depended window |
| 1222 | that displays the figure on screen. |
| 1223 | |
| 1224 | If no current figure exists, a new one is created, and its figure |
| 1225 | manager is returned. |
| 1226 | |
| 1227 | Returns |
| 1228 | ------- |
| 1229 | `.FigureManagerBase` or backend-dependent subclass thereof |
| 1230 | """ |
| 1231 | return gcf().canvas.manager |
| 1232 | |
| 1233 | |
| 1234 | @overload |
nothing calls this directly
no test coverage detected
searching dependent graphs…