Version 3.1.2
matplotlib

matplotlib.pyplot.clf

matplotlib.pyplot.clf()[source]

Clear the current figure.

Examples using matplotlib.pyplot.clf