BaseLayer

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

Bases: traitlets.traitlets.HasTraits

Base class for any layer object

Attributes Summary

label

The label to use to designate the layers in the legend.

n_uuids

Methods Summary

remove(self)

Remove the layer from the visualization.

to_mpl(self, ax[, yunit])

Add the layer to a Matplotlib Axes instance.

to_vega(self)

Convert the layer to its Vega representation.

Attributes Documentation

label

The label to use to designate the layers in the legend.

n_uuids = 1

Methods Documentation

remove(self)[source]

Remove the layer from the visualization.

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

Add the layer to a Matplotlib Axes instance.

to_vega(self)[source]

Convert the layer to its Vega representation.