Fixed issue with numberline last tick vs. arrow conflict

This commit is contained in:
Grant Sanderson 2019-03-30 13:22:53 -07:00
parent a03de9dde9
commit 6b59cdcd37

View file

@ -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
)