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(label, cmap) Add colormap cmap with label label.
default_members()

Methods Documentation

add(label, cmap)[source]

Add colormap cmap with label label.

default_members()[source]