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 9485090

Browse filesBrowse files
committed
Fix links in API note
1 parent 84daf24 commit 9485090
Copy full SHA for 9485090

File tree

1 file changed

+5
-5
lines changed
Filter options

1 file changed

+5
-5
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
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
~~~~~~~~~~~~~~~~~~~~~~~~~~
33

44
Colormaps are now available through the `.Coloarmap.Registry` accessible via
5-
``matplotlib.colormaps`` or ``plt.colormaps``.
5+
`matplotlib.colormaps` or `matplotlib.pyplot.colormaps`.
66

7-
If you have the name of a colormap as a sting, you can use direct lookup
8-
``matplotlib.colormaps[name]``. Alternatively, `matplotlib.colormaps.get_cmap` will
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
99
maintain the existing behavior of additionally passing through `.Colormap` instances
10-
and converting ``None`` to the default colormap. `plt.get_cmap` will stay as a
11-
shortcut to `matplotlib.colormaps.get_cmap`.
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

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