skip 0 length lines
@@ -467,6 +467,7 @@ def from_vertices(vertices: Iterable["Vertex"], close=False) -> Path:
return Path()
path = Path(start=vertices[0])
for vertex in vertices[1:]:
+ if not path.end.isclose(vertex):
path.line_to(vertex)
if close:
path.close()
