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
Inconsistent coloring of plotted points #2076
Comments
comment:2
Amazingly, this is a bug in matplotlib itself!
Cleaner input in the Sage notebook:
|
comment:3
I propose the following:
|
comment:5
Attachment: trac_2076.patch.gz This is actually a bug on our part according to the matplotlib 0.98 documentation for scatter. |
comment:6
I've read the matplotlib docs and this looks reasonable. I don't have a current 3.1.2 tree to test it, though; so half of a positive review (the other half comes from applying it and checking the result of the doctest :). |
comment:7
Jason, since you now have a 3.1.2 can you do the final review on this? I can run doctests without a problem on 3.1.3.alpha1 to see if anything breaks. Cheers, Michael |
comment:8
The example now works and doctests in plot/*.py pass with the patch applied. So that's a full positive review, now. |
comment:10
Merged in Sage 3.1.3.alpha1 |
When I call,
sage: point(((1,1), (2,2), (3,3)), rgbcolor=hue(1), pointsize=30)
I expect to get a plot of 3 red points, but (1,1) is plotted as dark red and the other two points are blue. So far I've only been able to recreate this issue when only three points are in the tuple. The rgbcolor value doesn't seem to affect the color of the three plotted points.
I hope to look at the code soon.
Component: graphics
Keywords: color hue point plot 3
Issue created by migration from https://trac.sagemath.org/ticket/2076
The text was updated successfully, but these errors were encountered: