Line¶
- class verta.data_types.Line(x, y)¶
Representation of line plot points.
Examples
from verta.data_types import Line data = Line( x=[1, 2, 3], y=[1, 4, 9], ) run.log_attribute("price", data)
- classmethod from_tuples(tuples)¶
Alternate constructor that takes coordinates as tuples.
- Parameters:
- Returns:
Examples
from verta.data_types import Line data = Line.from_tuples( [(1, 1), (2, 4), (3, 9)], ) run.log_attribute("price", data)