Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c09bef2 commit e1da8bcCopy full SHA for e1da8bc
1 file changed
lib/matplotlib/tests/test_patches.py
@@ -571,3 +571,8 @@ def test_color_override_warning(kwarg):
571
match="Setting the 'color' property will override "
572
"the edgecolor or facecolor properties."):
573
Patch(color='black', **{kwarg: 'black'})
574
+
575
576
+def test_empty_verts():
577
+ poly = Polygon(np.zeros((0, 2)))
578
+ assert poly.get_verts() == []
0 commit comments