Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

run black

Syrus Dark87c47979d7fd
diff --git a/manim/mobject/svg/text_mobject.py b/manim/mobject/svg/text_mobject.py
index 2bc1d47d4..46e6ddfa3 100644
--- a/manim/mobject/svg/text_mobject.py
+++ b/manim/mobject/svg/text_mobject.py
@@ -721,26 +721,26 @@ class Text(SVGMobject):
def __init__(
self,
text: str,
- fill_opacity:int=1,
- stroke_width:int=0,
- color=WHITE, # what should be this type?
- size:int=1,
- line_spacing:int=-1,
- font:str="",
+ fill_opacity: int = 1,
+ stroke_width: int = 0,
+ color=WHITE, # what should be this type?
+ size: int = 1,
+ line_spacing: int = -1,
+ font: str = "",
slant=NORMAL,
weight=NORMAL,
- t2c:Dict[str, str]=None,
- t2f:Dict[str, str]=None,
- t2g:Dict[str, tuple]=None,
- t2s:Dict[str, str]=None,
- t2w:Dict[str, str]=None,
- gradient:tuple=None,
- tab_width:int=4,
+ t2c: Dict[str, str] = None,
+ t2f: Dict[str, str] = None,
+ t2g: Dict[str, tuple] = None,
+ t2s: Dict[str, str] = None,
+ t2w: Dict[str, str] = None,
+ gradient: tuple = None,
+ tab_width: int = 4,
# Mobject
- height:int=None,
- width:int=None,
- should_center:bool=True,
- unpack_groups:bool=True,
+ height: int = None,
+ width: int = None,
+ should_center: bool = True,
+ unpack_groups: bool = True,
disable_ligatures: bool = False,
**kwargs,
):