matplotlib / 3.4.3 / _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–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.4.3/api/_as_gen/matplotlib.pyplot.gcf.html