Range

class aas_timeseries.layers.Range(parent=None, *args, **kwargs)[source]

Bases: aas_timeseries.layers.TimeDependentLayer

An interval defined by lower and upper values as a function of time.

Attributes Summary

color

The fill color of the range.

column_lower

The field in the time series containing the lower value of the data range.

column_upper

The field in the time series containing the upper value of the data range.

data

The time series object containing the data.

edge_color

The edge color of the range.

edge_opacity

The opacity of the edge color from 0 (transparent) to 1 (opaque).

edge_width

The thickness of the edge, in pixels.

opacity

The opacity of the fill color from 0 (transparent) to 1 (opaque).

Methods Summary

to_mpl(self, ax[, yunit])

Add the layer to a Matplotlib Axes instance.

to_vega(self[, yunit])

Convert the layer to its Vega representation.

Attributes Documentation

color

The fill color of the range.

column_lower

The field in the time series containing the lower value of the data range.

column_upper

The field in the time series containing the upper value of the data range.

data

The time series object containing the data.

edge_color

The edge color of the range.

edge_opacity

The opacity of the edge color from 0 (transparent) to 1 (opaque).

edge_width

The thickness of the edge, in pixels.

opacity

The opacity of the fill color from 0 (transparent) to 1 (opaque).

Methods Documentation

to_mpl(self, ax, yunit=None)[source]

Add the layer to a Matplotlib Axes instance.

to_vega(self, yunit=None)[source]

Convert the layer to its Vega representation.