Skip to content

Commit ad9c92b

Browse files
committed
Fix crash when drawing FancyArrow with zero length
1 parent 2151c19 commit ad9c92b

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.10.13

lib/matplotlib/tests/test_patches.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1096,7 +1096,6 @@ def test_facecolor_none_edgecolor_force_edgecolor():
10961096

10971097

10981098
def test_empty_fancyarrow():
1099-
import matplotlib.pyplot as plt
11001099
fig, ax = plt.subplots()
11011100

11021101
arrow = ax.arrow([], [], [], [])

0 commit comments

Comments
 (0)