matplotlib.pyplot.
matshow
(A, fignum=None, **kwargs)[source]¶Display an array as a matrix in a new figure window.
The origin is set at the upper left hand corner and rows (first dimension of the array) are displayed horizontally. The aspect ratio of the figure window is that of the array, unless this would make an excessively short or narrow figure.
Tick labels for the xaxis are placed on top.
Parameters: |
|
---|---|
Returns: |
|
Other Parameters: |
|
matplotlib.pyplot.matshow
¶