MATPLOTLIB CLEAR PLOT

import matplotlib.pyplot as plt

plt.clf()
Difficult Dormouse