fred wrote:
> Hi,
> 
> My issue is quite simple: I reload several times an image
> with the colorbar enabled, and thus, I have several colorbars, not only one.
> 
> How can I disable this, and thus, get only one colorbar ?
> 
> Cheers,
> 

You may need to post a small code example so we can see what you are 
doing; but an interactive example using ipython -pylab may give you 
enough information to answer your question:

im = imshow(rand(20,20))
colorbar()

im.set_data(rand(20,20))
draw()

im.set_data(rand(20,20)*5)
im.autoscale() # to change the colormap limits
draw()

etc....

Eric

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to