matplotlib.pyplot.fignum_exists#

matplotlib.pyplot.fignum_exists(num)[source]#

返回具有给定ID的图是否存在。

参数:
num整数或字符串

图的标识符。

返回:
布尔值

具有 ID num 的图是否存在。