When printing a "long" list in python, it adds automatic line break if it gets too long. Is there any way to set this length to the maximal size of the terminal? in my case it uses not even the half width of the terminal, and this is pretty annoying when printing bigger matrices, since it becomes totaly unreadable.
lets say:
x = np.zeros((30,30))
print(x)
>>>
[[0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.
0. 0. 0. 0. 0. 0.]
[0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.
0. 0. 0. 0. 0. 0.]
so some entries of the first row are printed in the second line... This makes the data (in case of a matrix representation) very unreadable