Version 2.2.3
matplotlib

matplotlib.axis.XAxis.set_figure

XAxis.set_figure(fig)

Set the Figure instance the artist belongs to.

Parameters:

fig : Figure