#14175: Fix color option for 2D polyhedron
-----------------------------+----------------------------------------------
Reporter: nthiery | Owner: mhampton
Type: defect | Status: new
Priority: major | Milestone: sage-5.8
Component: geometry | Keywords:
Work issues: | Report Upstream: N/A
Reviewers: Volker Braun? | Authors: Nicolas M. ThiƩry
Merged in: | Dependencies:
Stopgaps: |
-----------------------------+----------------------------------------------
Currently, the color option for ploting 2D polyhedron triggers a warning::
{{{
sage: p1 = Polyhedron(vertices=[[1,1]], rays=[[1,1]])
sage: p1.plot(color="red")
verbose 0 (138: primitive.py, options) WARNING: Ignoring option
'color'=red
verbose 0 (138: primitive.py, options)
The allowed options for Polygon defined by 3 points are:
alpha How transparent the figure is.
fill Whether or not to fill the polygon.
hue The color given as a hue.
legend_label The label for this item in the legend.
rgbcolor The color as an RGB tuple.
thickness How thick the border line is.
zorder The layer level in which to draw
}}}
The attached patch fixes this.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14175>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.