8000 tight_layout: Use a different default gridspec by tomspur · Pull Request #4559 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

tight_layout: Use a different default gridspec #4559

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

Closed
wants to merge 4 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
tight_layout: Refine warning message
  • Loading branch information
tomspur committed Apr 2, 2018
commit a6f88c86d69ec576940dad8a44f67db87a47affc
4 changes: 2 additions & 2 deletions lib/matplotlib/tight_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ def get_subplotspec_list(axes_list, grid_spec=None):
elif gs.locally_modified_subplot_params():
subplotspec = None
else:
warnings.warn("This figure includes Axes that are not "
warnings.warn("The Axes %s in this figure are not "
"compatible with tight_layout, so its "
"results might be incorrect.")
"results might be incorrect." % axes_or_locator)
subplotspec = gridspec.GridSpec(1, 1)

subplotspec_list.append(subplotspec)
Expand Down
0