Line

Properties


Methods

update

update(
   coords: Optional[List] = None, label: Optional[Label] = None
)

Description

Update this line with new coords or new label.

Examples

line.update(coords=[[0, 0], [0, 1], [1, 1]])

Arguments

  • coords (List, optional) : New coords of this line

  • label (Label, optional) : New label of this line


delete

delete()

Description

Delete this line from the platform.

⚠️ DANGER ZONE: Be very careful here!

Examples

line.delete()