chaco.examples.demo.coordinate_line_overlay_demo module

Demonstration of the Chaco overlay CoordinateLineOverlay.

A CoordinateLineOverlay is a Chaco overlay that draws “infinite” vertical and horizontal lines in a Chaco Plot. In this demo, two instances of CoordinateLineOverlay are added to the overlays of a Plot containing a single line plot.

Zoom out, pan around, and notice that the blue solid lines and the red dashed lines are always drawn all the way across the window. They do not have end points.

class chaco.examples.demo.coordinate_line_overlay_demo.PlotExample

Bases: traits.has_traits.HasTraits