Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
implementing feedback from story645
  • Loading branch information
trygvrad committed Jun 6, 2026
commit fce7799cb77d7fbc438ea7efd488c7f0c8d34bf5
2 changes: 1 addition & 1 deletion lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -6601,7 +6601,7 @@ def pcolor(self, *args, shading=None, alpha=None, norm=None, cmap=None,

Parameters
----------
C : 2D (I, J) or 3D (v, I, J) array-like
C : 2D (M, N) or 3D (v, M, N) array-like
The color-mapped values. Color-mapping is controlled by *cmap*,
*norm*, *vmin*, and *vmax*. 3D arrays are supported only if the
cmap supports v channels.
Expand Down
1 change: 1 addition & 0 deletions lib/matplotlib/colorizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ def get_clim(self):
Return the values (min, max) that are mapped to the colormap limits.

This function is not available for multivariate data.
Use `self.colorizer.get_clim()` instead.
"""
if self._colorizer.norm.n_components > 1:
raise AttributeError("`.get_clim()` is unavailable when using a colormap "
Expand Down