Version 3.0.0
matplotlib
Fork me on GitHub

matplotlib.axis.Axis.get_figure

Axis.get_figure()

Return the Figure instance the artist belongs to.