A community-maintained Python framework for creating mathematical animations.
Allow videos to be embedded in Google Colab without explicitly setting config.media_embed = True (#3974)
Larry Skusea395ffd69813
diff --git a/manim/utils/ipython_magic.py b/manim/utils/ipython_magic.pyindex 601d4d6f8..1b6c7b316 100644--- a/manim/utils/ipython_magic.py+++ b/manim/utils/ipython_magic.py@@ -168,7 +168,7 @@ else:file_type = mimetypes.guess_type(config["output_file"])[0]embed = config["media_embed"]- if embed is None:+ if not embed:# videos need to be embedded when running in google colab.# do this automatically in case config.media_embed has not been# set explicitly.