Version 3.0.2
matplotlib
Fork me on GitHub

matplotlib.axis.XAxis.cla

XAxis.cla()

clear the current axis