Skip to content

Commit

Permalink
Fixed issue with numberline last tick vs. arrow conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
3b1b committed Mar 30, 2019
1 parent a03de9d commit 6b59cdc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manimlib/mobject/number_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,10 @@ def get_tick_marks(self):
)

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
)

Expand Down

0 comments on commit 6b59cdc

Please sign in to comment.