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
The fill color of the range.
The edge color of the range.
The opacity of the edge color from 0 (transparent) to 1 (opaque).
The thickness of the edge, in pixels.
The opacity of the fill color from 0 (transparent) to 1 (opaque).
The date/time at which the range starts.
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
-