chaco.plots.errorbar_plot module

class chaco.plots.errorbar_plot.ErrorBarPlot(**kwtraits)

Bases: chaco.plots.lineplot.LinePlot

Renders errorbars at various points.

endcap_size = Float(5.0)

The screen-space width of the endcap bars

endcap_style = Enum("bar", "none", None)

The kind of encap to render on error bars

get_screen_points()

Returns the currently visible screen-space points.

Intended for use with overlays.

map_screen(data_array)

data_array can be Nx2 or Nx3. In the former case, each row is treated as (index, value), and this method returns screen X and Y coordinates. In the latter case, each row is treated as (index, value_low, value_high), and the method returns either (x, ylow, yhigh) or (y, xlow, xhigh) depending on self.orientation.

value_high = Instance(AbstractDataSource)

The datasource containing the high values

value_low = Instance(AbstractDataSource)

The datasource containing the low values