matplotlib.axes.Axes.get_xaxis

Axes.get_xaxis()[source]

Return the XAxis instance.

The use of this function is discouraged. You should instead directly access the attribute ax.xaxis.