8000 Backport PR #14757: Remove incorrect color/cmap docstring line in con… · matplotlib/matplotlib@dc9c374 · GitHub
[go: up one dir, main page]

Skip to content

Commit dc9c374

Browse files
miquelasteinMeeseeksDev[bot]
authored and
MeeseeksDev[bot]
committed
Backport PR #14757: Remove incorrect color/cmap docstring line in contour.py
1 parent 59865ec commit dc9c374

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)
0