Re: [Matplotlib-users] Smooth animations

2013-07-04 Thread Michael Droettboom
I see -- you want to basically interpolate between points? I don't think there's anything built in to matplotlib to do that, but you could always do that interpolation outside and just update the graph more often. Mike On 07/04/2013 04:28 PM, v0idnull wrote: eh Let me explain my problem

Re: [Matplotlib-users] Smooth animations

2013-07-04 Thread v0idnull
eh Let me explain my problem in a different way: Every two seconds I get a value from a service. Let's say I over 8 seconds I get 1, 5, 10, 5 as values. So if my application updates the graph every two seconds, this will look choppy and ugly. This is because every two seconds, an entire

Re: [Matplotlib-users] v.0.99.1.1 DeprecationWarning: Use the new widget gtk.Tooltip() self.tooltips = gtk.Tooltips()

2013-07-04 Thread Michael Droettboom
It looks like the version of Numpy installed on your machine is too old for the latest version of matplotlib. You'll need at least version 1.5, I believe (though we neglected to update the documentation about this requirement). Mike On 07/03/2013 05:13 PM, David Jonathan Pryce Morris wrote: >

Re: [Matplotlib-users] Smooth animations

2013-07-04 Thread Michael Droettboom
Have you looked at the simple_anim.py example -- other than the networking piece, it seems to do what you describe, and it's pretty fast. Maybe start from that and make changes until it gets slow in order to determine where the slowness comes from...? Mike On 07/03/2013 09:19 PM, v0idnull wr