mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Reformat
This commit is contained in:
parent
3cc9bf7052
commit
40b651d661
1 changed files with 5 additions and 1 deletions
|
@ -204,7 +204,11 @@ class TexMobject(SingleStringTexMobject):
|
||||||
else:
|
else:
|
||||||
return tex1 == tex2
|
return tex1 == tex2
|
||||||
|
|
||||||
return VGroup(*[m for m in self.submobjects if test(tex, m.get_tex_string())])
|
return VGroup(*[
|
||||||
|
m
|
||||||
|
for m in self.submobjects
|
||||||
|
if isinstance(m, SingleStringTexMobject) and test(tex, m.get_tex_string())
|
||||||
|
])
|
||||||
|
|
||||||
def get_part_by_tex(self, tex, **kwargs):
|
def get_part_by_tex(self, tex, **kwargs):
|
||||||
all_parts = self.get_parts_by_tex(tex, **kwargs)
|
all_parts = self.get_parts_by_tex(tex, **kwargs)
|
||||||
|
|
Loading…
Add table
Reference in a new issue