On Tue, Apr 28, 2009 at 10:01 PM, Thomas Robitaille <
thomas.robitai...@gmail.com> wrote:
> Hi John,
>
> Thanks for your help!
>
> I'm not sure how I should go about overriding the existing method. Say I
> have the following custom savefig():
>
> def savefig(self, evt):
>print "Hello world"
>
Hi John,
Thanks for your help!
I'm not sure how I should go about overriding the existing method. Say
I have the following custom savefig():
def savefig(self, evt):
print "Hello world"
and a figure() instance fig, how do I actually tell
fig.canvas.manager.frame.toolbar.save to actually
On Tue, Apr 28, 2009 at 8:21 AM, Thomas Robitaille <
thomas.robitai...@gmail.com> wrote:
> Hi,
>
> I was wondering if it is possible to override the 'save' button in
> wxAgg so that once a filename has been specified in the dialog, a
> custom function is run instead of the default savefig? Maybe t
Hi,
I was wondering if it is possible to override the 'save' button in
wxAgg so that once a filename has been specified in the dialog, a
custom function is run instead of the default savefig? Maybe this
would require too much hacking?
Thanks for any advice,
Thomas