matplotlib.pyplot.gcf#

matplotlib.pyplot.gcf()[Quelle]#

Holt die aktuelle Abbildung.

Wenn derzeit keine Abbildung im pyplot-Abbildungsstapel vorhanden ist, wird eine neue mit figure() erstellt. (Um zu testen, ob derzeit eine Abbildung im pyplot-Abbildungsstapel vorhanden ist, prüfen Sie, ob get_fignums() leer ist.)