matplotlib.axis.XAxis.get_figure

XAxis.get_figure(self)

Return the Figure instance the artist belongs to.