Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

DOC: Group pyplot commands by category #24338

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
QuLogic merged 1 commit into matplotlib:main from timhoffm:doc-pyplot
Nov 2, 2022
Merged

Conversation

Copy link
Member

@timhoffm timhoffm commented Nov 1, 2022
edited
Loading

PR Summary

This groups the pyplot functions in logical groups, which should make it easier to find functionality.

To keep things simple this only regroups the existing listed functions (note that the test_doc_pyplot_summary guarantees that no function was accidentally added or removed). One can and should do a bit more (see notes below), but I'll leave that for a follow-up PR.

Notes:

  • There have been and still are some module-level variables missing, most prominently rcParams.
  • I've copied the original "Colormaps" section verbatim to "Colormapping-related commands". This is a bit out-of-style because all other sections only contain the autosummary links. However two aspects make this non-trivial:
    1. the variables colormaps and color_sequences do not have autogenerated stubs. It seems autosummary_generate does not pick them up. So we need explicit .. autodata:: for them somewhere.
    2. we have two text paragraphs that currently have no other place to live.

Copy link
Member

story645 commented Nov 1, 2022

I don't think you need to say commands in the header, just the thing it relates to

timhoffm reacted with thumbs up emoji

@QuLogic QuLogic merged commit d434dbd into matplotlib:main Nov 2, 2022
@timhoffm timhoffm deleted the doc-pyplot branch November 2, 2022 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Reviewers

@QuLogic QuLogic QuLogic approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.7.0
Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /