Added kwargs to match_width, etc. methods

This commit is contained in:
Grant Sanderson
2018-01-25 23:50:52 -08:00
parent 3e34c29509
commit 5d811d2e81

View File

@ -454,14 +454,14 @@ class Mobject(object):
**kwargs
)
def match_width(self, mobject):
return self.match_dim(mobject, 0)
def match_width(self, mobject, **kwargs):
return self.match_dim(mobject, 0, **kwargs)
def match_height(self, mobject):
return self.match_dim(mobject, 1)
def match_height(self, mobject, **kwargs):
return self.match_dim(mobject, 1, **kwargs)
def match_depth(self, mobject):
return self.match_dim(mobject, 2)
def match_depth(self, mobject, **kwargs):
return self.match_dim(mobject, 2, **kwargs)
## Color functions