chaco.examples.demo.basic.scatter_alpha module

Scatter plot demonstrating varying alpha

Shows a scatter plot of a set of random points, with basic Chaco panning and zooming. Has a slider which varies the alpha interactively, fading the plot in and out.

class chaco.examples.demo.basic.scatter_alpha.Demo

Bases: traits.has_traits.HasTraits

chaco.examples.demo.basic.scatter_alpha.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.