Hi,

> two changes that made it work for me:
>
> import numpy as np
>
> #import time
>
> import pylab as p
>
> a = np.arange(10)
>
> for x in xrange(5):
>
> p.figure()
>
> p.plot(a)

I tried this, and it created ten empty windows one at a time, all of
which are blank until the loop finishes.  There's something about how
the plot command works that doesn't actually draw anything until the
script is over.  ion() and p.draw() don't seem to do anything when put
in the script.

Andrew

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/spyderlib?hl=en.

Reply via email to