mirror of
https://github.com/3b1b/manim.git
synced 2025-07-30 13:34:19 +08:00
Sure, I *could* separate all these updates into separate reasonable commits, but where's the fun in that?
This commit is contained in:
@ -310,7 +310,7 @@ class Mobject(object):
|
||||
def scale_to_fit_height(self, height):
|
||||
return self.stretch_to_fit(height, 1, stretch = False)
|
||||
|
||||
def space_out_submobjects(self, factor = 1.5):
|
||||
def space_out_submobjects(self, factor = 1.5, **kwargs):
|
||||
self.scale_in_place(factor)
|
||||
for submob in self.submobjects:
|
||||
submob.scale_in_place(1./factor)
|
||||
|
Reference in New Issue
Block a user