A community-maintained Python framework for creating mathematical animations.
Made add-a-point hack a slightly better hack
Grant Sanderson59910f98026a
diff --git a/mobject/mobject.py b/mobject/mobject.pyindex 38706e704..bdc96d6e2 100644--- a/mobject/mobject.py+++ b/mobject/mobject.py@@ -451,7 +451,10 @@ class Mobject(object):smaller = mobject2target_size = count1if len(smaller.points) == 0:- smaller.add_points([np.zeros(smaller.DIM)])+ smaller.add_points(+ [np.zeros(smaller.DIM)],+ color = BLACK+ )smaller.apply_over_attr_arrays(lambda a : streth_array_to_length(a, target_size))