Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Remove cm.get_cmap#30005
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Remove cm.get_cmap#30005
Changes from2 commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
``matplotlib.cm.get_cmap`` | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
Colormaps are now available through the `.Coloarmap.Registry` accessible via | ||
Check warning on line 4 in doc/api/next_api_changes/removals/30005-DS.rst
| ||
timhoffm marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
``matplotlib.colormaps`` or ``plt.colormaps``. | ||
If you have the name of a colormap as a sting, you can use direct lookup | ||
Check warning on line 7 in doc/api/next_api_changes/removals/30005-DS.rst
| ||
``matplotlib.colormaps[name]``. Alternatively, `matplotlib.colormaps.get_cmap` will | ||
maintain the existing behavior of additionally passing through `.Colormap` instances | ||
and converting ``None`` to the default colormap. `plt.get_cmap` will stay as a | ||
shortcut to `matplotlib.colormaps.get_cmap`. |
Uh oh!
There was an error while loading.Please reload this page.