Version 3.0.3
matplotlib
Fork me on GitHub

matplotlib.axis.Axis.get_figure

Axis.get_figure()

Return the Figure instance the artist belongs to.