mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Add DecimalNumber.get_tex
This commit is contained in:
parent
cd866573b5
commit
48689c8c7b
1 changed files with 3 additions and 0 deletions
|
@ -132,6 +132,9 @@ class DecimalNumber(VMobject):
|
|||
"i"
|
||||
])
|
||||
|
||||
def get_tex(self):
|
||||
return self.num_string
|
||||
|
||||
def set_value(self, number: float | complex):
|
||||
move_to_point = self.get_edge_center(self.edge_to_fix)
|
||||
old_submobjects = list(self.submobjects)
|
||||
|
|
Loading…
Add table
Reference in a new issue