MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / get_current_fig_manager

Function get_current_fig_manager

lib/matplotlib/pyplot.py:1217–1231  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

1215
1216
1217def 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

Callers

nothing calls this directly

Calls 1

gcfFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…