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

Skip to content

Commit 80ac295

Browse files
authored
Merge pull request #14837 from meeseeksmachine/auto-backport-of-pr-14757-on-v3.1.x
Backport PR #14757 on branch v3.1.x (Remove incorrect color/cmap docstring line in contour.py)
2 parents 1e6e72f + 8e75976 commit 80ac295

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/contour.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1696,7 +1696,7 @@ def _initialize_x_y(self, z):
16961696
maps the level values to colors.
16971697
Defaults to :rc:`image.cmap`.
16981698
1699-
If given, *colors* take precedence over *cmap*.
1699+
If both *colors* and *cmap* are given, an error is raised.
17001700
17011701
norm : `~matplotlib.colors.Normalize`, optional
17021702
If a colormap is used, the `.Normalize` instance scales the level

0 commit comments

Comments
 (0)