VertexCmap#

VertexCmap#

Constructor#

VertexCmap(vertex_colors, cmap_name, transform)

Sliceable colormap feature, manages a VertexColors instance and provides a way to set colormaps with arbitrary transforms

Properties#

VertexCmap.alpha

Get or set the alpha level

VertexCmap.buffer

managed buffer

VertexCmap.name

VertexCmap.shared

Number of graphics that share this buffer

VertexCmap.transform

Get or set the cmap transform.

VertexCmap.value

numpy array object representing the data managed by this buffer

Methods#

VertexCmap.add_event_handler(handler)

Add an event handler.

VertexCmap.block_events(val)

Block all events from this feature

VertexCmap.clear_event_handlers()

Clear all event handlers

VertexCmap.remove_event_handler(handler)

Remove a registered event handler.

VertexCmap.set_value(graphic, value)

Sets values on entire array