Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 24f9c69 commit 0541d6dCopy full SHA for 0541d6d
doc/api/next_api_changes/removals/30005-DS.rst
@@ -5,7 +5,7 @@ Colormaps are now available through the `.ColormapRegistry` accessible via
5
`matplotlib.colormaps` or `matplotlib.pyplot.colormaps`.
6
7
If 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
+``matplotlib.colormaps[name]`` or ``matplotlib.pyplot.colormaps[name]`` . Alternatively, ``matplotlib.colormaps.get_cmap`` will
9
maintain the existing behavior of additionally passing through `.Colormap` instances
10
and converting ``None`` to the default colormap. `matplotlib.pyplot.get_cmap` will stay as a
11
shortcut to ``matplotlib.colormaps.get_cmap``.
0 commit comments