Using an object inside a class

Jonno jonnojohnson at
Mon Jan 23 18:32:41 EST 2012

On Mon, Jan 23, 2012 at 4:57 PM, Ian Kelly <ian.g.kelly at> 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:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Python-list mailing list