Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Tiny bug fix

Grant Sanderson289d822a9250
diff --git a/mobject/numbers.py b/mobject/numbers.py
index 1b90d352c..e7724f456 100644
--- a/mobject/numbers.py
+++ b/mobject/numbers.py
@@ -117,6 +117,7 @@ class DecimalNumber(VMobject):
# of animated mobjects
mob.points[:] = 0
self.number = number
+ return self
def get_value(self):
return self.number