Version 2.2.3
matplotlib

matplotlib.axes.Axes.get_figure

Axes.get_figure()

Return the Figure instance the artist belongs to.