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
© 2012–2018 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.1.1/api/_as_gen/matplotlib.pyplot.matshow.html