-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: automatic color cycling when plotting Series without style or color argument (fixes #2816) #2836
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
Conversation
Could maybe @wesm or @changhiskhan have a quick look at this one? I seem to remember the promise this would be fixed for the next release on the mailing list. More than happy to change anything as needed. Also I seem to have enabled travis-ci after pushing this branch to my fork so that this branch was never tested. If that makes things easier and there is an easy way to force travis-ci to run on this branch let me know. |
There's a failing test:
If it's fixed, I'll merge this. |
Hmm I thought I ran the tests and checked but apparently not. I'll take a look. |
Plot tests are usualy skipped due to slowness, you have to ask for them. They were added to travis just a few days ago (tacked on to the LOCALE_OVERRIDE build).
|
To be honest, not sure whether that's the best way to do it but the problem was that the left and right axis have independent color cycles which matters when you plot timeseries without any color or style arguments. In the failing test case you ended up having two blue and two green lines instead of the expected blue, green, red, cyan lines. Any better work-around I am interested. |
Good enough for me. |
This fix works great. |
merged |
great, thanks for this and sorting out the merge conflict. |
It should fix #2816 (and #2827 which is a duplicate).