diff --git a/animation/transform.py b/animation/transform.py index 433650df..aec862b0 100644 --- a/animation/transform.py +++ b/animation/transform.py @@ -101,9 +101,15 @@ class Swap(CyclicReplace): pass #Renaming, more understandable for two entries class GrowFromPoint(Transform): + CONFIG = { + "point_color" : None, + } def __init__(self, mobject, point, **kwargs): + digest_config(self, kwargs) target = mobject.copy() point_mob = Point(point) + if self.point_color: + point_mob.highlight(self.point_color) mobject.replace(point_mob) mobject.highlight(point_mob.get_color()) Transform.__init__(self, mobject, target, **kwargs) diff --git a/topics/numerals.py b/topics/numerals.py index 1bcc61fe..1390081c 100644 --- a/topics/numerals.py +++ b/topics/numerals.py @@ -144,7 +144,6 @@ class ContinualChangingDecimal(ContinualAnimation): def update_mobject(self, dt): self.anim.update(self.internal_time) -