I'm doing something along the lines of:
create an initial image with imshow
add a colorbar
update the image using the image's set_data method
Occassionally, the extents of the image will change. How do I handle that? The
only place I can find to set the extents is in the call to imshow. The
resulting image has a get_extents, but not a setter. I can't make repeated
calls to imshow, because the new image isnt coupled to the colorbar. I can't
figure out how to couple the colorbar to the new image, and I dont know how
to get rid of the old colorbar to clear space for a new one.
Can someone offer some advice?
Also, does aspect='equal' work with the object oriented interface?
Thanks,
Darren