mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Use merge_config
This commit is contained in:
parent
12c50f1722
commit
a5d9d9e28d
1 changed files with 1 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Reference in a new issue