mirror of
https://github.com/3b1b/manim.git
synced 2025-11-15 05:17:47 +00:00
add tips for embed mode
This commit is contained in:
parent
f626a1a1e2
commit
fbccb1ebf3
1 changed files with 2 additions and 0 deletions
|
|
@ -130,6 +130,8 @@ and the mouse to interact with the scene. Just press `q` if you want to quit.")
|
|||
local_ns["touch"] = self.interact
|
||||
for term in ("play", "wait", "add", "remove", "clear", "save_state", "restore"):
|
||||
local_ns[term] = getattr(self, term)
|
||||
print("Tips: Now the embed iPython terminal is open. But you can't interact with \
|
||||
the window directly. To do so, you need to type `touch()` or `self.interact()`")
|
||||
shell(local_ns=local_ns, stack_depth=2)
|
||||
# End scene when exiting an embed.
|
||||
raise EndSceneEarlyException()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue