Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

NumberLine.apply_function bug fix

Grant Sandersoncc1767718c9a
diff --git a/topics/number_line.py b/topics/number_line.py
index 479805b3d..6f56af6f1 100644
--- a/topics/number_line.py
+++ b/topics/number_line.py
@@ -337,7 +337,7 @@ class NumberPlane(VMobject):
return self
def apply_function(self, function, maintain_smoothness = True):
- SVGMobject.apply_function(self, function, maintain_smoothness = maintain_smoothness)
+ VMobject.apply_function(self, function, maintain_smoothness = maintain_smoothness)