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