-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
c=color not changing line color #4162
Comments
Did using |
I can not reproduce that one, c works. |
I can't reproduce either but I only tried on master. Did using c used to work? — |
Yes, using c=color used to work for various matplotlib releases. I noticed the problem because the plots produced by some of my code suddenly changed colors after updating matplotlib. |
"c" and "color" are listed in the Line2D docstring as synonyms, so they should work identically as kwargs in |
Have a hunch that https://github.com/matplotlib/matplotlib/pull/3855/files caused this regression but don't have time to chase this down today. |
github-foo linking magic #3855 |
Now, what I don't understand is why I can reproduce this on a recent master, and @NelleV cannot. I'm on Python 3.4:
That gives me a blue line. |
I think I know what is happening (for once, my futile attempts at There are two dictionaries passed around for various reasons. While this On Thu, Feb 26, 2015 at 1:06 PM, Thomas A Caswell notifications@github.com
|
Could be different values for color-cycling in the rc? On Thu, Feb 26, 2015 at 1:07 PM, Eric Firing notifications@github.com
|
Just ran into this issue in the seaborn tests and can confirm that I see it only on Python 3.4, but not on Python 3.3 or 2.7. |
See matplotlib/matplotlib#4162 for details on bug in matplotlib on Python 3.4 that motivates this.
See matplotlib/matplotlib#4162 for details on bug in matplotlib on Python 3.4 that motivates this.
FIX : convert 'c' to 'color' immediately in plot closes matplotlib#4162, closes matplotlib#4157
In Matplotlib 1.4.3
produces a blue line, while
produces a green one as expected.
The text was updated successfully, but these errors were encountered: