Skip to content

Commit 7458091

Browse files
committed
Make default arrow head width sensible
Currently the default head width is too small to produce a visible arrow head by default, so make it bigger.
1 parent 5a7cb7f commit 7458091

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
@@ -1021,7 +1021,7 @@ def __init__(self, x, y, dx, dy, width=0.001, length_includes_head=False,
10211021
10221022
"""
10231023
if head_width is None:
1024-
head_width = 3 * width
1024+
head_width = 20 * width
10251025
if head_length is None:
10261026
head_length = 1.5 * head_width
10271027

0 commit comments

Comments
 (0)