Version 3.0.2
matplotlib
Fork me on GitHub

matplotlib.axis.XAxis.get_figure

XAxis.get_figure()

Return the Figure instance the artist belongs to.