-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Handle single color for multiple datasets in hist
#30867
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
base: main
Are you sure you want to change the base?
Conversation
|
The code itself is fine. Please update the docstring and ad a release note. See https://matplotlib.org/devdocs/devel/api_changes.html#announce-new-and-deprecated-api. |
|
Done. @timhoffm |
timhoffm
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I forgot to mention: Could you please also add a test?
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
|
I have add a new test for hist and update the what's news. |
Co-authored-by: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com>
PR summary
Close #30857 with minimal change
If a single valid color is provided, duplicate it to match the size of the dataset.
PR checklist