chaco.examples.demo.basic.image_inspector module

Demonstrates the ImageInspectorTool and overlay on a colormapped image plot. The underlying plot is similar to the one in cmap_image_plot.py.

  • 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 alt-left-arrow and alt-right-arrow moves you forwards and backwards through the “zoom history”.

  • Pressing “p” will toggle the display of the image inspector overlay.

class chaco.examples.demo.basic.image_inspector.Demo

Bases: traits.has_traits.HasTraits