|
From: Eric F. <ef...@ha...> - 2014-04-18 23:00:45
|
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 such as a line, call its "remove()" method. > > 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. I agree. What is needed is a listing of methods by category instead of all together as a single alphabetical list. In the meantime, you might find browsing the User Guide to be of some help. Also, the "Quick Search" box can help. Eric > > 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 > |