A community-maintained Python framework for creating mathematical animations.
Fix doubled-word typos in docstrings and docs (#5091)
Tarankalsi504683fbba70
diff --git a/docs/source/guides/deep_dive.rst b/docs/source/guides/deep_dive.rstindex ca2bb4e00..1570b4b62 100644--- a/docs/source/guides/deep_dive.rst+++ b/docs/source/guides/deep_dive.rst@@ -799,7 +799,7 @@ which then takes care of several things:animation. The processed animations are then stored in the ``animations``attribute of the scene (which the renderer later reads...).- It adds all mobjects to which the animations that are played are- bound to to the scene (provided the animation is not an mobject-introducing+ bound to the scene (provided the animation is not an mobject-introducinganimation -- for these, the addition to the scene happens later).- In case the played animation is a :class:`.Wait` animation (this is thecase in a :meth:`.Scene.wait` call), the method checks whether a staticdiff --git a/manim/mobject/geometry/polygram.py b/manim/mobject/geometry/polygram.pyindex 252630097..fde6474bb 100644--- a/manim/mobject/geometry/polygram.py+++ b/manim/mobject/geometry/polygram.py@@ -199,12 +199,12 @@ class Polygram(VMobject, metaclass=ConvertToOpenGL):generated.The option to `evenly_distribute_anchors` is provided so that the- line segments (the part part of each line remaining after rounding+ line segments (the part of each line remaining after roundingoff the corners) can be subdivided to a density similar to that ofthe average density of the rounded corners. This may be desirablein situations in which an even distribution of curves is desiredfor use in later transformation animations. Be aware, though, that- enabling this option can result in an an object containing+ enabling this option can result in an object containingsignificantly more points than the original, especially when therounded corner curves are small.diff --git a/manim/mobject/graphing/coordinate_systems.py b/manim/mobject/graphing/coordinate_systems.pyindex 7dfe6f447..bfbe80bbc 100644--- a/manim/mobject/graphing/coordinate_systems.py+++ b/manim/mobject/graphing/coordinate_systems.py@@ -1746,7 +1746,7 @@ class CoordinateSystem:graphThe graph along which the lines are placed.x_range- A list containing the lower and and upper bounds of the lines: ``x_range = [x_min, x_max]``.+ A list containing the lower and upper bounds of the lines: ``x_range = [x_min, x_max]``.num_linesThe number of evenly spaced lines.kwargs@@ -2054,7 +2054,7 @@ class Axes(VGroup, CoordinateSystem, metaclass=ConvertToOpenGL):Parameters----------range_terms- The range of the the axis : ``(x_min, x_max, x_step)``.+ The range of the axis : ``(x_min, x_max, x_step)``.axis_configAdditional parameters that are passed to :class:`~.NumberLine`.lengthdiff --git a/manim/mobject/mobject.py b/manim/mobject/mobject.pyindex 49a55b772..a68ae33bb 100644--- a/manim/mobject/mobject.py+++ b/manim/mobject/mobject.py@@ -2170,7 +2170,7 @@ class Mobject:) -> Self:"""Condition is function which takes in one arguments, (x, y, z).Here it just recurses to submobjects, but in subclasses this- should be further implemented based on the the inner workings+ should be further implemented based on the inner workingsof color"""if family:diff --git a/manim/mobject/opengl/opengl_surface.py b/manim/mobject/opengl/opengl_surface.pyindex e7648398d..f9355216d 100644--- a/manim/mobject/opengl/opengl_surface.py+++ b/manim/mobject/opengl/opengl_surface.py@@ -71,7 +71,7 @@ class OpenGLSurface(OpenGLMobject):u_range=None,v_range=None,# Resolution counts number of points sampled, which for- # each coordinate is one more than the the number of+ # each coordinate is one more than the number of# rows/columns of approximating squaresresolution=None,axes=None,@@ -94,7 +94,7 @@ class OpenGLSurface(OpenGLMobject):self.u_range = u_range if u_range is not None else (0, 1)self.v_range = v_range if v_range is not None else (0, 1)# Resolution counts number of points sampled, which for- # each coordinate is one more than the the number of+ # each coordinate is one more than the number of# rows/columns of approximating squaresself.resolution = resolution if resolution is not None else (101, 101)self.axes = axesdiff --git a/manim/mobject/opengl/opengl_vectorized_mobject.py b/manim/mobject/opengl/opengl_vectorized_mobject.pyindex cc1756d19..6021504c1 100644--- a/manim/mobject/opengl/opengl_vectorized_mobject.py+++ b/manim/mobject/opengl/opengl_vectorized_mobject.py@@ -958,7 +958,7 @@ class OpenGLVMobject(OpenGLMobject):Parameters----------alpha- The proportion along the the path of the :class:`OpenGLVMobject`.+ The proportion along the path of the :class:`OpenGLVMobject`.Returns-------diff --git a/manim/mobject/text/text_mobject.py b/manim/mobject/text/text_mobject.pyindex 7f52aa397..62e7d8e46 100644--- a/manim/mobject/text/text_mobject.py+++ b/manim/mobject/text/text_mobject.py@@ -2,7 +2,7 @@.. note::Just as you can use :class:`~.Tex` and :class:`~.MathTex` (from the module :mod:`~.tex_mobject`)- to insert LaTeX to your videos, you can use :class:`~.Text` to to add normal text.+ to insert LaTeX to your videos, you can use :class:`~.Text` to add normal text... important::diff --git a/manim/mobject/types/vectorized_mobject.py b/manim/mobject/types/vectorized_mobject.pyindex 13781c194..700f1bf48 100644--- a/manim/mobject/types/vectorized_mobject.py+++ b/manim/mobject/types/vectorized_mobject.py@@ -1626,7 +1626,7 @@ class VMobject(Mobject):Parameters----------alpha- The proportion along the the path of the :class:`VMobject`.+ The proportion along the path of the :class:`VMobject`.Returns-------@@ -2814,7 +2814,7 @@ class CurvesAsSubmobjects(VGroup):Parameters----------alpha- The proportion along the the path of the :class:`CurvesAsSubmobjects`.+ The proportion along the path of the :class:`CurvesAsSubmobjects`.Returns-------diff --git a/manim/utils/deprecation.py b/manim/utils/deprecation.pyindex 4e90fa068..3447ca1ca 100644--- a/manim/utils/deprecation.py+++ b/manim/utils/deprecation.py@@ -27,7 +27,7 @@ def _get_callable_info(callable_: Callable[..., Any], /) -> tuple[str, str]:Returns-------Tuple[str, str]- The type and name of the callable. Type can can be one of "class", "method" (for+ The type and name of the callable. Type can be one of "class", "method" (forfunctions defined in classes) or "function"). For methods, name is Class.method."""what = type(callable_).__name__