Hi Sortof, but not really. I've just discovered
> something reeeally interesting.
> I've produced a sample app that exhibits this
> behaviour. However, monitor.py (in plugins/wx) still
> depends on twisted.spread.pb. If I comment out that
> import, it all runs fine. (you can add data with the a
> button and the slider in the left pane) It's hard for me
> guess who is causing the troubles - whether it's
> matplotlib not beeing able to handle the twisted
> threading or twisted breaking matplotlib - I don't know
Yep, this looks like a threading problem. Could be a tough nut to
crack. Sorry, but I don't have any concrete suggestions for you.
Perhaps someone on the wx list would have some idea how to make wx
events play nicely with twisted threads.
JDH
I have sortof solved my problem. The main problem was, that autoscrolling
doesn't seem to work the way it should - now paired with a little bug that
got hidden made these problems for me. Since I have to control my y and x
axis closely anyway, There is no real problem anymore.
Thanks for all the help.
···
-----Ursprüngliche Nachricht-----
Von: John Hunter [mailto:jdhunter@…4…]
Gesendet: Dienstag, 30. August 2005 00:22
An: Benjamin Schindler
Cc: 'Werner F. Bruhin'; matplotlib-users@lists.sourceforge.net
Betreff: Re: [Matplotlib-users] Re: Line2D and wx Backend
> Hi Sortof, but not really. I've just discovered
> something reeeally interesting.
> I've produced a sample app that exhibits this
> behaviour. However, monitor.py (in plugins/wx) still
> depends on twisted.spread.pb. If I comment out that
> import, it all runs fine. (you can add data with the a
> button and the slider in the left pane) It's hard for me
> guess who is causing the troubles - whether it's
> matplotlib not beeing able to handle the twisted
> threading or twisted breaking matplotlib - I don't know
Yep, this looks like a threading problem. Could be a tough nut to
crack. Sorry, but I don't have any concrete suggestions for you.
Perhaps someone on the wx list would have some idea how to make wx
events play nicely with twisted threads.
JDH