chaco.examples.demo.basic.scatter_rect_select module¶
Rectangular selection of data points
Draws a simple scatterplot of random data. Drag the mouse to use the selector, which allows you to select points via a bounding box.
Upon completion of the selection operation, the indices of the selected points are printed to the console and highlighted visually.
-
class
chaco.examples.demo.basic.scatter_rect_select.
Demo
¶ Bases:
traits.has_traits.HasTraits
-
chaco.examples.demo.basic.scatter_rect_select.
random
(size=None)¶ Return random floats in the half-open interval [0.0, 1.0). Alias for random_sample to ease forward-porting to the new random API.