Skip to content

Commit 9e4ec86

Browse files
authored
Merge pull request matplotlib#27191 from meeseeksmachine/auto-backport-of-pr-27189-on-v3.8.x
Backport PR matplotlib#27189 on branch v3.8.x (Fix typo in docstring of `matplotlib.colors.from_levels_and_colors`)
2 parents 2a575e8 + 916e39d commit 9e4ec86

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/colors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2725,8 +2725,8 @@ def from_levels_and_colors(levels, colors, extend='neither'):
27252725
27262726
Returns
27272727
-------
2728-
cmap : `~matplotlib.colors.Normalize`
2729-
norm : `~matplotlib.colors.Colormap`
2728+
cmap : `~matplotlib.colors.Colormap`
2729+
norm : `~matplotlib.colors.Normalize`
27302730
"""
27312731
slice_map = {
27322732
'both': slice(1, -1),

0 commit comments

Comments
 (0)