Version 3.1.2
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.get_figure

Axes.get_figure(self)

Return the Figure instance the artist belongs to.