From 94c121bcf74ace12485f5b2af57b04c6f209c8c0 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Tue, 7 Apr 2020 12:36:17 -0700 Subject: [PATCH] Default arrange_in_grid should have it draw rows first --- manimlib/mobject/mobject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manimlib/mobject/mobject.py b/manimlib/mobject/mobject.py index 77957834..4a1e83f0 100644 --- a/manimlib/mobject/mobject.py +++ b/manimlib/mobject/mobject.py @@ -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