In fact your example help me to find how to do simplier, thanks

Regards

Henri

T = Tableau([[8,1,6], [3,5,7],[4,9,2]]);
print unicode_art(T)

┌───┬───┬───┐
│ 8 │ 1 │ 6 │
├───┼───┼───┤
│ 3 │ 5 │ 7 │
├───┼───┼───┤
│ 4 │ 9 │ 2 │
└───┴───┴───┘

Le 08/01/2019 à 21:56, henri girard a écrit :

yes ... Thanks, but I must do print unicode_art(t)


Le 08/01/2019 à 16:09, slelievre a écrit :
Does this help?

    sage: for t in crystals.Tableaux("A2", shape=[2, 1]):
    ....:     unicode_art(t)
    ....:
    ┌───┬───┐
    │ 1 │ 1 │
    ├───┼───┘
    │ 2 │
    └───┘
    ┌───┬───┐
    │ 1 │ 2 │
    ├───┼───┘
    │ 2 │
    └───┘
    ┌───┬───┐
    │ 1 │ 3 │
    ├───┼───┘
    │ 2 │
    └───┘
    ┌───┬───┐
    │ 1 │ 3 │
    ├───┼───┘
    │ 3 │
    └───┘
    ┌───┬───┐
    │ 2 │ 3 │
    ├───┼───┘
    │ 3 │
    └───┘
    ┌───┬───┐
    │ 1 │ 1 │
    ├───┼───┘
    │ 3 │
    └───┘
    ┌───┬───┐
    │ 1 │ 2 │
    ├───┼───┘
    │ 3 │
    └───┘
    ┌───┬───┐
    │ 2 │ 2 │
    ├───┼───┘
    │ 3 │
    └───┘
--
You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com <mailto:sage-support+unsubscr...@googlegroups.com>. To post to this group, send email to sage-support@googlegroups.com <mailto:sage-support@googlegroups.com>.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/d/optout.

Reply via email to