From: Emmanuel Favre-N. <man...@gm...> - 2006-11-19 00:01:08
|
Le Vendredi 17 Novembre 2006 21:37, vous avez =E9crit=A0: > 1) you seem to have posted this three times -- we really only need it onc= e. Sorry, I've problem with my email, I didn't receive the mail so I thought i= t=20 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 ther= e=20 is no installer yet if I didn't miss it, I would have to prepare an ebuild= =20 and also to install on windows too, something I never did. I don't know wha= t=20 would be the faster for me, maybe going further with matplotlib directly,=20 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. =2E..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 trivia= l=20 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= =20 embed matplotlib in a wxpython application which generally need the=20 possibility to update the curve plotted. I just have one question : why is the wxTIMER passing 2 parameters to metho= d=20 app.frame1.panel_graf?=20 I putted an dummy second parameter to solve this problem (without=20 understanding the reason for that!) when printing the dummy_parameter it returns : <wx._misc.TimerEvent; proxy of C++ wxTimerEvent instance at=20 _a4149bbf_p_wxTimerEvent> So what? Long live matplotlib! |