Skip to content

Commit 23afcb4

Browse files
authored
Merge pull request #5392 from pizzathief/issue5344
BUG: arrowhead drawing code
2 parents 73ed804 + 794a2e3 commit 23afcb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/patches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1234,7 +1234,7 @@ def __init__(self, x, y, dx, dy, width=0.001, length_includes_head=False,
12341234
# The half-arrows contain the midpoint of the stem,
12351235
# which we can omit from the full arrow. Including it
12361236
# twice caused a problem with xpdf.
1237-
coords = np.concatenate([left_half_arrow[:-1],
1237+
coords = np.concatenate([left_half_arrow[:-2],
12381238
right_half_arrow[-2::-1]])
12391239
else:
12401240
raise ValueError("Got unknown shape: %s" % shape)

0 commit comments

Comments
 (0)