Grouper use

Michael Droettboom wrote:

Yes -- I'll update the docstring. The weakref support was added
afterward during one of my many memory leak crusades :wink:

What were you attempting to do with the Grouper? You shouldn't have to
use the class directly to use the sharex/sharey functionality -- it's
only an implementation detail.

I have not found any way to share an axis after the creation of the
subplot/axis. That is why I use the "join" method of a Grouper after the
subplot/axis has been created. But I would need also a means to "unjoin"
the subplots. Is it possible?

Thanks

Julien

路路路

--
python -c "print ''.join([chr(154 - ord(c)) for c in '*9(9&(18%.\
9&1+,\'Z4(55l4('])"

"When a distinguished but elderly scientist states that something is
possible, he is almost certainly right. When he states that something is
impossible, he is very probably wrong." (first law of AC Clarke)

You can use the twinx/twiny methods to join two axes after they've been created.

I don't think we currently provide a way to unjoin the subplots (either in the axes or in the Grouper class itself.) I think that's functionality we would need to add. If you can be so kind as to add a feature request to the tracker, it won't get lost.

Mike

TP wrote:

路路路

Michael Droettboom wrote:

Yes -- I'll update the docstring. The weakref support was added
afterward during one of my many memory leak crusades :wink:

What were you attempting to do with the Grouper? You shouldn't have to
use the class directly to use the sharex/sharey functionality -- it's
only an implementation detail.
    
I have not found any way to share an axis after the creation of the
subplot/axis. That is why I use the "join" method of a Grouper after the
subplot/axis has been created. But I would need also a means to "unjoin"
the subplots. Is it possible?

Thanks

Julien

--
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA