@@ -5027,7 +5027,7 @@ def imshow(self, X, cmap=None, norm=None, aspect=None,
5027
5027
5028
5028
Parameters
5029
5029
----------
5030
- X : array_like, shape (n, m ) or (n, m , 3) or (n, m , 4)
5030
+ X : array_like, shape (M, N ) or (M, N , 3) or (M, N , 4)
5031
5031
Display the image in `X` to current axes. `X` may be an
5032
5032
array or a PIL image. If `X` is an array, it
5033
5033
can have the following shapes and types:
@@ -5040,10 +5040,10 @@ def imshow(self, X, cmap=None, norm=None, aspect=None,
5040
5040
scalar to scalar) and the `cmap` (mapping the normed scalar to
5041
5041
a color).
5042
5042
5043
- Elements of RGB and RGBA arrays represent pixels of an MxN image.
5044
- All values should be in the range [0 .. 1] for floats or
5045
- [0 .. 255] for integers. Out-of-range values will be clipped to
5046
- these bounds.
5043
+ Elements of RGB and RGBA arrays represent pixels of an NxM
5044
+ (width x height) image. All values should be in the range
5045
+ [0 .. 1] for floats or [0 .. 255] for integers. Out-of-range
5046
+ values will be clipped to these bounds.
5047
5047
5048
5048
cmap : `~matplotlib.colors.Colormap`, optional, default: None
5049
5049
If None, default to rc `image.cmap` value. `cmap` is ignored
0 commit comments