mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Default arrange_in_grid should have it draw rows first
This commit is contained in:
parent
13f0ef30c0
commit
94c121bcf7
1 changed files with 1 additions and 1 deletions
|
@ -974,7 +974,7 @@ class Mobject(Container):
|
|||
def arrange_in_grid(self, n_rows=None, n_cols=None, **kwargs):
|
||||
submobs = self.submobjects
|
||||
if n_rows is None and n_cols is None:
|
||||
n_cols = int(np.sqrt(len(submobs)))
|
||||
n_rows = int(np.sqrt(len(submobs)))
|
||||
|
||||
if n_rows is not None:
|
||||
v1 = RIGHT
|
||||
|
|
Loading…
Add table
Reference in a new issue