diff --git a/docs/source/contributors.rst b/docs/source/contributors.rst index c52c0868a..f71dfa57e 100644 --- a/docs/source/contributors.rst +++ b/docs/source/contributors.rst @@ -35,6 +35,7 @@ the package wouldn't be as rich or diverse as it is today: * Zachary Tessler * Daniel Eriksson * Crispian Batstone + * Daryl Herzmann Thank you! diff --git a/lib/cartopy/mpl/patch.py b/lib/cartopy/mpl/patch.py index 7700ee5a4..d7c51e62a 100644 --- a/lib/cartopy/mpl/patch.py +++ b/lib/cartopy/mpl/patch.py @@ -185,7 +185,7 @@ def path_to_geos(path, force_ccw=False): axis=1) if all(verts_same_as_first): geom = sgeom.Point(path_verts[0, :]) - elif (path_verts.shape[0] > 2 and + elif (path_verts.shape[0] > 3 and (path_codes[-1] == Path.CLOSEPOLY or verts_same_as_first[-1])): if path_codes[-1] == Path.CLOSEPOLY: