Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Change ShowSubmobjectsOneByOne defaults

Grant Sanderson0e92deddc473
diff --git a/manimlib/animation/creation.py b/manimlib/animation/creation.py
index a73826530..692e384ec 100644
--- a/manimlib/animation/creation.py
+++ b/manimlib/animation/creation.py
@@ -142,6 +142,10 @@ class ShowIncreasingSubsets(Animation):
class ShowSubmobjectsOneByOne(ShowIncreasingSubsets):
+ CONFIG = {
+ "int_func": np.ceil,
+ }
+
def __init__(self, group, **kwargs):
new_group = Group(*group)
super().__init__(new_group, **kwargs)