You are reading an old version of the documentation (v2.2.4). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.gcf.html
Version 2.2.4
matplotlib
Fork me on GitHub

Table of Contents

matplotlib.pyplot.gcf

matplotlib.pyplot.gcf()[source]

Get a reference to the current figure.

Examples using matplotlib.pyplot.gcf