I have not found a solution for this anywhere; I found many solutions where I can visualize an array by a picture of different colors;
However, I want something different: If I have an array, let's make it simple and I have
a=np.ones([3,3])
Then I want to export this matrix to a jpeg or png where the numpy array looks like a nice matrix from a paper or book, i.e. as it is written on LaTeX; so something you would get when compiling the command in LaTeX:
$a=\begin{pmatrix}1 & 1 & 1 \\\ 1 & 1 & 1 \\\ 1 & 1 & 1 \\\ \end{pmatrix}$
Is this possible?
