Hi,
I am trying to update the image plotted in a figure. From what I understood,
this code should do the job:
import pylab as p
image=p.zeros((20,20))
p.ion()
ax=p.imshow(image)
p.draw()
for i in range(10):
print i
p.ion()
image[i,:]=i
ax.set_array(image)
p.draw()
But the image is not updated at all....
what am I doing wrong?
I have the 0.99.1.1 version of matplotlib.
Cheers,
Chiara
_________________________________________________________________
Hotmail: Powerful Free email with security by Microsoft.
https://signup.live.com/signup.aspx?id=60969
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users