[Matplotlib-users] removing a plot from an axes

2014-04-18 Thread Michael Mossey
Sorry for what is a beginnerish question but I'm having a hard time using the docs. I want to remove a previous plot from an axes. How do I do this? Incidentally, it makes the docs hard to use that there are so many methods on Axes which are spread a great distance over the page. It would be

Re: [Matplotlib-users] removing a plot from an axes

2014-04-18 Thread Adam Hughes
This will clear the figure: plt.clf() Is this what you're looking for, or just to pop one plot form the stack? On Fri, Apr 18, 2014 at 6:21 PM, Michael Mossey michaelmos...@gmail.comwrote: Sorry for what is a beginnerish question but I'm having a hard time using the docs. I want to remove

Re: [Matplotlib-users] removing a plot from an axes

2014-04-18 Thread Eric Firing
On 2014/04/18 12:21 PM, Michael Mossey wrote: Sorry for what is a beginnerish question but I'm having a hard time using the docs. I want to remove a previous plot from an axes. How do I do this? If you want to clear the axes, call the cla() or clear() method. If you want to remove an artist