Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Merge branch 'master' into master

Grant Sandersonbc23fbc3426a
diff --cc animation/simple_animations.py
index 411520c59,c151a3268..f50d47c68
--- a/animation/simple_animations.py
+++ b/animation/simple_animations.py
@@@ -461,8 -483,6 +483,6 @@@ class AnimationGroup(Animation)
for anim in self.sub_anims:
anim.update(alpha)
- def clean_up(self, surrounding_scene = None):
- if surrounding_scene is not None:
- surrounding_scene.mobjects.remove(self.everything)
+ def clean_up(self, *args, **kwargs):
for anim in self.sub_anims:
- anim.clean_up(surrounding_scene = surrounding_scene)
- anim.clean_up(*args, **kwargs)
++ anim.clean_up(*args, **kwargs)