[Matplotlib-users] question about animation and widgets

2007-08-16 Thread bruno
Hello, I am probably reinventing the wheel. I am trying to get rolling graph a la labview with matplotlib. I have more or less managed to get what I want using the simple animation technique provided by matplotlib. I would like now to have a button an the same graph that would enable me to

Re: [Matplotlib-users] question about animation and widgets

2007-08-16 Thread bruno
Hi thanks for the answer. I am not sure to undersand completely the question. I based my animation on the example anim.py using the ion() function. Is that idle event ? I will have a look at the wx version an see if I undersand your advice. If ever you had code that you were willing to share I

Re: [Matplotlib-users] question about animation and widgets

2007-08-16 Thread bruno
in fact that may become clearer with my code. There are two classes. One does the animation. The other is supposed to add a button. The infinite loop is at the end Bruno Greg Willden a écrit : Hi Bruno, Which method are you using to do the animation? Timer, Idle Event? If you are using a