Skip to content

Commit cefd2ae

Browse files
authored
add type for colour
1 parent 87c4797 commit cefd2ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

manim/mobject/svg/text_mobject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ def __init__(
723723
text: str,
724724
fill_opacity: int = 1,
725725
stroke_width: int = 0,
726-
color=WHITE, # what should be this type?
726+
color: str = WHITE,
727727
size: int = 1,
728728
line_spacing: int = -1,
729729
font: str = "",

0 commit comments

Comments
 (0)