matplotlib.axis.XAxis.cla

XAxis.cla(self)

Clear this axis.