mirror of
https://github.com/3b1b/manim.git
synced 2025-11-14 22:47:45 +00:00
Fixed issue with numberline last tick vs. arrow conflict
This commit is contained in:
parent
a03de9dde9
commit
6b59cdcd37
1 changed files with 2 additions and 1 deletions
|
|
@ -95,9 +95,10 @@ class NumberLine(Line):
|
|||
)
|
||||
|
||||
def get_tick_numbers(self):
|
||||
u = -1 if self.include_tip else 1
|
||||
return np.arange(
|
||||
self.leftmost_tick,
|
||||
self.x_max + self.tick_frequency / 2,
|
||||
self.x_max + u * self.tick_frequency / 2,
|
||||
self.tick_frequency
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue