Elteoremadebeethoven/AnimationsWithManim

type object 'Animation' has no attribute 'mobject'

Closed this issue · 1 comments

windows 10 64bit python3.7.2 manimlib-0.1.10

when I tpye the code in update_successions/update_successions.py
class SuccessionExample1(Scene):
there is an error when run this class in Succession(Animation, Mobject(), {"run_time": 2.1},
AttributeError: type object 'Animation' has no attribute 'mobject'
I dont know why

class SuccessionExample1Fail(Scene):
...
self.play(
ShowCreationThenDestruction(dashed_line, submobject_mode="lagged_start", run_time=5),
Succession(Animation, Mobject(), {"run_time": 2.1},
Write, text)
)

thank you for your time

You are using the most recent version, so, you have to use this.