mirror of
https://github.com/3b1b/manim.git
synced 2025-04-13 09:47:07 +00:00
Change default h_buff on Matrix
This commit is contained in:
parent
c062592684
commit
9ef14c7260
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ class OpeningManimExample(Scene):
|
|||
matrix = [[1, 1], [0, 1]]
|
||||
linear_transform_words = VGroup(
|
||||
Text("This is what the matrix"),
|
||||
IntegerMatrix(matrix, include_background_rectangle=True, h_buff=1.0),
|
||||
IntegerMatrix(matrix, include_background_rectangle=True),
|
||||
Text("looks like")
|
||||
)
|
||||
linear_transform_words.arrange(RIGHT)
|
||||
|
|
|
@ -76,7 +76,7 @@ class Matrix(VMobject):
|
|||
self,
|
||||
matrix: Sequence[Sequence[str | float | VMobject]],
|
||||
v_buff: float = 0.8,
|
||||
h_buff: float = 1.3,
|
||||
h_buff: float = 1.0,
|
||||
bracket_h_buff: float = 0.2,
|
||||
bracket_v_buff: float = 0.25,
|
||||
add_background_rectangles_to_entries: bool = False,
|
||||
|
|
Loading…
Add table
Reference in a new issue