Le Vendredi 17 Novembre 2006 21:37, vous avez écrit : > 1) you seem to have posted this three times -- we really only need it once.
Sorry, I've problem with my email, I didn't receive the mail so I thought it wasn't send! (sourceforge seems not to like gmail emails) > 2) I'd recommend wx MPL, it's a nice way to embed MPL in wx -- it > handles much of this for you.: > > http://agni.phys.iit.edu/~kmcivor/wxmpl/ I've already heard a little bit of this package. Only problem is that there is no installer yet if I didn't miss it, I would have to prepare an ebuild and also to install on windows too, something I never did. I don't know what would be the faster for me, maybe going further with matplotlib directly, maybe I'm wrong. > 3) try to enclose a complete app, so we can test and adjust it without > writing a bunch of code ourselves. ...cutted here > Make it simpler, put it in a small app, then post again if you can't get > it to work. I eventually solved my problem and I can embedded in wx... which was trivial for examples, maybe because I'm quite new to OO programming etc. wxglade6.py continously plots curves I hope it may help beginner like me to embed matplotlib in a wxpython application which generally need the possibility to update the curve plotted. I just have one question : why is the wxTIMER passing 2 parameters to method app.frame1.panel_graf? I putted an dummy second parameter to solve this problem (without understanding the reason for that!) when printing the dummy_parameter it returns : <wx._misc.TimerEvent; proxy of C++ wxTimerEvent instance at _a4149bbf_p_wxTimerEvent> So what? Long live matplotlib!
wxglade6.py
Description: application/python
------------------------------------------------------------------------- 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