Skip to content

Commit

Permalink
Backport PR matplotlib#27189: Fix typo in docstring of `matplotlib.co…
Browse files Browse the repository at this point in the history
…lors.from_levels_and_colors`
  • Loading branch information
story645 authored and meeseeksmachine committed Oct 25, 2023
1 parent 2a575e8 commit 916e39d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/matplotlib/colors.py
Original file line number Diff line number Diff line change
Expand Up @@ -2725,8 +2725,8 @@ def from_levels_and_colors(levels, colors, extend='neither'):
Returns
-------
cmap : `~matplotlib.colors.Normalize`
norm : `~matplotlib.colors.Colormap`
cmap : `~matplotlib.colors.Colormap`
norm : `~matplotlib.colors.Normalize`
"""
slice_map = {
'both': slice(1, -1),
Expand Down

0 comments on commit 916e39d

Please sign in to comment.