Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Fix typo: "turn into into an np array" to "turn into a np array" (#3074)

CaftBotti7aed9900743c
diff --git a/manim/mobject/graphing/number_line.py b/manim/mobject/graphing/number_line.py
index aa56c9358..bae4c8994 100644
--- a/manim/mobject/graphing/number_line.py
+++ b/manim/mobject/graphing/number_line.py
@@ -173,7 +173,7 @@ class NumberLine(Line):
"num_decimal_places": self._decimal_places_from_step(x_range[2]),
}
- # turn into into an np array to scale by just applying the function
+ # turn into a np array to scale by just applying the function
self.x_range = np.array(x_range, dtype=float)
self.x_min, self.x_max, self.x_step = scaling.function(self.x_range)
self.length = length