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 **kwargs
) )
def match_width(self, mobject): def match_width(self, mobject, **kwargs):
return self.match_dim(mobject, 0) return self.match_dim(mobject, 0, **kwargs)
def match_height(self, mobject): def match_height(self, mobject, **kwargs):
return self.match_dim(mobject, 1) return self.match_dim(mobject, 1, **kwargs)
def match_depth(self, mobject): def match_depth(self, mobject, **kwargs):
return self.match_dim(mobject, 2) return self.match_dim(mobject, 2, **kwargs)
## Color functions ## Color functions