Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 49adcaa

Browse files
committed
Draw full arrow
1 parent 102b4a5 commit 49adcaa

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
@@ -1252,7 +1252,7 @@ def __init__(self, x, y, dx, dy, width=0.001, length_includes_head=False,
12521252
# The half-arrows contain the midpoint of the stem,
12531253
# which we can omit from the full arrow. Including it
12541254
# twice caused a problem with xpdf.
1255-
coords = np.concatenate([left_half_arrow[:-2],
1255+
coords = np.concatenate([left_half_arrow[:-1],
12561256
right_half_arrow[-2::-1]])
12571257
else:
12581258
raise ValueError("Got unknown shape: %s" % shape)

0 commit comments

Comments
 (0)