matplotlib.axis.Axis.get_figure

Axis.get_figure(self)

Return the Figure instance the artist belongs to.