@@ -5703,7 +5703,7 @@ def imshow(self, X, cmap=None, norm=None, *, aspect=None,
57035703 """
57045704 Display data as an image, i.e., on a 2D regular raster.
57055705
5706- The input may either be actual RGB(A) data, or 2D scalar data, which
5706+ The input may either be actual RGB(A) data, or 2D data, which
57075707 will be rendered as a pseudocolor image. For displaying a grayscale
57085708 image, set up the colormapping using the parameters
57095709 ``cmap='gray', vmin=0, vmax=255``.
@@ -5724,24 +5724,25 @@ def imshow(self, X, cmap=None, norm=None, *, aspect=None,
57245724 - (M, N): an image with scalar data. The values are mapped to
57255725 colors using normalization and a colormap. See parameters *norm*,
57265726 *cmap*, *vmin*, *vmax*.
5727+ - (K, M, N): multiple images with scalar data. Must be used
5728+ with a multivariate or bivariate colormap. See *cmap*.
57275729 - (M, N, 3): an image with RGB values (0-1 float or 0-255 int).
57285730 - (M, N, 4): an image with RGBA values (0-1 float or 0-255 int),
57295731 i.e. including transparency.
57305732
5731- The first two dimensions (M, N) define the rows and columns of
5732- the image.
5733+ Here M and N define the rows and columns of the image.
57335734
57345735 Out-of-range RGB(A) values are clipped.
57355736
5736- %(cmap_doc )s
5737+ %(multi_cmap_doc )s
57375738
57385739 This parameter is ignored if *X* is RGB(A).
57395740
5740- %(norm_doc )s
5741+ %(multi_norm_doc )s
57415742
57425743 This parameter is ignored if *X* is RGB(A).
57435744
5744- %(vmin_vmax_doc )s
5745+ %(multi_vmin_vmax_doc )s
57455746
57465747 This parameter is ignored if *X* is RGB(A).
57475748
@@ -6080,9 +6081,10 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,
60806081
60816082 Parameters
60826083 ----------
6083- C : 2D array-like
6084+ C : 2D array-like or list of 2D array-like objects
60846085 The color-mapped values. Color-mapping is controlled by *cmap*,
6085- *norm*, *vmin*, and *vmax*.
6086+ *norm*, *vmin*, and *vmax*. Multiple arrays are only supported
6087+ when a bivariate or mulivariate colormap is used, see *cmap*.
60866088
60876089 X, Y : array-like, optional
60886090 The coordinates of the corners of quadrilaterals of a pcolormesh::
@@ -6129,11 +6131,11 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,
61296131 See :doc:`/gallery/images_contours_and_fields/pcolormesh_grids`
61306132 for more description.
61316133
6132- %(cmap_doc )s
6134+ %(multi_cmap_doc )s
61336135
6134- %(norm_doc )s
6136+ %(multi_norm_doc )s
61356137
6136- %(vmin_vmax_doc )s
6138+ %(multi_vmin_vmax_doc )s
61376139
61386140 %(colorizer_doc)s
61396141
@@ -6320,12 +6322,13 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
63206322 - (M, N) or M*N: a mesh with scalar data. The values are mapped to
63216323 colors using normalization and a colormap. See parameters *norm*,
63226324 *cmap*, *vmin*, *vmax*.
6325+ - (K, M, N): multiple images with scalar data. Must be used with
6326+ a multivariate or bivariate colormap. See *cmap*.
63236327 - (M, N, 3): an image with RGB values (0-1 float or 0-255 int).
63246328 - (M, N, 4): an image with RGBA values (0-1 float or 0-255 int),
63256329 i.e. including transparency.
63266330
6327- The first two dimensions (M, N) define the rows and columns of
6328- the mesh data.
6331+ Here M and N define the rows and columns of the image.
63296332
63306333 X, Y : array-like, optional
63316334 The coordinates of the corners of quadrilaterals of a pcolormesh::
@@ -6356,11 +6359,11 @@ def pcolormesh(self, *args, alpha=None, norm=None, cmap=None, vmin=None,
63566359 expanded as needed into the appropriate 2D arrays, making a
63576360 rectangular grid.
63586361
6359- %(cmap_doc )s
6362+ %(multi_cmap_doc )s
63606363
6361- %(norm_doc )s
6364+ %(multi_norm_doc )s
63626365
6363- %(vmin_vmax_doc )s
6366+ %(multi_vmin_vmax_doc )s
63646367
63656368 %(colorizer_doc)s
63666369
0 commit comments