matplotlib.axis.XAxis.cla

XAxis.cla()

Clear this axis.