|
From: Adam H. <hug...@gm...> - 2014-04-18 22:42:53
|
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 <mic...@gm...>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? > > 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 nice > to have a concise listing of the methods of Axes. > > Note that I'm not using pyplot, but I think the term for what I'm doing is > using the API. I'm subclassing FigureCanvas in PyQt, creating a Figure, and > creating an axes using Figure.add_subplot(). > > Mike > > > > ------------------------------------------------------------------------------ > Learn Graph Databases - Download FREE O'Reilly Book > "Graph Databases" is the definitive new guide to graph databases and their > applications. Written by three acclaimed leaders in the field, > this first edition is now available. Download your free book today! > http://p.sf.net/sfu/NeoTech > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > |