matplotlib.axes.Axes.matshow
- Axes.matshow(Z, **kwargs)
Plot the values of a 2D matrix or array as color-coded image.
The matrix will be shown the way it would be printed, with the first row at the top. Row and column numbering is zero-based.
- Parameters:
- Z : (M, N) array-like
The matrix to be displayed.
- Returns: