We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9467192 + f66988e commit 5502deeCopy full SHA for 5502dee
lib/matplotlib/cm.py
@@ -265,9 +265,9 @@ def get_cmap(name=None, lut=None):
265
266
Notes
267
-----
268
- Currently, this returns the global colormap object, which is deprecated.
269
- In Matplotlib 3.5, you will no longer be able to modify the global
270
- 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.
271
272
Parameters
273
----------
0 commit comments