Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Use merge_config

Grant Sandersona5d9d9e28dba
diff --git a/scene/three_d_scene.py b/scene/three_d_scene.py
index 60cd3a824..e0525f001 100644
--- a/scene/three_d_scene.py
+++ b/scene/three_d_scene.py
@@ -174,8 +174,7 @@ class SpecialThreeDScene(ThreeDScene):
return axes
def get_sphere(self, **kwargs):
- config = dict(self.sphere_config)
- config.update(kwargs)
+ config = merge_config([kwargs, self.sphere_config])
return Sphere(**config)
def get_default_camera_position(self):