[Matplotlib-users] re freshing plot in loop

2008-10-23 Thread joschu
My program runs through a loop and is supposed to re-plot the graph after each step (which includes a pause of 1 second). I can't get the plot to refresh. I wrote the following simple program which has the same problem. I tried both draw() nor f.canvas.draw() works. I'm running it from ipython -p

Re: [Matplotlib-users] re freshing plot in loop

2008-10-23 Thread joschu
I wasn't aware of those examples. I tried the first one and again it didn't refresh. I was able to get things working by switching my backend to Tcl. Previously I was using wxpython, and I think there was a problem in the installation. efiring wrote: > > joschu wrote: &g