[Numpy-discussion] repr of bool matrix

Travis Oliphant oliphant at ee.byu.edu
Sat Dec 23 01:13:34 CST 2006


Keith Goodman wrote:
> Bool matrices and arrays don't line up when you display them because
> False has 5 letters and True has 4.
>
> After several columns it can become impossible to tell which column an
> element belongs to.
>
> Could the repr of bool matrices print 'True ' instead of 'True'?
>   
Done in SVN.   True prints as ' True'

-Travis



More information about the Numpy-discussion mailing list