diff --git a/manimlib/mobject/geometry.py b/manimlib/mobject/geometry.py index f61b82b2..b5efefcd 100644 --- a/manimlib/mobject/geometry.py +++ b/manimlib/mobject/geometry.py @@ -970,8 +970,13 @@ class Polygon(VMobject): class Polyline(VMobject): - def __init__(self, *vertices: Vect3, **kwargs): - super().__init__(**kwargs) + def __init__( + self, + *vertices: Vect3, + flat_stroke: bool = True, + **kwargs + ): + super().__init__(flat_stroke=flat_stroke, **kwargs) self.set_points_as_corners(vertices)