From eadf611f1ebb388b7a78a59ce16e8b4a69e4800b Mon Sep 17 00:00:00 2001 From: YishiMichael Date: Mon, 22 Aug 2022 22:05:33 +0800 Subject: [PATCH] fix: fix an incorrect typing --- manimlib/mobject/svg/svg_mobject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manimlib/mobject/svg/svg_mobject.py b/manimlib/mobject/svg/svg_mobject.py index 334c194d..9fe119a2 100644 --- a/manimlib/mobject/svg/svg_mobject.py +++ b/manimlib/mobject/svg/svg_mobject.py @@ -243,7 +243,7 @@ class SVGMobject(VMobject): def path_to_mobject(self, path: se.Path) -> VMobjectFromSVGPath: return VMobjectFromSVGPath(path, **self.path_string_config) - def line_to_mobject(self, line: se.Line) -> Line: + def line_to_mobject(self, line: se.SimpleLine) -> Line: return Line( start=_convert_point_to_3d(line.x1, line.y1), end=_convert_point_to_3d(line.x2, line.y2)