Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/matplotlib/cm.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,9 @@ def get_cmap(name=None, lut=None):

Notes
-----
Currently, this returns the global colormap object, which is deprecated.
In Matplotlib 3.5, you will no longer be able to modify the global
colormaps in-place.
Currently, this returns the global colormap object. This is undesired
because users could accidentally modify the global colormap.
From Matplotlib 3.6 on, this will return a copy instead.

Parameters
----------
Expand Down