VerticalLine¶
-
class
aas_timeseries.layers.
VerticalLine
(parent=None, *args, **kwargs)[source]¶ Bases:
aas_timeseries.layers.BaseLayer
A vertical line at a specific time.
Attributes Summary
The color of the line.
The opacity of the line from 0 (transparent) to 1 (opaque).
The date/time at which the vertical line is shown.
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.
-
opacity
¶ The opacity of the line from 0 (transparent) to 1 (opaque).
-
time
¶ The date/time at which the vertical line is shown.
-
width
¶ The width of the line, in pixels.
Methods Documentation
-