chaco.overlays.scatter_inspector_overlay module

class chaco.overlays.scatter_inspector_overlay.ScatterInspectorOverlay(component=None, *args, **kw)

Bases: chaco.abstract_overlay.AbstractOverlay

Highlights points on a scatterplot as the mouse moves over them. Can render the points in a different style, as well as display a DataLabel.

Used in conjuction with ScatterInspector.

hover_metadata_name = Str("hover")

The style to use when a point is hovered over

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

Draws this component overlaid on another component.

selection_metadata_name = Str("selections")

The style to use when a point has been selected by a click