matplotlib.axis.XAxis.set_figure

XAxis.set_figure(fig)

Set the Figure instance the artist belongs to.

Parameters:fig : Figure