how do i tell matplotlib that i am done with a plot?,plt.clf()