Closed
Description
matplotlib/lib/matplotlib/colors.py
Lines 2708 to 2762 in 3958242
The docstring of matplotlib.colors.from_levels_and_colors states that the function returns:
cmap : `~matplotlib.colors.Normalize`
norm : `~matplotlib.colors.Colormap`
while the code confirms that, as expected, it's the opposite that is returned (cmap is a Colormap and norm is a Normalize)