removing a colorbar

Fl?vio> I just want to let you know that neither 'cla', 'clf' nor
    Fl?vio> 'figure' solved the issue but 'close' did it. I must
    Fl?vio> point out that the only element that was being carried out
    Fl?vio> from figure to figure was the colorbar, not the plot
    Fl?vio> itself. Apparently 'close' is the only one of these
    Fl?vio> functions that gets rid of the colorbar.

Hi Fl?vio,

clf *should* work. Could you send me a script which includes a clf
that replicates the problem so I can fix it. Thanks.

JDH

Hi John,

clf does work, sorry. Its cla that does not (though I am not sure it should
serve this purpose...)

i am sending the code attached

testcolorbar.py (259 Bytes)

···

On Monday 14 February 2005 12:24, John Hunter wrote:

    > I just want to let you know that neither 'cla', 'clf' nor
    > 'figure' solved the issue but 'close' did it. I must
    > point out that the only element that was being carried out
    > from figure to figure was the colorbar, not the plot
    > itself. Apparently 'close' is the only one of these
    > functions that gets rid of the colorbar.

Hi Flávio,

clf *should* work. Could you send me a script which includes a clf
that replicates the problem so I can fix it. Thanks.