Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0541d6d

Browse filesBrowse files
dstansbystory645
andauthored
Add other option for colormap retrieval
Co-authored-by: hannah <story645@gmail.com>
1 parent 24f9c69 commit 0541d6d
Copy full SHA for 0541d6d

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

‎doc/api/next_api_changes/removals/30005-DS.rst

Copy file name to clipboardExpand all lines: doc/api/next_api_changes/removals/30005-DS.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Colormaps are now available through the `.ColormapRegistry` accessible via
55
`matplotlib.colormaps` or `matplotlib.pyplot.colormaps`.
66

77
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
8+
``matplotlib.colormaps[name]`` or ``matplotlib.pyplot.colormaps[name]`` . Alternatively, ``matplotlib.colormaps.get_cmap`` will
99
maintain the existing behavior of additionally passing through `.Colormap` instances
1010
and converting ``None`` to the default colormap. `matplotlib.pyplot.get_cmap` will stay as a
1111
shortcut to ``matplotlib.colormaps.get_cmap``.

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.