Re: [Matplotlib-users] Graph animation performance

2013-08-26 Thread Peter Zimmer
Hello, I set the x data only once now. It is a little bit faster (about 10%). I'm still looking for a solution which only redraws the line and not the whole widget. Peter Am 25.08.2013 15:00, schrieb Skip Montanaro: >> def updateGraph(self,data): >> datacut = data[1 - self.Diagramm

[Matplotlib-users] Graph animation performance

2013-08-25 Thread Peter Zimmer
Hello, I want a real-time animation. There is no loop in the animation because the data comes from the real world (AD data). I wrote this class: class Eigendiagramm(object): def __init__(self,daten): self.DiagrammBreite = gtk.Adjustment(100,20,1,1,10,10) self.DiagrammBreit