pn.pane.LaTeX(r'$\left(\begin{array}{rr|r}1 & 2 & 3\\ 3 & 4 & 5 \end{array} \right)$')
works as expected, but
pn.pane.LaTeX(r'$\left(\begin{array}{rr|r}1 & 2 & 3\\ \hline 3 & 4 & 5 \end{array} \right)$')
does not. The same string in a Markdown cell does produce the expected result.
Any suggestion on how to get this to work?