A community-maintained Python framework for creating mathematical animations.
Change VMobject._bezier_t_values typehint to ndarray of np.float64 (#4675)
GoThrones90141df1050b
diff --git a/manim/mobject/types/vectorized_mobject.py b/manim/mobject/types/vectorized_mobject.pyindex 19cb14d59..d32bd3973 100644--- a/manim/mobject/types/vectorized_mobject.py+++ b/manim/mobject/types/vectorized_mobject.py@@ -155,7 +155,7 @@ class VMobject(Mobject):self.shade_in_3d: bool = shade_in_3dself.tolerance_for_point_equality: float = tolerance_for_point_equalityself.n_points_per_cubic_curve: int = n_points_per_cubic_curve- self._bezier_t_values: npt.NDArray[float] = np.linspace(+ self._bezier_t_values: npt.NDArray[np.float64] = np.linspace(0, 1, n_points_per_cubic_curve)self.cap_style: CapStyleType = cap_style