8000 Reorder text api docs. by anntzer · Pull Request #22540 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Reorder text api docs. #22540

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 1 commit into from
Feb 24, 2022
Merged

Reorder text api docs. #22540

merged 1 commit into from
Feb 24, 2022

Conversation

anntzer
Copy link
Contributor
@anntzer anntzer commented Feb 23, 2022

Text/Annotation/OffsetFrom seems like a nicer order than the
alphabetical Annotation/OffsetFrom/Text. Also, the toplevel
get_rotation probably doesn't even warrant an entry...
(this was the reason for #22539)

We could consider at some point using some degree of autodoc_member_order = "bysource" (https://www.sphinx-doc.org/en/master/usage/extensions/autodoc.html#confval-autodoc_member_order) but that would be a much longer-term thing. (Plus it would be nice to have e.g. automodules by source and autoclasses by alphabetical order, something that may be doable with member-order.)

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

  • New features are documented, with examples if plot related.
  • New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).

Text/Annotation/OffsetFrom seems like a nicer order than the
alphabetical Annotation/OffsetFrom/Text.  Also, the toplevel
get_rotation probably doesn't even warrant an entry...
@QuLogic QuLogic added this to the v3.5.2 milestone Feb 24, 2022
@QuLogic QuLogic merged commit 72d01f0 into matplotlib:main Feb 24, 2022
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull request Feb 24, 2022
QuLogic added a commit that referenced this pull request Feb 24, 2022
…540-on-v3.5.x

Backport PR #22540 on branch v3.5.x (Reorder text api docs.)
@anntzer anntzer deleted the td branch February 24, 2022 08:59
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
0