Removing buttons from the toolbar in MPL backends

Dear ALL,

Is there any way to exclude (ie., make invlsible) one or more of the
standard buttons which appear on the toolbar (either the "Classic" or
the "Toolbar2") of the MPL backends?

Thanks in advance for any assistance you can provide!

Best regards,

···

--
Dr. Mauro J. Cavalcanti
Ecoinformatics Studio
P.O. Box 46521, CEP 20551-970
Rio de Janeiro, RJ, BRASIL
E-mail: maurobio@...287...
Web: http://studio.infobio.net
Linux Registered User #473524 * Ubuntu User #22717
"Life is complex. It consists of real and imaginary parts."

There are some examples using a custom toolbar which depends on which
user interface you are using (there is no API for customizing from
withing pylab/pyplot but it is on the wishlist to have a toolbar
customization/extension API)

See for example
http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_wx4.html?highlight=codex%20custom%20toolbar

In this example a button is added to the default toolbar. You could
copy the toolbar code out of the backend and remove the things you do
not want and then add new buttons, etc.

JDH

···

On Mon, Jan 5, 2009 at 1:56 PM, Mauro Cavalcanti <maurobio@...287...> wrote:

Dear ALL,

Is there any way to exclude (ie., make invlsible) one or more of the
standard buttons which appear on the toolbar (either the "Classic" or
the "Toolbar2") of the MPL backends?

Thanks in advance for any assistance you can provide!