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

Skip to content

In colorbar docs, add ref from 'boundaries' doc to 'spacing' doc. #28942

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
Oct 7, 2024

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Oct 7, 2024

The spacing kwarg only makes sense in relation to boundaries, so put the docs for them next to one another and add an explicit reference from boundaries to spacing. (The order of the kwargs in the signature did not change, because it already doesn't match the docs anyways; reordering them could be done separately.)

Closes #12312 (by documenting the behavior rather than trying to change anything).

PR summary

PR checklist

The `spacing` kwarg only makes sense in relation to `boundaries`, so
put the docs for them next to one another and add an explicit reference
from `boundaries` to `spacing`.  (The order of the kwargs in the
signature did not change, because it already doesn't match the docs
anyways; reordering them could be done separately.)
@timhoffm timhoffm added this to the v3.10.0 milestone Oct 7, 2024
@timhoffm timhoffm merged commit e72dc34 into matplotlib:main Oct 7, 2024
47 of 50 checks passed
@anntzer anntzer deleted the cbbs branch October 7, 2024 12:10
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.

colorbar(boundaries=...) doesn't work so well with nonlinear norms
2 participants