chaco.examples.demo.data_labels module¶
Draws a line plot with several points labelled. Demonstrates how to annotate plots.
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”.
Right-drag is enabled on some of the labels.
-
class
chaco.examples.demo.data_labels.
PlotExample
¶ Bases:
traits.has_traits.HasTraits