Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Remove Deprecated Methods (#2568)

ad_chaosb9694214c715
diff --git a/manim/mobject/three_dimensions.py b/manim/mobject/three_dimensions.py
index b8ffb4ad1..4b05e4370 100644
--- a/manim/mobject/three_dimensions.py
+++ b/manim/mobject/three_dimensions.py
@@ -5,7 +5,6 @@ from __future__ import annotations
__all__ = [
"ThreeDVMobject",
"Surface",
- "ParametricSurface",
"Sphere",
"Dot3D",
"Cube",
@@ -32,7 +31,6 @@ from ..mobject.mobject import *
from ..mobject.opengl_mobject import OpenGLMobject
from ..mobject.types.vectorized_mobject import VGroup, VMobject
from ..utils.color import *
-from ..utils.deprecation import deprecated
from ..utils.iterables import tuplify
from ..utils.space_ops import normalize, perpendicular_bisector, z_to_vector
@@ -259,12 +257,6 @@ class Surface(VGroup, metaclass=ConvertToOpenGL):
return self
-@deprecated(since="v0.10.0", replacement=Surface)
-class ParametricSurface(Surface):
- # shifts inheritance from Surface/OpenGLSurface depending on the renderer.
- """Creates a parametric surface"""
-
-
# Specific shapes
diff --git a/manim/mobject/types/vectorized_mobject.py b/manim/mobject/types/vectorized_mobject.py
index 515181df6..4f052fbe2 100644
--- a/manim/mobject/types/vectorized_mobject.py
+++ b/manim/mobject/types/vectorized_mobject.py
@@ -589,10 +589,6 @@ class VMobject(Mobject):
self.points = np.array(points)
return self
- @deprecated(since="0.11.0", replacement="self.points")
- def get_points(self):
- return np.array(self.points)
-
def set_anchors_and_handles(
self,
anchors1: Sequence[float],