uot;break"
get_current_fig_manager().toolbar.bsave.bind('', new_save)
I would still like to know why the mechanism that works for the Home button
fails for the Save button though...
Will
On Wed, Apr 10, 2013 at 12:00 PM, Will Woods wrote:
> Hmm, problems with html, will try
Hmm, problems with html, will try again in plain text:
I'm trying to override the behaviour of the toolbar, with partial success.
This works:
from matplotlib.backend_bases import NavigationToolbar2
home = NavigationToolbar2.home
def new_home(self, *args, **kwargs):
print 'home pressed'