|
From: Skip M. <sk...@po...> - 2013-08-25 13:00:33
|
> def updateGraph(self,data): > datacut = data[10000 - self.DiagrammBreite.get_value():10000] > self.line.set_ydata(datacut) > self.line.set_xdata(numpy.arange(0, datacut.size, 1)) > self.fig.canvas.draw() If nothing else, it appears that the plot's x data are constant. Have you tried just setting it once when you create self.line? Skip |