matplotlib.axes.Axes.clear

Axes.clear(self)

Clear the axes.