mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 05:17:44 +00:00
Fix to Matrix
This commit is contained in:
parent
4ec63f22ee
commit
5c79d80187
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ class Matrix(VMobject):
|
||||||
return self
|
return self
|
||||||
|
|
||||||
def add_brackets(self):
|
def add_brackets(self):
|
||||||
bracket_pair = TexMobject("\\big[ \\big]")
|
bracket_pair = TexMobject("\\big[", "\\big]")
|
||||||
bracket_pair.scale(2)
|
bracket_pair.scale(2)
|
||||||
bracket_pair.stretch_to_fit_height(self.get_height() + 0.5)
|
bracket_pair.stretch_to_fit_height(self.get_height() + 0.5)
|
||||||
l_bracket, r_bracket = bracket_pair.split()
|
l_bracket, r_bracket = bracket_pair.split()
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue