SingleVariableCostFunction in nn/part2

This commit is contained in:
Grant Sanderson
2017-10-10 13:48:13 -07:00
parent cc1767718c
commit fd59591000
4 changed files with 964 additions and 4314 deletions

View File

@ -59,7 +59,8 @@ class Transform(Animation):
Animation.clean_up(self, surrounding_scene)
if self.replace_mobject_with_target_in_scene and surrounding_scene is not None:
surrounding_scene.remove(self.mobject)
surrounding_scene.add(self.original_target_mobject)
if not self.remover:
surrounding_scene.add(self.original_target_mobject)
class ReplacementTransform(Transform):
CONFIG = {