InfLineColors#

InfLineColors#

Constructor#

InfLineColors(colors, n_colors[, property_name])

Manages per-line colors for InfLineGraphic.

Properties#

InfLineColors.buffer

managed buffer, returns a weakref proxy

InfLineColors.value

numpy array object representing the data managed by this buffer

Methods#

InfLineColors.add_event_handler(handler)

Add an event handler.

InfLineColors.block_events(val)

Block all events from this feature

InfLineColors.clear_event_handlers()

Clear all event handlers

InfLineColors.remove_event_handler(handler)

Remove a registered event handler.

InfLineColors.set_value(graphic, value)

set the per-line colors, allocating a new buffer if the number of lines changed