Version 2.2.3
matplotlib

matplotlib.axis.YAxis.get_figure

YAxis.get_figure()

Return the Figure instance the artist belongs to.