A community-maintained Python framework for creating mathematical animations.
extend typehint in Axes.coords_to_point to indicate float coordinates are accepted (#3022)
vahndi594274ab9744
diff --git a/manim/mobject/graphing/coordinate_systems.py b/manim/mobject/graphing/coordinate_systems.pyindex 80f88b94c..703d879d7 100644--- a/manim/mobject/graphing/coordinate_systems.py+++ b/manim/mobject/graphing/coordinate_systems.py@@ -1966,7 +1966,7 @@ class Axes(VGroup, CoordinateSystem, metaclass=ConvertToOpenGL):return axisdef coords_to_point(- self, *coords: Sequence[float] | Sequence[Sequence[float]] | np.ndarray+ self, *coords: float | Sequence[float] | Sequence[Sequence[float]] | np.ndarray) -> np.ndarray:"""Accepts coordinates from the axes and returns a point with respect to the scene.