<human>:  How do I tell matplotlib that I am done with a plot?
<bot>: Here is some code to matplotlib clear the current axes.

plt.cla()

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.