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 return axes
def get_sphere(self, **kwargs): def get_sphere(self, **kwargs):
config = dict(self.sphere_config) config = merge_config([kwargs, self.sphere_config])
config.update(kwargs)
return Sphere(**config) return Sphere(**config)
def get_default_camera_position(self): def get_default_camera_position(self):