When I use ipython terminal
and want to print a numpy.ndarray
which has many columns, the lines are automatically broken somewhere around 80 characters (i.e. the width of the lines is cca 80 chars):
z = zeros((2,20))
print z
Presumably, ipython expects that my terminal has 80 columns. In fact however, my terminal has width of 176 characters and I would like to use the full width.
I have tried changing the following parameter, but this has no effect:
c.PlainTextFormatter.max_width = 160
How can I tell ipython
to use full width of my terminal ?
I am using ipython 1.2.1
on Debian Wheezy
numpy
, and is the same whether you use iPython or any other Python interpreter.