mpl.pyplot.gcf()

mpl.pyplot.gcf()[source]

Get a reference to the current figure.