On Friday, August 12, 2011, Christopher Brown <c...@asu.edu> wrote:
> Thanks Ben,
>
> I should have been more clear. In fact I do want to create an entirely new
> figure containing the already created axes. This might not be the best way
to
> do what I want to do, but the docs for add_axes states that passing an
axes
> instance will add that instance to the figure. I must be misunderstanding
> something.
>
> -Chris
>

So, are you specifically wanting the same axes object in two figures?  If
so, as Paul said, it is technically possible (using the method that Eric
mentioned), but that mode is currently unsupported and we can not guarantee
that things will work as expected.  Matplotlib assumes that an axes object
has a single parent, and breaking that assumption can cause issues down the
line.

However, if you don't intend to have the same axes appear twice, then the
question becomes why do you need to create the figure after the axes?

Ben Root
------------------------------------------------------------------------------
FREE DOWNLOAD - uberSVN with Social Coding for Subversion.
Subversion made easy with a complete admin console. Easy 
to use, easy to manage, easy to install, easy to extend. 
Get a Free download of the new open ALM Subversion platform now.
http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to