You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 3.1.0.post1482+g08512041f
matplotlib
Fork me on GitHub

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:
manager : FigureManagerBase or backend-dependent subclass thereof