chaco.tools.regression_lasso module

Defines the RegressionLasso class.

class chaco.tools.regression_lasso.RegressionLasso(component, *args, **kw)

Bases: chaco.tools.lasso_selection.LassoSelection

A controller for “lassoing” a selection of points in a regression plot.

centroid = Any

The center point of the selected points, in data space.

fit_params = Any

Tuple (slope, intercept) of the line that fits the data.

incremental_select = True

The regression updates as more points are added (overrides LassoSelection).

class chaco.tools.regression_lasso.RegressionOverlay(component=None, *args, **kw)

Bases: chaco.overlays.lasso_overlay.LassoOverlay

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

Draws this component overlaid on another component.

Implements AbstractOverlay.