Version 3.0.2
matplotlib

matplotlib.axis.YAxis.get_figure

YAxis.get_figure()

Return the Figure instance the artist belongs to.