Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

fix(docs): remove redundant backslash escaping in raw docstrings (#5063)

Explore Maths622520d34190
diff --git a/manim/mobject/geometry/line.py b/manim/mobject/geometry/line.py
index b085cdb5a..4481331e4 100644
--- a/manim/mobject/geometry/line.py
+++ b/manim/mobject/geometry/line.py
@@ -1151,7 +1151,7 @@ class Angle(VMobject, metaclass=ConvertToOpenGL):
) -> Angle:
r"""The angle between the lines AB and BC.
- This constructs the angle :math:`\\angle ABC`.
+ This constructs the angle :math:`\angle ABC`.
Parameters
----------
diff --git a/manim/utils/tex_file_writing.py b/manim/utils/tex_file_writing.py
index 6a3765feb..bdd3813d1 100644
--- a/manim/utils/tex_file_writing.py
+++ b/manim/utils/tex_file_writing.py
@@ -42,7 +42,7 @@ def tex_to_svg_file(
Parameters
----------
expression
- String containing the TeX expression to be rendered, e.g. ``\\sqrt{2}`` or ``foo``
+ String containing the TeX expression to be rendered, e.g. ``\sqrt{2}`` or ``foo``
environment
The string containing the environment in which the expression should be typeset, e.g. ``align*``
tex_template
@@ -84,7 +84,7 @@ def generate_tex_file(
Parameters
----------
expression
- String containing the TeX expression to be rendered, e.g. ``\\sqrt{2}`` or ``foo``
+ String containing the TeX expression to be rendered, e.g. ``\sqrt{2}`` or ``foo``
environment
The string containing the environment in which the expression should be typeset, e.g. ``align*``
tex_template