From 521e3ef1432d5db239272380c17ed0c8d9c7ceb4 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Wed, 3 Feb 2021 14:19:20 -0800 Subject: [PATCH] Include wait in the embed shortcut commends --- manimlib/scene/scene.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manimlib/scene/scene.py b/manimlib/scene/scene.py index d82a4539..1f4e4926 100644 --- a/manimlib/scene/scene.py +++ b/manimlib/scene/scene.py @@ -125,7 +125,7 @@ class Scene(object): # once embeded, and add a few custom shortcuts local_ns = inspect.currentframe().f_back.f_locals local_ns["touch"] = self.interact - for term in ("play", "add", "remove", "clear", "save_state", "restore"): + for term in ("play", "wait", "add", "remove", "clear", "save_state", "restore"): local_ns[term] = getattr(self, term) shell(local_ns=local_ns, stack_depth=2) # End scene when exiting an embed.