title: Sympy pretty print matrix
body: <p>I am using sympy to do symbolic matrix multiplication of 13 2x2 matrices (for optics). The resulting matrix is of course a 2x2 matrix but is huge.</p>
  <p>I am using <code>pprint()</code> in order to display stuff in a nice manner.
  Problem is that pprint is basically &quot;splitting&quot; the matrix over many rows making it basically unreadable. To put things into perspective, below is the first element of the matrix as it is pretty printed, so imagine how the whole thing is going to look like.</p>
  <p><a href="https://i.stack.imgur.com/P4syT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P4syT.png" alt="enter image description here" /></a></p>
  <p>Any tips, tricks to pretty print the matrix in a continuous way?</p>
  <p>Many thanks,</p>
  <p>P.S; I am using jupyter notebook</p>