chaco.examples.demo.basic.horizon_plot module

Implementation of a sample horizon plot, showing both negative and positive values in the same banded region.

class chaco.examples.demo.basic.horizon_plot.Demo

Bases: traits.has_traits.HasTraits

chaco.examples.demo.basic.horizon_plot.create_dates(numpoints, units='days')

Returns numpoints number of dates that evenly bracket the current date and time. units should be one of “weeks”, “days”, “hours” “minutes”, or “seconds”.