Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Merge branch 'master' into lighthouse

Grant Sanderson6eee427c5e9c
diff --cc topics/numerals.py
index d36018397,18b18b2e4..10f7c51cd
--- a/topics/numerals.py
+++ b/topics/numerals.py
@@@ -26,8 -26,9 +26,10 @@@ class DecimalNumber(VMobject)
if self.show_ellipsis:
self.add(TexMobject("\\dots"))
+
-
+ if self.unit is not None:
+ self.add(TexMobject(self.unit))
+
self.arrange_submobjects(
buff = self.digit_to_digit_buff,
aligned_edge = DOWN