Version 3.1.2
matplotlib
Fork me on GitHub

matplotlib.axis.XAxis.cla

XAxis.cla(self)

clear the current axis