ColormapRegistry#
- class glue.config.ColormapRegistry#
Bases:
RegistryStores colormaps for the Image Viewer. The members property is a list of colormaps, each represented as a [name,cmap] pair.
Methods Summary
add(label, cmap)Add colormap cmap with label label.
The member items provided by default.
name_from_cmap(cmap_desired)Methods Documentation
- add(label, cmap)#
Add colormap cmap with label label.
- default_members()#
The member items provided by default. These are put in this method so that code is only imported when needed
- name_from_cmap(cmap_desired)#