A community-maintained Python framework for creating mathematical animations.
Fix incorrect typehint for Text class's color property (#2578)
Yuchened30cc906cd6
diff --git a/manim/mobject/text/text_mobject.py b/manim/mobject/text/text_mobject.pyindex a6ff4bdd1..f01a88c55 100644--- a/manim/mobject/text/text_mobject.py+++ b/manim/mobject/text/text_mobject.py@@ -406,7 +406,7 @@ class Text(SVGMobject):text: str,fill_opacity: float = 1.0,stroke_width: float = 0,- color: Color | None = None,+ color: Color | str | None = None,font_size: float = DEFAULT_FONT_SIZE,line_spacing: float = -1,font: str = "",