#14757: Poset's show() method applied to an antichain gives bad picture
-------------------------------------------+--------------------------------
       Reporter:  darij                    |         Owner:  sage-combinat   
           Type:  defect                   |        Status:  needs_review    
       Priority:  major                    |     Milestone:  sage-5.11       
      Component:  combinatorics            |    Resolution:                  
       Keywords:  combinat, poset, days49  |   Work issues:                  
Report Upstream:  N/A                      |     Reviewers:  Travis Scrimshaw
        Authors:  Darij Grinberg           |     Merged in:                  
   Dependencies:                           |      Stopgaps:                  
-------------------------------------------+--------------------------------
Changes (by tscrim):

  * status:  needs_work => needs_review


Old description:

> {{{
> sage: Poset({1: [], 2: [], 3: []}).show()
> }}}
>
> It shows all three elements as the same point. I suspect this hails from
> the {{{plot}}} method on Poset, since a digraph with no edges shows fine.
>
> In the docstring of the {{{plot}}} method on Poset, there's also a typo:
> {{{empy}}}.
>
> EDIT: This one can only be reproduced without dot2tex installed, since
> the methods branch depending on whether it is there or not.
>
> * Apply: [attachment:trac_14757-acyclic_layout-dg.patch]

New description:

 {{{
 sage: Poset({1: [], 2: [], 3: []}).show()
 }}}

 It shows all three elements as the same point. I suspect this hails from
 the {{{plot}}} method on Poset, since a digraph with no edges shows fine.

 In the docstring of the {{{plot}}} method on Poset, there's also a typo:
 {{{empy}}}.

 EDIT: This one can only be reproduced without dot2tex installed, since the
 methods branch depending on whether it is there or not.

 * Apply: [attachment:trac_14757-acyclic_layout-ts.patch]

--

Comment:

 Hey Jeroen,

 Try this version. I can't see why Darij's patch doesn't apply...

 For patchbot:

 Apply: trac_14757-acyclic_layout-ts.patch

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/14757#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/groups/opt_out.


Reply via email to