matplotlib / 3.1.1 / _as_gen / matplotlib.pyplot.gcf.html /

matplotlib.pyplot.gcf

matplotlib.pyplot.gcf() [source]

Get the current figure.

If no current figure exists, a new one is created using figure().

Examples using matplotlib.pyplot.gcf

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