Version 3.0.2
matplotlib
Fork me on GitHub

matplotlib.axes.Axes.get_figure

Axes.get_figure()

Return the Figure instance the artist belongs to.