Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

changed the default logger of PIL and matplotlib to INFO level

kolibril13416b5956ae18
diff --git a/manim/logger.py b/manim/logger.py
index c83745b4a..7974a22e7 100644
--- a/manim/logger.py
+++ b/manim/logger.py
@@ -89,3 +89,7 @@ logging.basicConfig(
)
logger = logging.getLogger("rich")
+
+# TODO : This is only temporary to keep the terminal output clean when working with ImageMobject and matplotlib plots
+logging.getLogger("PIL").setLevel(logging.INFO)
+logging.getLogger("matplotlib").setLevel(logging.INFO)