Version 3.0.2
matplotlib

matplotlib.axes.Axes.get_figure

Axes.get_figure()

Return the Figure instance the artist belongs to.