The span lines problem when P.eigenvects() displays some too long expressions

See the following screenshot given by P.eigenvects() of sympy:

As you can see, these expressions are very long and displayed on multiple lines, which makes them difficult to read.

Are there any settings for fixing this problem?

Regards,
HY

I think you want to replace

sympy.init_printing()

with

sympy.init_printing(wrap_line=False)

The output of help(sympy.init_printing) explains all possible parameters.

Thank you. It does the trick.

Regards,
HY