@@ -5753,7 +5753,7 @@ def imshow(self, X, cmap=None, norm=None, *, aspect=None,
57535753 """
57545754 Display data as an image, i.e., on a 2D regular raster.
57555755
5756- The input may either be actual RGB(A) data, or 2D scalar data, which
5756+ The input may either be actual RGB(A) data, or 2D data, which
57575757 will be rendered as a pseudocolor image. For displaying a grayscale
57585758 image, set up the colormapping using the parameters
57595759 ``cmap='gray', vmin=0, vmax=255``.
@@ -5774,24 +5774,25 @@ def imshow(self, X, cmap=None, norm=None, *, aspect=None,
57745774 - (M, N): an image with scalar data. The values are mapped to
57755775 colors using normalization and a colormap. See parameters *norm*,
57765776 *cmap*, *vmin*, *vmax*.
5777+ - (K, M, N): multiple images with scalar data. Must be used
5778+ with a multivariate or bivariate colormap. See *cmap*.
57775779 - (M, N, 3): an image with RGB values (0-1 float or 0-255 int).
57785780 - (M, N, 4): an image with RGBA values (0-1 float or 0-255 int),
57795781 i.e. including transparency.
57805782
5781- The first two dimensions (M, N) define the rows and columns of
5782- the image.
5783+ Here M and N define the rows and columns of the image.
57835784
57845785 Out-of-range RGB(A) values are clipped.
57855786
5786- %(cmap_doc )s
5787+ %(multi_cmap_doc )s
57875788
57885789 This parameter is ignored if *X* is RGB(A).
57895790
5790- %(norm_doc )s
5791+ %(multi_norm_doc )s
57915792
57925793 This parameter is ignored if *X* is RGB(A).
57935794
5794- %(vmin_vmax_doc )s
5795+ %(multi_vmin_vmax_doc )s
57955796
57965797 This parameter is ignored if *X* is RGB(A).
57975798
@@ -6130,9 +6131,10 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,
61306131
61316132 Parameters
61326133 ----------
6133- C : 2D array-like
6134+ C : 2D array-like or list of 2D array-like objects
61346135 The color-mapped values. Color-mapping is controlled by *cmap*,
6135- *norm*, *vmin*, and *vmax*.
6136+ *norm*, *vmin*, and *vmax*. Multiple arrays are only supported
6137+ when a bivariate or mulivariate colormap is used, see *cmap*.
61366138
61376139 X, Y : array-like, optional
61386140 The coordinates of the corners of quadrilaterals of a pcolormesh::
@@ -6179,11 +6181,11 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,
61796181 See :doc:`/gallery/images_contours_and_fields/pcolormesh_grids`
61806182 for more description.
61816183
6182- %(cmap_doc )s
6184+ %(multi_cmap_doc )s
61836185
6184- %(norm_doc )s
6186+ %(multi_norm_doc )s
61856187
6186- %(vmin_vmax_doc )s
6188+ %(multi_vmin_vmax_doc )s
61876189
61886190 %(colorizer_doc)s
61896191
@@ -6370,12 +6372,13 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
63706372 - (M, N) or M*N: a mesh with scalar data. The values are mapped to
63716373 colors using normalization and a colormap. See parameters *norm*,
63726374 *cmap*, *vmin*, *vmax*.
6375+ - (K, M, N): multiple images with scalar data. Must be used with
6376+ a multivariate or bivariate colormap. See *cmap*.
63736377 - (M, N, 3): an image with RGB values (0-1 float or 0-255 int).
63746378 - (M, N, 4): an image with RGBA values (0-1 float or 0-255 int),
63756379 i.e. including transparency.
63766380
6377- The first two dimensions (M, N) define the rows and columns of
6378- the mesh data.
6381+ Here M and N define the rows and columns of the image.
63796382
63806383 X, Y : array-like, optional
63816384 The coordinates of the corners of quadrilaterals of a pcolormesh::
@@ -6406,11 +6409,11 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
64066409 expanded as needed into the appropriate 2D arrays, making a
64076410 rectangular grid.
64086411
6409- %(cmap_doc )s
6412+ %(multi_cmap_doc )s
64106413
6411- %(norm_doc )s
6414+ %(multi_norm_doc )s
64126415
6413- %(vmin_vmax_doc )s
6416+ %(multi_vmin_vmax_doc )s
64146417
64156418 %(colorizer_doc)s
64166419
0 commit comments