File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
doc/api/next_api_changes/deprecations Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -14,10 +14,9 @@ In Matplotlib 3.6 we have marked those top level functions as pending
1414deprecation with the intention of deprecation in Matplotlib 3.7. The
1515following functions have been marked for pending deprecation:
1616
17- - `matplotlib.cm.get_cmap `
18- - `matplotlib.cm.register_cmap `
19- - `matplotlib.cm.unregister_cmap `
20- - ``matplotlib.pyplot.register_cmap ``
17+ - `matplotlib.cm.get_cmap ` - use `` matplotlib.colormaps[name] `` instead
18+ - `matplotlib.cm.register_cmap ` - use `` matplotlib.colormaps.register `` instead
19+ - `matplotlib.cm.unregister_cmap ` - use `` matplotlib.colormaps.unregister `` instead
20+ - ``matplotlib.pyplot.register_cmap `` - use `` matplotlib.colormaps.register `` instead
2121
22- The ``matplotlib.pyplot.get_cmap `` function is intentionally exempted from this
23- deprecation process.
22+ The ``matplotlib.pyplot.get_cmap `` function will stay available for backward compatibility.
You can’t perform that action at this time.
0 commit comments