A community-maintained Python framework for creating mathematical animations.
Ensure that the stroke_width property of SVGMobject is not set to None. (#4319)
Henrik Skov Midtibyb83410aee02f
diff --git a/manim/mobject/svg/svg_mobject.py b/manim/mobject/svg/svg_mobject.pyindex 82c121fce..9a8666c2f 100644--- a/manim/mobject/svg/svg_mobject.py+++ b/manim/mobject/svg/svg_mobject.py@@ -125,6 +125,8 @@ class SVGMobject(VMobject, metaclass=ConvertToOpenGL):self.stroke_color = stroke_colorself.stroke_opacity = stroke_opacityself.stroke_width = stroke_width+ if self.stroke_width is None:+ self.stroke_width = 0if svg_default is None:svg_default = {