matplotlib.pyplot.get_current_fig_manager

matplotlib.pyplot.get_current_fig_manager() [source]

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 if no current figure exists, a new one is created an its figure manager is returned.

Returns:
managerFigureManagerBase or backend-dependent subclass thereof

© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.2.2/api/_as_gen/matplotlib.pyplot.get_current_fig_manager.html