A community-maintained Python framework for creating mathematical animations.
Deprecation of ShowCreation (#1375)
Nikhil Garuda2a279be3fd22
diff --git a/manim/animation/creation.py b/manim/animation/creation.pyindex a0b241554..1227734c2 100644--- a/manim/animation/creation.py+++ b/manim/animation/creation.py@@ -57,13 +57,12 @@ r"""Animate the display or removal of a mobject from a scene.__all__ = [- "ShowPartial",- "ShowCreation","Create","Uncreate","DrawBorderThenFill","Write","Unwrite",+ "ShowPartial","ShowIncreasingSubsets","AddTextLetterByLetter","ShowSubmobjectsOneByOne",@@ -160,19 +159,6 @@ class Create(ShowPartial):return (0, alpha)-class ShowCreation(Create):- """Deprecated. Use :class:`~.Create` instead."""-- def __init__(self, mobject: VMobject, lag_ratio: float = 1.0, **kwargs) -> None:- logger.warning(- "ShowCreation has been deprecated in favor of Create. Please use Create instead!"- )- super().__init__(mobject, lag_ratio=lag_ratio, **kwargs)-- def _get_bounds(self, alpha: float) -> Tuple[int, float]:- return (0, alpha)--class Uncreate(Create):"""Like :class:`Create` but in reverse.