Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fixed bug with displaying images in Jupyter notebooks (#2593)

Benjamin Hacklf23db3ded1c3
diff --git a/manim/utils/ipython_magic.py b/manim/utils/ipython_magic.py
index 82b5a5398..61caf706b 100644
--- a/manim/utils/ipython_magic.py
+++ b/manim/utils/ipython_magic.py
@@ -181,7 +181,7 @@ else:
embed = "google.colab" in str(get_ipython())
if file_type.startswith("image"):
- result = Image(filename=config["output_file"], embed=embed)
+ result = Image(filename=config["output_file"])
else:
result = Video(
tmpfile,