Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

fix: issue #1443 : Parameters section is duplicated in arrange_in_grid (#1869)

Lalourchecc507aaebab7
diff --git a/manim/mobject/mobject.py b/manim/mobject/mobject.py
index 82e19772a..b663b61bb 100644
--- a/manim/mobject/mobject.py
+++ b/manim/mobject/mobject.py
@@ -2228,17 +2228,6 @@ class Mobject:
Mobject
The mobject.
- NOTES
- -----
-
- If only one of ``cols`` and ``rows`` is set implicitly, the other one will be chosen big
- enough to fit all submobjects. If neither is set, they will be chosen to be about the same,
- tending towards ``cols`` > ``rows`` (simply because videos are wider than they are high).
-
- If both ``cell_alignment`` and ``row_alignments`` / ``col_alignments`` are
- defined, the latter has higher priority.
-
-
Raises
------
ValueError
@@ -2247,6 +2236,15 @@ class Mobject:
If :code:`cols`, :code:`col_alignments` and :code:`col_widths` or :code:`rows`,
:code:`row_alignments` and :code:`row_heights` have mismatching sizes.
+ Notes
+ -----
+ If only one of ``cols`` and ``rows`` is set implicitly, the other one will be chosen big
+ enough to fit all submobjects. If neither is set, they will be chosen to be about the same,
+ tending towards ``cols`` > ``rows`` (simply because videos are wider than they are high).
+
+ If both ``cell_alignment`` and ``row_alignments`` / ``col_alignments`` are
+ defined, the latter has higher priority.
+
Examples
--------
.. manim:: ExampleBoxes