Skip to content

Commit 916e39d

Browse files
story645meeseeksmachine
authored andcommitted
Backport PR #27189: Fix typo in docstring of matplotlib.colors.from_levels_and_colors
1 parent 2a575e8 commit 916e39d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/colors.py

+2-2
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)