@@ -148,7 +148,7 @@ def construct(self):
148
148
149
149
def __init__ (
150
150
self ,
151
- mobject : " Mobject" ,
151
+ mobject : Mobject ,
152
152
scale_factor : float = 1.2 ,
153
153
color : str = YELLOW ,
154
154
rate_func : Callable [[float , Optional [float ]], np .ndarray ] = there_and_back ,
@@ -158,7 +158,7 @@ def __init__(
158
158
self .scale_factor = scale_factor
159
159
super ().__init__ (mobject , rate_func = rate_func , ** kwargs )
160
160
161
- def create_target (self ) -> " Mobject" :
161
+ def create_target (self ) -> Mobject :
162
162
target = self .mobject .copy ()
163
163
target .scale (self .scale_factor )
164
164
target .set_color (self .color )
@@ -348,7 +348,7 @@ def __init__(self, vmobject, n_segments=10, time_width=0.1, remover=True, **kwar
348
348
message = "Use Create then FadeOut to achieve this effect." ,
349
349
)
350
350
class ShowCreationThenFadeOut (Succession ):
351
- def __init__ (self , mobject : " Mobject" , remover : bool = True , ** kwargs ) -> None :
351
+ def __init__ (self , mobject : Mobject , remover : bool = True , ** kwargs ) -> None :
352
352
super ().__init__ (Create (mobject ), FadeOut (mobject ), remover = remover , ** kwargs )
353
353
354
354
@@ -397,7 +397,7 @@ def construct(self):
397
397
398
398
def __init__ (
399
399
self ,
400
- mobject : " Mobject" ,
400
+ mobject : Mobject ,
401
401
direction : np .ndarray = UP ,
402
402
amplitude : float = 0.2 ,
403
403
wave_func : Callable [[float ], float ] = smooth ,
@@ -516,7 +516,7 @@ def construct(self):
516
516
517
517
def __init__ (
518
518
self ,
519
- mobject : " Mobject" ,
519
+ mobject : Mobject ,
520
520
scale_value : float = 1.1 ,
521
521
rotation_angle : float = 0.01 * TAU ,
522
522
n_wiggles : int = 6 ,
@@ -544,8 +544,8 @@ def get_rotate_about_point(self) -> np.ndarray:
544
544
545
545
def interpolate_submobject (
546
546
self ,
547
- submobject : " Mobject" ,
548
- starting_submobject : " Mobject" ,
547
+ submobject : Mobject ,
548
+ starting_submobject : Mobject ,
549
549
alpha : float ,
550
550
) -> None :
551
551
submobject .points [:, :] = starting_submobject .points
0 commit comments