ColormapRegistry¶
-
class
glue.config.
ColormapRegistry
[source]¶ Bases:
glue.config.Registry
Stores colormaps for the Image Viewer. The members property is a list of colormaps, each represented as a [name,cmap] pair.
Methods Summary
add
(self, label, cmap)Add colormap cmap with label label.
default_members
(self)The member items provided by default.
name_from_cmap
(self, cmap_desired)Methods Documentation