FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Emit "axes not compatible with tight_layout" in a single place. by anntzer · Pull Request #24343 · matplotlib/matplotlib · GitHub

Repository navigation

Emit "axes not compatible with tight_layout" in a single place. - #24343

Merged
ksunden merged 1 commit into
matplotlib:mainfrom
anntzer:tlw
Nov 3, 2022
Merged

ksunden merged 1 commit into
matplotlib:mainfrom
anntzer:tlw

Conversation

anntzer commented Nov 2, 2022

Copy link
Copy Markdown
Contributor

... instead of triplicating it on the caller side.

PR Summary

PR Checklist

Tests and Styling

  • Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (install flake8-docstrings and run flake8 --docstring-convention=all).

Documentation

  • Documentation is sphinx and numpydoc compliant (the docs should build without error).
  • New plotting related features are documented with examples.

Release Notes

  • New features are marked with a .. versionadded:: directive in the docstring and documented in doc/users/next_whats_new/
  • API changes are marked with a .. versionchanged:: directive in the docstring and documented in doc/api/next_api_changes/
  • Release notes conform with instructions in next_whats_new/README.rst or next_api_changes/README.rst

anntzer added topic: geometry manager LayoutEngine, Constrained layout, Tight layout Maintenance labels Nov 2, 2022
Comment thread lib/matplotlib/gridspec.py Outdated
"compatible with tight_layout, so results "
"might be incorrect.")

from ._tight_layout import get_subplotspec_list

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

We already have _tight_layout imported, and this call would fit in a line...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

indeed.

... instead of triplicating it on the caller side.
ksunden added this to the v3.6.3 milestone Nov 3, 2022
ksunden merged commit 6c09a56 into matplotlib:main Nov 3, 2022
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Nov 3, 2022
anntzer deleted the tlw branch November 3, 2022 16:44
tacaswell added a commit that referenced this pull request Nov 3, 2022
…343-on-v3.6.x

Backport PR #24343 on branch v3.6.x (Emit "axes not compatible with tight_layout" in a single place.)
ksunden mentioned this pull request Feb 20, 2023
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Maintenance topic: geometry manager LayoutEngine, Constrained layout, Tight layout

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL