Hi,

i have an application showing some pseudo color plots as images using
imshow. After deleting an image and calling ax.axis('tight') the limits
of the axes are not updated correctly. Is this a bug, incorrect use or
intended? The behavior is demonstrated in the appended script.

Best regards,
Armin

-----8<-----------------
#!/usr/bin/env python
from pylab import *

a = rand(5,5)
ax = axes()
ax.imshow(a,extent=(0,5,0,5))
ax.imshow(a,extent=(5,10,5,10))
ax.axis('tight')
waitforbuttonpress()

ax.images.pop(0)
ax.axis('tight')
show()
-----8<-----------------

------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to