matplotlib.pyplot.gcf — Matplotlib 3.10.8 documentation#matplotlib.pyplot.gcf
matplotlib.pyplot.gcf()Get the current figure.
If there is currently no figure on the pyplot figure stack, a new one is created using
figure(). (To test whether there is currently a figure on the pyplot figure stack, check whetherget_fignums()is empty.)
Printed 2026-06-28.
(echo:: @ ᯤ)