Finished general L'Hoptital example of eoc7

This commit is contained in:
Grant Sanderson
2017-03-28 17:22:39 -07:00
parent 2d191354b6
commit 7452486ddf
5 changed files with 684 additions and 218 deletions

View File

@ -137,7 +137,8 @@ class ApplyMethod(Transform):
)
assert(isinstance(method.im_self, Mobject))
method_kwargs = kwargs.get("method_kwargs", {})
target = copy.deepcopy(method)(*args, **method_kwargs)
target = method.im_self.copy()
method.im_func(target, *args, **method_kwargs)
Transform.__init__(self, method.im_self, target, **kwargs)