chaco.examples.demo.advanced.cmap_variable_sized_scatter module

Draws a scatterplot of a set of random points of variable size and color.
  • Left-drag pans the plot.

  • Mousewheel up and down zooms the plot in and out.

  • Pressing “z” brings up the Zoom Box, and you can click-drag a rectangular region to zoom. If you use a sequence of zoom boxes, pressing control-y and control-z (Meta-y and Meta-z on Mac) moves you forwards and backwards through the “zoom history”.

class chaco.examples.demo.advanced.cmap_variable_sized_scatter.Demo

Bases: traits.has_traits.HasTraits