[Matplotlib-users] problem realtime plot

2007-04-22 Thread Jan Winter
hi, I tried to plot in realtime: from pylab import * import time ion() x=arange(0,2*pi,.01) line,=plot(x,sin(x)) for i in arange(1,20): line.set_ydata(sin(x+i/10.0)) draw() but nothing happens when the script runs. I just see the last plot after the script has finished. Only a grey

[Matplotlib-users] pylab crashes python

2007-01-25 Thread Jan Winter
hi, I use python 2.4, matplotlib and WXpython on OS X. I plot and show something and every thing works fine (the plot is shown in the python.app). I close the plot window. I plot another thing. It is shown again with python.app, but now python.app crashes... every second plot causes a crash