#11284: Document all options of Poset.show and Poset.plot
------------------------------------------------+--------------------------
Reporter: nthiery | Owner: sage-
Type: defect | combinat
Priority: major | Status: new
Component: combinatorics | Milestone: sage-6.4
Keywords: posets, documentation,days30 | Resolution:
Authors: | Merged in:
Report Upstream: N/A | Reviewers:
Branch: | Work issues:
Dependencies: | Commit:
| Stopgaps:
------------------------------------------------+--------------------------
Comment (by jmantysalo):
Relating to this: Where is default pink color defined? For example
{{{
G=DiGraph({0:[1]})
G.show(vertex_colors='pink')
G.show(vertex_colors={'#ff00ff':[0]})
}}}
shows kind of a bug: color of element 1 changes from pink to blue when
setting color of 0 to red.
Examples to `show()` could be something like
{{{
P.show(vertex_colors={'red':P.maximal_elements()})
}}}
or
{{{
for c in P.maximal_chains():
P.show(vertex_colors={'red':c})
}}}
Where P would be suitable poset.
--
Ticket URL: <http://trac.sagemath.org/ticket/11284#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 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.
For more options, visit https://groups.google.com/d/optout.