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.:
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.
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
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
Long live matplotlib!
wxglade6.py (3.09 KB)