@@ -31,7 +31,6 @@ def construct(self):
3131 "Flash" ,
3232 "ShowPassingFlash" ,
3333 "ShowPassingFlashWithThinningStrokeWidth" ,
34- "ShowCreationThenFadeOut" ,
3534 "ApplyWave" ,
3635 "Circumscribe" ,
3736 "Wiggle" ,
@@ -148,7 +147,7 @@ def construct(self):
148147
149148 def __init__ (
150149 self ,
151- mobject : " Mobject" ,
150+ mobject : Mobject ,
152151 scale_factor : float = 1.2 ,
153152 color : str = YELLOW ,
154153 rate_func : Callable [[float , Optional [float ]], np .ndarray ] = there_and_back ,
@@ -158,7 +157,7 @@ def __init__(
158157 self .scale_factor = scale_factor
159158 super ().__init__ (mobject , rate_func = rate_func , ** kwargs )
160159
161- def create_target (self ) -> " Mobject" :
160+ def create_target (self ) -> Mobject :
162161 target = self .mobject .copy ()
163162 target .scale (self .scale_factor )
164163 target .set_color (self .color )
@@ -342,16 +341,6 @@ def __init__(self, vmobject, n_segments=10, time_width=0.1, remover=True, **kwar
342341 )
343342
344343
345- @deprecated (
346- since = "v0.15.0" ,
347- until = "v0.16.0" ,
348- message = "Use Create then FadeOut to achieve this effect." ,
349- )
350- class ShowCreationThenFadeOut (Succession ):
351- def __init__ (self , mobject : "Mobject" , remover : bool = True , ** kwargs ) -> None :
352- super ().__init__ (Create (mobject ), FadeOut (mobject ), remover = remover , ** kwargs )
353-
354-
355344class ApplyWave (Homotopy ):
356345 """Send a wave through the Mobject distorting it temporarily.
357346
@@ -397,7 +386,7 @@ def construct(self):
397386
398387 def __init__ (
399388 self ,
400- mobject : " Mobject" ,
389+ mobject : Mobject ,
401390 direction : np .ndarray = UP ,
402391 amplitude : float = 0.2 ,
403392 wave_func : Callable [[float ], float ] = smooth ,
@@ -516,7 +505,7 @@ def construct(self):
516505
517506 def __init__ (
518507 self ,
519- mobject : " Mobject" ,
508+ mobject : Mobject ,
520509 scale_value : float = 1.1 ,
521510 rotation_angle : float = 0.01 * TAU ,
522511 n_wiggles : int = 6 ,
@@ -544,8 +533,8 @@ def get_rotate_about_point(self) -> np.ndarray:
544533
545534 def interpolate_submobject (
546535 self ,
547- submobject : " Mobject" ,
548- starting_submobject : " Mobject" ,
536+ submobject : Mobject ,
537+ starting_submobject : Mobject ,
549538 alpha : float ,
550539 ) -> None :
551540 submobject .points [:, :] = starting_submobject .points
0 commit comments