Version 3.1.1
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.get_figure

Axes.get_figure(self)

Return the Figure instance the artist belongs to.