A community-maintained Python framework for creating mathematical animations.
fixed unit color bug
Ben Hambrecht5f7810db832a
diff --git a/mobject/numbers.py b/mobject/numbers.pyindex 1e8d84f20..118289f70 100644--- a/mobject/numbers.py+++ b/mobject/numbers.py@@ -51,7 +51,7 @@ class DecimalNumber(VMobject):)if self.unit is not None:- self.unit_sign = TexMobject(self.unit)+ self.unit_sign = TexMobject(self.unit, color = self.color)self.add(self.unit_sign)self.arrange_submobjects(