You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that the linked issues to PR #16991
all want a public way to access the registered colormap names without resorting to importing pyplot. That PR removed the cm.cmap_d dictionary, but left nothing in its place.
Describe the issue
I noticed that the linked issues to PR
#16991
all want a public way to access the registered colormap names without resorting to importing pyplot. That PR removed the cm.cmap_d dictionary, but left nothing in its place.
There were a few suggestions in this thread: #16991 (comment)
Summary
Create a way to access the keys of the colormap registry within the
mpl.cm
module.Proposed fix
Some ideas:
mpl.cm.get_cmap_names()
mpl.cm.get_registered_cmaps()
keeping consistency with pyplot:
mpl.cm.colormaps()
... something else entirely
The text was updated successfully, but these errors were encountered: