From e0646605be8545f4da73a9734ae74e723433656d Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Wed, 2 Aug 2017 11:58:33 -0700 Subject: [PATCH] Change default behave for VMobject.apply_function --- mobject/vectorized_mobject.py | 2 +- topics/number_line.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/mobject/vectorized_mobject.py b/mobject/vectorized_mobject.py index e00325d6..ba5cb6db 100644 --- a/mobject/vectorized_mobject.py +++ b/mobject/vectorized_mobject.py @@ -224,7 +224,7 @@ class VMobject(Mobject): self.submobjects ) - def apply_function(self, function, maintain_smoothness = True): + def apply_function(self, function, maintain_smoothness = False): Mobject.apply_function(self, function) if maintain_smoothness and self.considered_smooth: self.make_smooth() diff --git a/topics/number_line.py b/topics/number_line.py index a5e1d576..fd5157ca 100644 --- a/topics/number_line.py +++ b/topics/number_line.py @@ -279,6 +279,9 @@ class NumberPlane(VMobject): mob.make_smooth() return self + def apply_function(self, function, maintain_smoothness = True): + SVGMobject.apply_function(self, function, maintain_smoothness = maintain_smoothness) +