matplotlib.pyplot.get_current_fig_manager

matplotlib.pyplot.get_current_fig_manager()[源代码]

返回当前地物的地物管理器。

图形管理器是实际后端依赖窗口的容器,该窗口在屏幕上显示图形。

如果不存在当前地物,则会创建一个新地物,并返回其地物管理器。

返回:
FigureManagerBase 或其后端依赖子类

使用实例 matplotlib.pyplot.get_current_fig_manager