Processing math: 100%
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I don't know how it used to work, but the way I understand it is that NumPy's matrix type is not a SageMath data type, so it doesn't support SageMath's latex rendering (in particular, it doesn't have a _latex_() method).

So just convert to a SageMath data type first:

sage: show(matrix(P))

(002020020200)