Small error in docstring of matplotlib.colors.from_levels_and_colors #27188
Labels
Documentation: API
files in lib/ and doc/api
Documentation
Good first issue
Open a pull request against these issues if there are no active ones!
Milestone
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:
while the code confirms that, as expected, it's the opposite that is returned (cmap is a Colormap and norm is a Normalize)
The text was updated successfully, but these errors were encountered: