Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

fix handling of background color flag

leotrsd5b81714d6d3
diff --git a/manim/camera/camera.py b/manim/camera/camera.py
index c4fa3c00d..d5c265464 100644
--- a/manim/camera/camera.py
+++ b/manim/camera/camera.py
@@ -52,7 +52,6 @@ class Camera(object):
# Note: frame height and width will be resized to match
# the pixel aspect ratio
"frame_center": ORIGIN,
- "background_color": BLACK,
"background_opacity": 1,
# Points in vectorized mobjects with norm greater
# than this value will be rescaled.
diff --git a/manim/config/utils.py b/manim/config/utils.py
index e1fa020a7..b0b338815 100644
--- a/manim/config/utils.py
+++ b/manim/config/utils.py
@@ -305,7 +305,7 @@ class ManimConfig(MutableMapping):
"transparent",
"scene_names",
"verbosity",
-
+ "background_color",
]:
if hasattr(args, key):
attr = getattr(args, key)