Re: [Matplotlib-users] Plotting in loop problem, not refreshing

2011-06-05 Thread Daπid
I am using MPL 1.0.1 with Python 2.6 over Windows XP and it works. I would like to add an advice: range(n) creates a list of size n, and stores it in memory. But in your code you are only using one number at a time. Python has a better instruction: xrange. It works exactly like range, but doesn't

[Matplotlib-users] Plotting in loop problem, not refreshing

2011-06-04 Thread Armin G
Hi everyone , I know this has been posted several times now, But I could not understand qietly why my simple code does not work. here is the code: http://old.nabble.com/file/p31775254/LinearConvection.py LinearConvection.py The problem in detail: In the solver loop ( the outer loop) , The

Re: [Matplotlib-users] Plotting in loop problem, not refreshing

2011-06-04 Thread Joe Kington
Your code should work (and does on my system)... What backend, version of matplotlib, OS, etc are you running? On Sat, Jun 4, 2011 at 4:54 PM, Armin G armi...@gmail.com wrote: Hi everyone , I know this has been posted several times now, But I could not understand qietly why my simple code