#10998: Categories for posets
----------------------------------------------------------------------------------+
Reporter: nthiery
| Owner: sage-combinat
Type: enhancement
| Status: needs_work
Priority: major
| Milestone: sage-5.0
Component: combinatorics
| Keywords: days30, sd31
Work_issues: rebase relative sage-5.0.beta0
| Upstream: N/A
Reviewer: Franco Saliola, Christian Stump, Nicolas M. Thiéry, Florent
Hivert | Author: Frédéric Chapoton, Christian Stump, Nicolas M. Thiéry
Merged:
| Dependencies: #8288,#10651,#11289, #10938, #9065
----------------------------------------------------------------------------------+
Comment(by nthiery):
Replying to [comment:47 stumpc5]:
> I don't know what the current status here is; I just saw that the
optional arguments label_elements and element_labels for show/plot do not
work anymore (I fixed that a while ago somewhere is this big cluster
patch). Can someone confirm that and/or see where my changes got lost?
>
> As an example, I tried
> {{{
> sage: D = Poset({ 0:[1,2], 1:[3], 2:[3,4] })
> sage: D.plot(label_elements=False)
>
> sage: D.show()
> sage: elm_labs = {0:'a', 1:'b', 2:'c', 3:'d', 4:'e'}
> sage: D.show(element_labels=elm_labs)
> }}}
>
> In both cases, I see the numbers as labels.
Fixed and tested in the updated patch!
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10998#comment:51>
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.