Version 2.2.2
matplotlib

matplotlib.axis.YAxis.get_figure

YAxis.get_figure()

Return the Figure instance the artist belongs to.