chaco.overlays.colormapped_selection_overlay module

Defines the ColormappedSelectionOverlay class.

class chaco.overlays.colormapped_selection_overlay.ColormappedSelectionOverlay(component=None, **kw)

Bases: chaco.abstract_overlay.AbstractOverlay

Overlays and changes a ColormappedScatterPlot to fade its non-selected points to a very low alpha.

datasource_change_handler(event)
fade_alpha = Float(0.15)

The amount to fade the unselected points.

minimum_delta = Float(0.01)

The minimum difference, in float percent, between the starting and ending selection values, if range selection mode is enabled

overlay(component, gc, view_bounds=None, mode='normal')

Draws this component overlaid on another component.

Implements AbstractOverlay.

plot = Property

The ColormappedScatterPlot that this overlay is listening to. By default, it looks at self.component

selected_outline_width = Float(1.0)

Outline width for selected points.

selection_change_handler(event)
selection_type = Enum("range", "mask")

The type of selection used by the data source.

unselected_outline_width = Float(0.0)

Outline width for unselected points.