Skip to content
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

DOC: Fix label type specification in parameter descriptions #27981

Merged
merged 1 commit into from Mar 27, 2024

Conversation

timhoffm
Copy link
Member

  • add missing "or list of str" in hist() docstring

  • Use "optional" instead of "default: None"

    See https://matplotlib.org/devdocs/devel/document.html

    If None is only used as a sentinel value for "parameter not specified",
    do not document it as the default. Depending on the context, give the
    actual default, or mark the parameter as optional if not specifying has
    no particular effect.

- add missing "or list of str" in hist() docstring
- Use "optional" instead of "default: None"

  See https://matplotlib.org/devdocs/devel/document.html

  > If None is only used as a sentinel value for "parameter not specified",
  > do not document it as the default. Depending on the context, give the
  > actual default, or mark the parameter as optional if not specifying has
  > no particular effect.
@timhoffm timhoffm added the Documentation: API files in lib/ and doc/api label Mar 27, 2024
@tacaswell tacaswell added this to the v3.9.0 milestone Mar 27, 2024
@tacaswell
Copy link
Member

Failures look like gtk4 packaging issues on windows via conda-forge.

@tacaswell tacaswell merged commit 3e47cc2 into matplotlib:main Mar 27, 2024
45 of 46 checks passed
@timhoffm timhoffm deleted the doc-label branch March 27, 2024 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation: API files in lib/ and doc/api topic: mplot3d
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants