I use qt4 backend.
I update some lines doing something like that:
def draw_curves(self, datas, x):
for y in datas:
min_y, max_y = self.min_max(y)
self.ax[i].axis((0, x[-1], min_y, max_y))
the self.fig.canvas.draw() is very slow. (I have 20 subplot in that figure).
I tried to use:
it's very fast. But it does not update the scale of the plot.
and it does not remove the old datas.
Can someone help me on that ?
if I plot a sin(x) at first, I get it between 0 and 1. then, if I plot
2.sin(x), it does not update the zoom to 0-2