Sure, I *could* separate all these updates into separate reasonable commits, but where's the fun in that?

This commit is contained in:
Grant Sanderson
2017-02-16 13:03:26 -08:00
parent 0c1bb9d41e
commit 3535b39dd1
10 changed files with 1280 additions and 39 deletions

View File

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