Skip to content

Commit 023ac20

Browse files
committed
yapf
1 parent 08bcc1b commit 023ac20

File tree

1 file changed

+2
-2
lines changed
  • labelbox/data/annotation_types/geometry

1 file changed

+2
-2
lines changed

labelbox/data/annotation_types/geometry/line.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ class Line(Geometry):
2121

2222
@property
2323
def geometry(self) -> geojson.MultiLineString:
24-
return geojson.MultiLineString([[[point.x, point.y]
25-
for point in self.points]])
24+
return geojson.MultiLineString(
25+
[[[point.x, point.y] for point in self.points]])
2626

2727
def draw(self,
2828
height: Optional[int] = None,

0 commit comments

Comments
 (0)