A community-maintained Python framework for creating mathematical animations.
some docstrings
Aron Fischerbfcd0d01bb79
diff --git a/manim/utils/tex.py b/manim/utils/tex.pyindex 3fe7845e8..087cc5b5a 100644--- a/manim/utils/tex.py+++ b/manim/utils/tex.py@@ -80,7 +80,7 @@ class TexTemplate:self._rebuild()def _rebuild(self):- """ Assembles a fully formed tex document (documentclass, preamble, body ...) and stores it as self.body """+ """Rebuilds the entire TeX template text from ``\\documentclass`` to ``\\end{document}`` according to all settings and choices."""self.body = (self.documentclass+ "\n"@@ -133,7 +133,7 @@ class TexTemplate:Returns-------:class:`str`- LaTeX code based on template, containing the given expression and ready for typesetting+ LaTeX code based on current template, containing the given ``expression`` and ready for typesetting"""return self.body.replace(self.placeholder_text, expression)diff --git a/manim/utils/tex_templates.py b/manim/utils/tex_templates.pyindex 6df6542d1..1c509168c 100644--- a/manim/utils/tex_templates.py+++ b/manim/utils/tex_templates.py@@ -12,7 +12,7 @@ from .tex import *def _new_ams_template():- # Returns a simple Tex Template with only basic AMS packages+ """ Returns a simple Tex Template with only basic AMS packages """preamble = r"""\usepackage[english]{babel}\usepackage{amsmath}