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

Skip to content

Commit e4dcb7f

Browse files
author
Artyom Romanov
committed
Fix typo in docstring of matplotlib.colors.from_levels_and_colors
1 parent b86e331 commit e4dcb7f

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
@@ -2757,8 +2757,8 @@ def from_levels_and_colors(levels, colors, extend='neither'):
27572757
27582758
Returns
27592759
-------
2760-
cmap : `~matplotlib.colors.Normalize`
2761-
norm : `~matplotlib.colors.Colormap`
2760+
cmap : `~matplotlib.colors.Colormap`
2761+
norm : `~matplotlib.colors.Normalize`
27622762
"""
27632763
slice_map = {
27642764
'both': slice(1, -1),

0 commit comments

Comments
 (0)