A community-maintained Python framework for creating mathematical animations.
remove all deprecated until="v0.6.0" functions (#1616)
Jan-Hendrik Müllere85599e98294
diff --git a/manim/animation/animation.py b/manim/animation/animation.pyindex 43867651d..9fee0d32a 100644--- a/manim/animation/animation.py+++ b/manim/animation/animation.py@@ -278,10 +278,6 @@ class Animation:alpha = min(max(alpha, 0), 1)self.interpolate_mobject(self.rate_func(alpha))- @deprecated(until="v0.6.0", replacement="interpolate")- def update(self, alpha: float) -> None:- self.interpolate(alpha)-def interpolate_mobject(self, alpha: float) -> None:families = list(self.get_all_families_zipped())for i, mobs in enumerate(families):diff --git a/manim/mobject/opengl_geometry.py b/manim/mobject/opengl_geometry.pyindex 526f94232..1477d90fb 100644--- a/manim/mobject/opengl_geometry.py+++ b/manim/mobject/opengl_geometry.py@@ -329,13 +329,6 @@ class OpenGLDot(OpenGLCircle):)-@deprecated(until="v0.6.0", replacement="OpenGLDot")-class OpenGLSmallDot(OpenGLDot):- def __init__(self, radius=DEFAULT_SMALL_DOT_RADIUS, **kwargs):-- super().__init__(radius=radius, **kwargs)--class OpenGLEllipse(OpenGLCircle):def __init__(self, width=2, height=1, **kwargs):super().__init__(**kwargs)diff --git a/manim/utils/debug.py b/manim/utils/debug.pyindex 2451db64e..2938c205f 100644--- a/manim/utils/debug.py+++ b/manim/utils/debug.py@@ -1,7 +1,7 @@"""Debugging utilities."""-__all__ = ["print_family", "index_labels", "get_submobject_index_labels"]+__all__ = ["print_family", "index_labels"]from os import replace@@ -28,8 +28,3 @@ def index_labels(mobject, label_height=0.15):label.set_stroke(BLACK, 5, background=True)labels.add(label)return labels---@deprecated(until="v0.6.0", replacement="index_labels")-def get_submobject_index_labels(mobject, label_height=0.15):- return index_labels(mobject, label_height)