Add DecimalNumber.get_tex

This commit is contained in:
Grant Sanderson 2022-05-11 12:45:27 -07:00
parent cd866573b5
commit 48689c8c7b

View file

@ -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)