diff --git a/manimlib/scene/scene.py b/manimlib/scene/scene.py index bd1b7be7..5c008f93 100644 --- a/manimlib/scene/scene.py +++ b/manimlib/scene/scene.py @@ -1,12 +1,12 @@ from __future__ import annotations from collections import OrderedDict -import os import platform import random import time from functools import wraps +from IPython.core.getipython import get_ipython from pyglet.window import key as PygletWindowKeys import numpy as np diff --git a/manimlib/scene/scene_embed.py b/manimlib/scene/scene_embed.py index ff507dfd..41b2d7b7 100644 --- a/manimlib/scene/scene_embed.py +++ b/manimlib/scene/scene_embed.py @@ -1,7 +1,8 @@ import inspect import pyperclip -import re +import os +from IPython.core.getipython import get_ipython from IPython.terminal import pt_inputhooks from IPython.terminal.embed import InteractiveShellEmbed