Markers

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

Bases: aas_timeseries.layers.TimeDependentLayer

A set of time series data points represented by markers.

Attributes Summary

color

The fill color of the symbols.

column

The field in the time series containing the data.

data

The time series object containing the data.

edge_color

The edge color of the symbol.

edge_opacity

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

edge_width

The thickness of the edge, in pixels.

error

The field in the time series containing the data uncertainties.

error_width

The width of the error bar, in pixels.

n_uuids

opacity

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

shape

The symbol shape.

size

The area in pixels of the bounding box of the symbols.

tooltip

Whether to show a tooltip (False or True).

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

column

The field in the time series containing the data.

data

The time series object containing the data.

edge_color

The edge color of the symbol.

edge_opacity

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

edge_width

The thickness of the edge, in pixels.

error

The field in the time series containing the data uncertainties.

error_width

The width of the error bar, in pixels.

n_uuids = 2
opacity

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

shape

The symbol shape.

One of 'circle' (default), 'square', 'cross', 'diamond', 'triangle-up', 'triangle-down', 'triangle-right', 'triangle-left'.

size

The area in pixels of the bounding box of the symbols.

Note that this value sets the area of the symbol; the side lengths will increase with the square root of this value.

tooltip

Whether to show a tooltip (False or True). Can also be set to a list of data columns to show, or a dictionary mapping the display name to the column name.

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.