Skip to content

Commit ac387e2

Browse files
committed
Mark ColormapRegistry as experimental.
1 parent bf5d69b commit ac387e2

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

doc/users/next_whats_new/colormaps.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
Colormap registry
2-
------------------
1+
Colormap registry (experimental)
2+
--------------------------------
33

44
Colormaps are now managed via `matplotlib.colormaps`, which is a
5-
`.ColormapRegistry`.
5+
`.ColormapRegistry`. This API is experimental and may still change in future
6+
versions.
67

78
Colormaps can be obtained using item access::
89

lib/matplotlib/cm.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,10 @@ class ColormapRegistry(Mapping):
102102
r"""
103103
Container for colormaps that are known to Matplotlib by name.
104104
105+
.. admonition:: Experimental
106+
107+
This API is experimental and may still change in future versions.
108+
105109
The universal registry instance is `matplotlib.colormaps`. There should be
106110
no need for users to instantiate `.ColormapRegistry` themselves.
107111

0 commit comments

Comments
 (0)