It's hard to say from the code snippet, but I would track down whether
self.page_graph.figure is the figure that you think it is. It could be
a Figure object without any axes on it.
Cheers,
Mike
On 07/08/2011 03:55 AM, Sebastian Rhode wrote:
Hi,
I use the followng function for my applicatio
Hi,
I use the followng function for my application:
def OnSaveAs(self, event):
dlg = wx.FileDialog(self, 'Choose a Filename', os.getcwd(), '',
'*.png*', wx.SAVE | wx.OVERWRITE_PROMPT)
if dlg.ShowModal() == wx.ID_OK:
savename = dlg.GetPath()
self.page_graph.figure.s