#12414: system-wide default color
---------------------------+------------------------------------------------
Reporter: jason | Owner: jason, was
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.0
Component: graphics | Keywords:
Work_issues: | Upstream: N/A
Reviewer: | Author: Jason Grout
Merged: | Dependencies:
---------------------------+------------------------------------------------
Comment(by jason):
The changes to the 3d plot parse_color are to make parse_color more
consistent and also to get it to use the default color if the color is
None. Before, it returned a tuple if you passed in a Color, but it
returned a Color if you passed in a string---not very consistent. I made
it so that it always returns a tuple, and it returns the default color if
called with nothing (that's the call to to_mpl_color).
Any format supported by any `color=` option should be supported. Strings,
hex strings, rgb colors, color names, etc.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12414#comment:7>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.