A community-maintained Python framework for creating mathematical animations.
Update manim/mobject/number_line.py
Philipp Imhof77ee24b95734
diff --git a/manim/mobject/number_line.py b/manim/mobject/number_line.pyindex d4e933eb7..83ec1b582 100644--- a/manim/mobject/number_line.py+++ b/manim/mobject/number_line.py@@ -107,7 +107,9 @@ class NumberLine(Line):def number_to_point(self, number):alpha = float(number - self.x_min) / (self.x_max - self.x_min)return interpolate(- self.get_start()+self.add_start*RIGHT, self.get_end()-self.add_end*RIGHT, alpha+ self.get_start() + self.add_start * RIGHT,+ self.get_end() - self.add_end * RIGHT,+ alpha)def point_to_number(self, point):