mirror of
https://github.com/3b1b/manim.git
synced 2025-08-31 22:38:37 +00:00
Remove SingleStringTex
This commit is contained in:
parent
41c6cbcb59
commit
da1cc44d90
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
|||
from manimlib.constants import *
|
||||
from manimlib.mobject.svg.tex_mobject import SingleStringTex
|
||||
from manimlib.mobject.svg.tex_mobject import Tex
|
||||
from manimlib.mobject.svg.text_mobject import Text
|
||||
from manimlib.mobject.types.vectorized_mobject import VMobject
|
||||
|
||||
|
@ -40,7 +40,7 @@ class DecimalNumber(VMobject):
|
|||
dots.arrange(RIGHT, buff=2 * dots[0].get_width())
|
||||
self.add(dots)
|
||||
if self.unit is not None:
|
||||
self.unit_sign = self.string_to_mob(self.unit, SingleStringTex)
|
||||
self.unit_sign = self.string_to_mob(self.unit, Tex)
|
||||
self.add(self.unit_sign)
|
||||
|
||||
self.arrange(
|
||||
|
|
Loading…
Add table
Reference in a new issue