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

Skip to content

Commit 0744b9e

Browse files
committed
Updated test case
1 parent 4f0a68e commit 0744b9e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/tests/test_arrow_patches.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def draw_arrow(ax, t, r):
1717
@image_comparison(baseline_images=['fancyarrow_test_image'])
1818
def test_fancyarrow():
1919
# Added 0 to test division by zero error described in issue 3930
20-
r = [0.4, 0.3, 0.2, 0.1]
20+
r = [0.4, 0.3, 0.2, 0.1, 0]
2121
t = ["fancy", "simple", matplotlib.patches.ArrowStyle.Fancy()]
2222

2323
fig, axes = plt.subplots(len(t), len(r), squeeze=False,

0 commit comments

Comments
 (0)