File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
doc/api/next_api_changes/removals Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ Colormaps are now available through the `.ColormapRegistry` accessible via
55`matplotlib.colormaps ` or `matplotlib.pyplot.colormaps `.
66
77If you have the name of a colormap as a string, you can use a direct lookup,
8- ``matplotlib.colormaps[name] ``. Alternatively, ``matplotlib.colormaps.get_cmap `` will
8+ ``matplotlib.colormaps[name] `` or `` matplotlib.pyplot.colormaps[name] `` . Alternatively, ``matplotlib.colormaps.get_cmap `` will
99maintain the existing behavior of additionally passing through `.Colormap ` instances
1010and converting ``None `` to the default colormap. `matplotlib.pyplot.get_cmap ` will stay as a
1111shortcut to ``matplotlib.colormaps.get_cmap ``.
You can’t perform that action at this time.
0 commit comments