mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Small formatting change
This commit is contained in:
parent
3a1e5e1bcf
commit
7fa01d5de8
1 changed files with 2 additions and 2 deletions
|
@ -1032,8 +1032,8 @@ class VGroup(VMobject):
|
||||||
raise Exception("All submobjects must be of type VMobject")
|
raise Exception("All submobjects must be of type VMobject")
|
||||||
super().__init__(**kwargs)
|
super().__init__(**kwargs)
|
||||||
self.add(*vmobjects)
|
self.add(*vmobjects)
|
||||||
|
|
||||||
def __add__(self:'VGroup', other : 'VMobject' or 'VGroup'):
|
def __add__(self: 'VGroup', other: 'VMobject' or 'VGroup'):
|
||||||
assert(isinstance(other, VMobject))
|
assert(isinstance(other, VMobject))
|
||||||
return self.add(other)
|
return self.add(other)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue