Version 3.0.2
matplotlib

matplotlib.axis.YAxis.cla

YAxis.cla()

clear the current axis