On Mon, Jan 23, 2012 at 4:57 PM, Ian Kelly <ian.g.ke...@gmail.com> wrote:

>
> By the way, looking at your object hierarchy more closely, isn't
> "app.frame.graph_panel" going to end up being the same thing as just
> "self.figure"?  Why not just use the latter and remove the reliance on
> finding the correct frame?
>

I could do that however the app ultimately has more than one notebook tab
that I need to be able to access the figure object from.

Perhaps I should step back and ask the question how to create an app with
multiple notebook pages with a figure in one and have that figure object be
accessible to all the notebook pages.
I created this architecture following the example here:
http://matplotlib.sourceforge.net/examples/user_interfaces/embedding_in_wx5.html
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to