VerticalRange

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

Bases: aas_timeseries.layers.BaseLayer

A continuous range specified by a lower and upper time.

Attributes Summary

color

The fill color of the range.

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).

time_lower

The date/time at which the range starts.

time_upper

The date/time at which the range ends.

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.

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).

time_lower

The date/time at which the range starts.

time_upper

The date/time at which the range ends.

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.