CmapFeature¶

CmapFeature¶

Constructor¶

CmapFeature(parent, colors, cmap_name, ...)

Indexable colormap feature, mostly wraps colors and just provides a way to set colormaps.

Properties¶

CmapFeature.buffer

Underlying buffer for this feature

CmapFeature.name

CmapFeature.values

Methods¶

CmapFeature.add_event_handler(handler)

Add an event handler.

CmapFeature.block_events(val)

Block all events from this feature

CmapFeature.clear_event_handlers()

Clear all event handlers

CmapFeature.remove_event_handler(handler)

Remove a registered event handler.