It may be now be tricky to call apply_aspect correctly.  With the recent 
auto-layout changes, it's required to be called after the text layout 
has been done, but before it has been drawn.  What is your use case for 
calling it outside of that?  Do you need to set and then use the 
aspect-adjusted axes position?  Since apply_aspect is always called from 
within draw() anyway, for most uses, calling outside of that would be 
redundant, and I was considering making it a private method.  If you 
don't call it from your code, is anything different?

Cheers,
Mike

Jeff Whitaker wrote:
> 
> Mike: I see that ax.apply_aspect now has a 'position' argument.  To 
> maintain backward compatibility, may I suggest that you make it a kwarg, 
> with default value None, and then add
> 
> if position is None:
>    position = self._originalPosition
> 
> at the top of apply_aspect?
> 
> -Jeff
> 

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

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to