Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Update manim/mobject/number_line.py

Philipp Imhof2aa467b7c044
diff --git a/manim/mobject/number_line.py b/manim/mobject/number_line.py
index e14c70f85..d4e933eb7 100644
--- a/manim/mobject/number_line.py
+++ b/manim/mobject/number_line.py
@@ -97,7 +97,7 @@ class NumberLine(Line):
)
def get_tick_numbers(self):
- u = -1 if self.include_tip and self.add_end==0 else 1
+ u = -1 if self.include_tip and self.add_end == 0 else 1
return np.arange(
self.leftmost_tick,
self.x_max + u * self.tick_frequency / 2,