Skip to content

Commit

Permalink
Ensure Brace.get_tex uses buff key word arg
Browse files Browse the repository at this point in the history
  • Loading branch information
3b1b committed Feb 21, 2024
1 parent 5632fee commit 712fa30
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions manimlib/mobject/svg/brace.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,9 @@ def get_text(self, text: str, **kwargs) -> Text:
return text_mob

def get_tex(self, *tex: str, **kwargs) -> Tex:
tex_mob = Tex(*tex)
self.put_at_tip(tex_mob, **kwargs)
buff = kwargs.pop("buff", SMALL_BUFF)
tex_mob = Tex(*tex, **kwargs)
self.put_at_tip(tex_mob, buff=buff)
return tex_mob

def get_tip(self) -> np.ndarray:
Expand Down

0 comments on commit 712fa30

Please sign in to comment.