Getting rid of use_rectangular_stem for Arrow

This commit is contained in:
Grant Sanderson
2019-02-07 17:53:11 -08:00
parent 266f44f10e
commit 0a65ee6725
18 changed files with 122 additions and 150 deletions

View File

@ -505,7 +505,7 @@ class FeynmanFame(Scene):
def get_feynman_diagram(self):
x_min = -1.5
x_max = 1.5
arrow = Arrow(LEFT, RIGHT, buff=0, use_rectangular_stem=False)
arrow = Arrow(LEFT, RIGHT, buff=0)
arrow.tip.move_to(arrow.get_center())
arrows = VGroup(*[
arrow.copy().rotate(angle).next_to(point, vect, buff=0)