On 2/14/07, David Clark (Lists) <[EMAIL PROTECTED]> wrote: > I'm working on a GUI with wxPython to display several traces of data. > Using a checkbox, I would like to be able to turn traces on the plot on > and off. I have managed to find the right methods to turn the whole > axes on and off, but not individual traces. Any help would be appreciated.
Everythong that draws into a figure (Axes, Text, Line2D, Polygon, etc...) all derive from Artist which has a visible property. So you can turn anything off/on with o.set_visible(True|False) JDH ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users