Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tight_layout fails on twinx, twiny #1165

Closed
efiring opened this issue Aug 29, 2012 · 1 comment
Closed

tight_layout fails on twinx, twiny #1165

efiring opened this issue Aug 29, 2012 · 1 comment
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.

Comments

@efiring
Copy link
Member

efiring commented Aug 29, 2012

Axes.twinx, twiny use figure.add_axes, so they return a plain Axes, not a SubplotBase. Therefore tight_layout doesn't recognize them.

@pelson
Copy link
Member

pelson commented Sep 2, 2012

Fixed in #1169.

@pelson pelson closed this as completed Sep 2, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Development

No branches or pull requests

2 participants