Line

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

Bases: aas_timeseries.layers.TimeDependentLayer

A set of time series data points connected by a line.

Attributes Summary

color

The color of the line.

column

The field in the time series containing the data.

data

The time series object containing the data.

opacity

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

width

The width of the line, in pixels.

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 color of the line.

column

The field in the time series containing the data.

data

The time series object containing the data.

opacity

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

width

The width of the line, in pixels.

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.