Thanks to visit codestin.com
Credit goes to github.com

Skip to content

DOC: Fix colorbar what's new entry so it isn't cut off. #24440

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

Merged
merged 2 commits into from
Nov 13, 2022

Conversation

stefmolin
Copy link
Contributor

@stefmolin stefmolin commented Nov 12, 2022

PR Summary

The example for the What's new entry on colorbar location is currently being cut off. I added a call to tight_layout() to fix this:
Screen Shot 2022-11-12 at 1 33 41 PM

After the change, it looks like this (link to this in the built docs):
Screen Shot 2022-11-12 at 2 02 57 PM

PR Checklist

Tests and Styling

  • [N/A] Has pytest style unit tests (and pytest passes).
  • [N/A] 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).
  • [N/A] New plotting related features are documented with examples.

Release Notes

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

@stefmolin stefmolin marked this pull request as ready for review November 12, 2022 19:04
@jklymak
Copy link
Member

jklymak commented Nov 12, 2022

We tend to encourage constrained layout instead.

@stefmolin
Copy link
Contributor Author

We tend to encourage constrained layout instead.

Done.

@jklymak
Copy link
Member

jklymak commented Nov 13, 2022

Is this 3.7?

@stefmolin
Copy link
Contributor Author

Looks like it #23267

@jklymak jklymak added this to the v3.7.0 milestone Nov 13, 2022
@jklymak jklymak merged commit d95edc4 into matplotlib:main Nov 13, 2022
@jklymak
Copy link
Member

jklymak commented Nov 13, 2022

Great, thanks!

@stefmolin stefmolin deleted the colorbar-location-cutoff branch November 13, 2022 01:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants