@@ -5239,10 +5239,14 @@ def imshow(self, X, cmap=None, norm=None, aspect=None,
52395239 - MxNx3 -- RGB (float or uint8)
52405240 - MxNx4 -- RGBA (float or uint8)
52415241
5242- The value for each component of MxNx3 and MxNx4 float arrays
5243- should be in the range 0.0 to 1.0. MxN arrays are mapped
5244- to colors based on the `norm` (mapping scalar to scalar)
5245- and the `cmap` (mapping the normed scalar to a color).
5242+ MxN arrays are mapped to colors based on the `norm` (mapping
5243+ scalar to scalar) and the `cmap` (mapping the normed scalar to
5244+ a color).
5245+
5246+ Elements of RGB and RGBA arrays represent pixels of an MxN image.
5247+ All values should be in the range [0 .. 1] for floats or
5248+ [0 .. 255] for integers. Out-of-range values will be clipped to
5249+ these bounds.
52465250
52475251 cmap : `~matplotlib.colors.Colormap`, optional, default: None
52485252 If None, default to rc `image.cmap` value. `cmap` is ignored
@@ -5284,7 +5288,8 @@ def imshow(self, X, cmap=None, norm=None, aspect=None,
52845288 settings for `vmin` and `vmax` will be ignored.
52855289
52865290 alpha : scalar, optional, default: None
5287- The alpha blending value, between 0 (transparent) and 1 (opaque)
5291+ The alpha blending value, between 0 (transparent) and 1 (opaque).
5292+ The ``alpha`` argument is ignored for RGBA input data.
52885293
52895294 origin : ['upper' | 'lower'], optional, default: None
52905295 Place the [0,0] index of the array in the upper left or lower left
0 commit comments