Version 3.1.2
matplotlib

matplotlib.axes.Axes.clear

Axes.clear()

Clear the axes.