On Fri, Jan 16, 2009 at 9:40 AM,  <projet...@club-internet.fr> wrote:
> That's great. I'm a real newbie with mpl and I would like to know how to
> change figure after a PyQt-Event.
> That's must be simple but I don't see how to do this. My idea would be for
> example to show different kinds of draw like for example the sin function
> and another function. The users just have to click on some button. This is
> only to understand the way mpl manage changes in the figure.
>
> If someone could helpme that would be greater than great.

Take a look at the matplotlib widgets example referenced below.  It
uses mpl widgets rather than qt widgets, but it should make clear the
logic of updating plot properties connected to callbacks

http://matplotlib.svn.sourceforge.net/viewvc/matplotlib/trunk/matplotlib/examples/widgets/radio_buttons.py?content-type=text%2Fplain

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to