Use merge_config

This commit is contained in:
Grant Sanderson 2018-11-29 17:30:01 -08:00
parent 12c50f1722
commit a5d9d9e28d

View file

@ -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):