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() compatibility #49

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on Dec 19, 2019

  1. Add axes for controls by modifying gridspec of figure

    Makes control placement compatible with tight_layout() method or
    constrained_layout option. Falls back on previous absolute placement
    method if the gridspec version fails for any reason.
    johnomotani committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    c353bc9 View commit details
    Browse the repository at this point in the history
  2. Get topmost gridspec from figure

    Previously was getting gridspec from current axes. This could result in
    getting only a subplot, not the top gridspec from the figure. Workaround
    depends on interal _gridspecs member of Figure, which is not ideal but
    support for editing existing gridspecs in matplotlib is non-existant.
    johnomotani committed Dec 19, 2019
    Configuration menu
    Copy the full SHA
    df92ada View commit details
    Browse the repository at this point in the history