Re: [Matplotlib-users] How to modify the navigation toolbar easily in a matplotlib figure window?

2012-10-03 Thread Phil Elson
Note, however, code has been improved for the 1.2.0 release to make it easier to modify the set of buttons that are used. In backend_bases.py, look for the NavigationToolbar2 class. Ah yes! I knew I did that for a good reason. :-) Good thinking Ben!

[Matplotlib-users] How to modify the navigation toolbar easily in a matplotlib figure window?

2012-10-02 Thread Jianbao Tao
Is it possible to do something like the following to modify the navigation toolbar in matplotlib? 1. Generate a figure window, such as by *fig = figure()* 2. Get a reference of the navigation toolbar, such as by *tbar = fig.get_navigation_toolbar()* or better yet, just by *tbar =

Re: [Matplotlib-users] How to modify the navigation toolbar easily in a matplotlib figure window?

2012-10-02 Thread Eric Firing
On 2012/10/02 8:08 AM, Jianbao Tao wrote: Is it possible to do something like the following to modify the navigation toolbar in matplotlib? 1. Generate a figure window, such as by *fig = figure()* 2. Get a reference of the navigation toolbar, such as by *tbar =

Re: [Matplotlib-users] How to modify the navigation toolbar easily in a matplotlib figure window?

2012-10-02 Thread Benjamin Root
On Tue, Oct 2, 2012 at 2:34 PM, Eric Firing efir...@hawaii.edu wrote: On 2012/10/02 8:08 AM, Jianbao Tao wrote: Is it possible to do something like the following to modify the navigation toolbar in matplotlib? 1. Generate a figure window, such as by *fig = figure()* 2. Get a