#5605: Construct Color objects using hsl and hsv values
---------------------------+------------------------------------------------
Reporter: jason | Owner: was
Type: enhancement | Status: new
Priority: minor | Milestone: sage-4.4.2
Component: graphics | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
Changes (by jason):
* cc: mvngu (added)
* upstream: => N/A
Comment:
This works now. From the doctests of sage.plot.colors.Color:
{{{
sage: Color(0.5, 1.0, 1, space='hsv')
RGB color (0.0, 1.0, 1.0)
sage: Color(0.25, 0.5, 0.5, space='hls')
RGB color (0.50000000000000011, 0.75, 0.25)
}}}
So this should be closed.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5605#comment:4>
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.