Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 99b9ed5

Browse files
committed
implementing feedback from story645
1 parent 9f02a08 commit 99b9ed5

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

lib/matplotlib/axes/_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6528,7 +6528,7 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,
65286528
65296529
Parameters
65306530
----------
6531-
C : 2D (I, J) or 3D (v, I, J) array-like
6531+
C : 2D (M, N) or 3D (v, M, N) array-like
65326532
The color-mapped values. Color-mapping is controlled by *cmap*,
65336533
*norm*, *vmin*, and *vmax*. 3D arrays are supported only if the
65346534
cmap supports v channels.

lib/matplotlib/colorizer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ def get_clim(self):
368368
Return the values (min, max) that are mapped to the colormap limits.
369369
370370
This function is not available for multivariate data.
371+
Use `self.colorizer.get_clim()` instead.
371372
"""
372373
if self._colorizer.norm.n_components > 1:
373374
raise AttributeError("`.get_clim()` is unavailable when using a colormap "

0 commit comments

Comments
 (0)