[Numpy-discussion] How to control column for pretty print line wrap of ndarrays

Ian Stokes-Rees ijstokes at hkl.hms.harvard.edu
Wed Dec 22 16:32:23 EST 2010


Like most people these days, I have multiple 24" monitors.  I don't need
"print" of ndarrays to wrap after 72 columns.  Is there some way to
change this?

TIA

Ian

CURRENT:

 [        NaN         NaN         NaN         NaN         NaN  5.1882094
   1.19646584]]

DESIRED:

 [        NaN         NaN         NaN         NaN         NaN 
5.1882094   1.19646584]]

(Although your mail client mail mangle it...)



More information about the NumPy-Discussion mailing list