We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d1330f commit 4e90a77Copy full SHA for 4e90a77
manimlib/animation/composition.py
@@ -165,7 +165,7 @@ def __init__(
165
class LaggedStartMap(LaggedStart):
166
def __init__(
167
self,
168
- AnimationClass: type,
+ anim_func: Callable[[Mobject], Animation],
169
group: Mobject,
170
arg_creator: Callable[[Mobject], tuple] | None = None,
171
run_time: float = 2.0,
@@ -175,7 +175,7 @@ def __init__(
175
anim_kwargs = dict(kwargs)
176
anim_kwargs.pop("lag_ratio", None)
177
super().__init__(
178
- *(AnimationClass(submob, **anim_kwargs) for submob in group),
+ *(anim_func(submob, **anim_kwargs) for submob in group),
179
run_time=run_time,
180
lag_ratio=lag_ratio,
181
)
0 commit comments