-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: Extra color introduced with plot. #20726
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
Labels
Visualization
plotting
Milestone
Comments
I can send a PR to fix this. |
4 tasks
This is a confirmed bug, the lines you pointed out are used to plot the two separating vertical lines and they are irrelevant to the bug. |
jreback
pushed a commit
that referenced
this issue
Dec 31, 2018
Pingviinituutti
pushed a commit
to Pingviinituutti/pandas
that referenced
this issue
Feb 28, 2019
Pingviinituutti
pushed a commit
to Pingviinituutti/pandas
that referenced
this issue
Feb 28, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
User reported in StackOverflow: https://stackoverflow.com/questions/49887076/matplotlib-error-while-coloring-barplot-with-list#49887076
Problem description
This bug happens when single color is needed for plotting but an array is provided.

In the end of
_get_standard_colors
function in plotting/_style.py. An extra first item will be added to the color array which caused the circular misbehaved in such case.Expected Output
The bar 17 should have the same color as the bar 1.
The text was updated successfully, but these errors were encountered: