A community-maintained Python framework for creating mathematical animations.
Numberline arrowhead should share strokewidth of numberline
Grant Sandersoncba0c78cf76f
diff --git a/mobject/number_line.py b/mobject/number_line.pyindex c28868b94..b7d8d3362 100644--- a/mobject/number_line.py+++ b/mobject/number_line.py@@ -145,6 +145,7 @@ class NumberLine(VMobject):vect = (end - start) / get_norm(end - start)arrow = Arrow(start, end + MED_SMALL_BUFF * vect, buff=0)tip = arrow.tip+ tip.set_stroke(width=self.get_stroke_width())tip.set_color(self.color)self.tip = tipself.add(tip)