File tree 2 files changed +3
-3
lines changed
doc/api/next_api_changes/deprecations
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
Deprecated top-level cmap registration and access functions in ``mpl.cm ``
2
2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
3
4
- As part of `multi-step process
4
+ As part of a `multi-step process
5
5
<https://github.com/matplotlib/matplotlib/issues/20853> `_ we are refactoring
6
- global state for managing the registered colormap .
6
+ the global state for managing the registered colormaps .
7
7
8
8
In Matplotlib 3.5 we added a `.ColormapRegistry ` class and exposed an
9
9
instance at the top level as ``matplotlib.colormaps ``. The existing
Original file line number Diff line number Diff line change @@ -204,7 +204,7 @@ def unregister(self, name):
204
204
@_api .deprecated (
205
205
'3.6' ,
206
206
pending = True ,
207
- alternative = "``matplotilb.colormaps.unregister_cmap (name)``"
207
+ alternative = "``matplotilb.colormaps.register_cmap (name)``"
208
208
)
209
209
def register_cmap (name = None , cmap = None , * , override_builtin = False ):
210
210
"""
You can’t perform that action at this time.
0 commit comments