On Mon, Jan 5, 2009 at 1:56 PM, Mauro Cavalcanti <mauro...@gmail.com> 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!

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

------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to