A community-maintained Python framework for creating mathematical animations.
Deprecated 'ShowCreationThenFadeOut' (#2457)
Eshaan Naga Venkatae2423e5b0da3
diff --git a/manim/animation/indication.py b/manim/animation/indication.pyindex 1eeb5ed8f..47d3ae174 100644--- a/manim/animation/indication.py+++ b/manim/animation/indication.py@@ -56,6 +56,7 @@ from ..mobject.shape_matchers import SurroundingRectanglefrom ..mobject.types.vectorized_mobject import VGroup, VMobjectfrom ..utils.bezier import interpolate, inverse_interpolatefrom ..utils.color import GREY, YELLOW+from ..utils.deprecation import deprecatedfrom ..utils.rate_functions import smooth, there_and_back, wigglefrom ..utils.space_ops import normalize@@ -342,6 +343,11 @@ class ShowPassingFlashWithThinningStrokeWidth(AnimationGroup):# Remove?# Deprecate?# Keep and add docs?+@deprecated(+ since="v0.15.0",+ until="v0.16.0",+ message="Use Create then FadeOut to achieve this effect.",+)class ShowCreationThenFadeOut(Succession):def __init__(self, mobject: "Mobject", remover: bool = True, **kwargs) -> None:super().__init__(Create(mobject), FadeOut(mobject), remover=remover, **kwargs)