8000
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 f2ca9f9 commit 2a1da87Copy full SHA for 2a1da87
doc/api/next_api_changes/behavior/23710-ES.rst
@@ -0,0 +1,7 @@
1
+``plt.get_cmap`` and ``matplotlib.cm.get_cmap`` return a copy
2
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+Formerly, `~.pyplot.get_cmap` and `.cm.get_cmap` returned a global version of a
5
+`.Colormap`. This was prone to errors as modification of the colormap would
6
+propagate from one location to another without warning. Now, a new copy of the
7
+colormap is returned.
0 commit comments