Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Update manim/mobject/numbers.py

Nilay0947940cdeb1
diff --git a/manim/mobject/numbers.py b/manim/mobject/numbers.py
index 2c9b17829..4a2b1d918 100644
--- a/manim/mobject/numbers.py
+++ b/manim/mobject/numbers.py
@@ -157,7 +157,7 @@ class Variable(VMobject):
----------
var : Union[:class:`int`, :class:`float`]
The python variable you need to keep track of and display.
- label : Union[:class:`str`, :class:`~.Tex`, :class:`~.MathTex`, :class:`Text`, :class:`TexSymbol`, :class:`SingleStringMathTex`, :class:`MathTexFromPresetString`]
+ label : Union[:class:`str`, :class:`~.Tex`, :class:`~.MathTex`, :class:`~.Text`, :class:`~.TexSymbol`, :class:`~.SingleStringMathTex`, :class:`~.MathTexFromPresetString`]
The label for your variable, for example ``x = ...``. To use math mode, for e.g.
subscripts, superscripts, etc. simply pass in a raw string.
var_type : Union[:class:`DecimalNumber`, :class:`Integer`], optional