[Numpy-discussion] Matrix print plea

Keith Goodman kwgoodman at gmail.com
Fri Jun 30 16:37:01 EDT 2006


When an array is printed, the numbers line up in nice columns (if
you're using a fixed-width font):

array([[0, 0],
       [0, 0]])

But for matrices the columns do not line up:

matrix([[0, 0],
       [0, 0]])




More information about the NumPy-Discussion mailing list