I am trying to do the following: plot two different datasets, ask the user which one is better, remove the bad one from the figure, and save the good plot. However, I can't find a way to do it with matplotlib. I found the cla() command, but even like that it keeps on deleting the whole figure... can someone give me a hand with this?
Here is how I am doing it.
fig=plt.figure() ax=fig.add_subplot(111) plot(something) ax2=fig.add_subplot(111) plot(other thing) cla() Thanks!