Skip to content

Commit aba9b44

Browse files
committed
Change type annotation.
1 parent 4c1e737 commit aba9b44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manim/mobject/svg/brace.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from manim.mobject.mobject import Mobject
1717
from manim.mobject.opengl.opengl_compatibility import ConvertToOpenGL
1818
from manim.mobject.text.tex_mobject import MathTex, Tex
19+
from manim.mobject.text.text_mobject import Text
1920

2021
from ...animation.composition import AnimationGroup
2122
from ...animation.fading import FadeIn
@@ -280,7 +281,7 @@ def change_brace_label(self, obj, *text, **kwargs):
280281

281282

282283
class BraceText(BraceLabel):
283-
def __init__(self, obj, text, label_constructor=Tex, **kwargs):
284+
def __init__(self, obj, text, label_constructor=Text, **kwargs):
284285
super().__init__(obj, text, label_constructor=label_constructor, **kwargs)
285286

286287

0 commit comments

Comments
 (0)