Status: Accepted
Owner: asmeurer
Labels: Type-Defect Priority-Medium Matrices Printing

New issue 1995 by asmeurer: Pretty Printing the comma with matrices
http://code.google.com/p/sympy/issues/detail?id=1995

In [39]: (Matrix([[0, 0], [0, 0]]), Matrix([0, 0]))
Out[39]:
⎛⎡0  0⎤, ⎡0⎤⎞
⎜⎢    ⎥  ⎢ ⎥⎟
⎝⎣0  0⎦  ⎣0⎦⎠

I would have expected the comma to go at the bottom, or in the middle, like it does with other things:

In [35]: (Integral(x, x), 1)
Out[35]:
⎛⌠        ⎞
⎜⎮ x dx, 1⎟
⎝⌡        ⎠

In [37]: ((Integral(x, x),), 1)
Out[37]:
⎛⎛⌠      ⎞   ⎞
⎜⎜⎮ x dx,⎟, 1⎟
⎝⎝⌡      ⎠   ⎠

In [38]: ([Integral(x, x),], 1)
Out[38]:
⎛⎡⌠     ⎤   ⎞
⎜⎢⎮ x dx⎥, 1⎟
⎝⎣⌡     ⎦   ⎠


--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" 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/sympy-issues?hl=en.

Reply via email to