A community-maintained Python framework for creating mathematical animations.
use the same opacity to init the super class obj of DecimalNumber (#4291)
Ishu Bansal23a2df1e5a7e
diff --git a/manim/mobject/text/numbers.py b/manim/mobject/text/numbers.pyindex 1c74cf5f0..23b123257 100644--- a/manim/mobject/text/numbers.py+++ b/manim/mobject/text/numbers.py@@ -100,7 +100,7 @@ class DecimalNumber(VMobject, metaclass=ConvertToOpenGL):fill_opacity: float = 1.0,**kwargs,):- super().__init__(**kwargs, stroke_width=stroke_width)+ super().__init__(**kwargs, fill_opacity=fill_opacity, stroke_width=stroke_width)self.number = numberself.num_decimal_places = num_decimal_placesself.include_sign = include_sign