-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG: Fixes color selection in andrews_curve #5378
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
Please post an image of output you get from this. |
(and nice to have reproducible example, even if it's just copying from SO question) |
thanks for posting that - this looks good to me (going to try to pull down and see if I get the same thing) - anyone have any comments? |
Looks great now; thanks! Let me know if this needs to be a separate request, but consider:
Everyone loves properly labeled plots. |
Can you post another image? :) |
Let's keep this to the colors for now and can deal with labeling |
Just updated my last comment with an image. :) I think having the grid lines in multiples of pi makes a world of a difference. |
The colors change is minimal enough that I'm willing to merge it (and it seems clearly correct). We're in the middle of putting out a release so, in terms of changing labels or ticks, I'd prefer to hold off on that for a week or two. You can put up a separate PR that we can consider though. |
It looks like you have Travis set up but that it didn't build this. If you think Travis is set up can you run |
I hadn't enabled it to build. Travis is running now. |
And it looks like it built my master branch (which is just master). |
Need to check out the |
Sorry, I am really confused by your travis set up (I am used to mpl where PRs are auto-magically built by the matplotlib travis account). |
you did it :) If there's a way to do that in Travis, we probably should - that would be much easier for contributors. |
Can you add a quick note to release.rst? After that I'll merge. |
Done. Squashed the commits. |
If you could, could you change the commit name to something like: "BUG: Fix color selection in andrews curve" and then you can put "fixed bug introduced in b5265a5 In the commit message? Makes it easier to follow what's going on. |
fixed bug introduced in b5265a5 which change from picking a single random color for the class to picking a random color for each line.
like that? |
exactly. once it passes Travis I'll merge - thanks for the final cleanups! |
BUG: Fixes color selection in andrews_curve
thanks! |
Fixed bug introduced in b5265a5 which change from picking a single random color for the class to picking a random color for each line.
This returns the color selection to a per-set basis.
See http://stackoverflow.com/questions/19667209/colors-in-andrews-curves