Skip to content

Commit 8a0d01e

Browse files
committed
Fix Antarctica polygon workaround for GEOS >= 3.9.0
1 parent df26b51 commit 8a0d01e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/basemap/src/mpl_toolkits/basemap/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1336,7 +1336,7 @@ def _readboundarydata(self,name,as_polygons=False):
13361336
b2 = b.copy()
13371337
# fix Antartica.
13381338
if name == 'gshhs' and south < -89:
1339-
b = b[4:,:]
1339+
b = b[3:,:]
13401340
b2 = b.copy()
13411341
poly = Shape(b)
13421342
# if map boundary polygon is a valid one in lat/lon

0 commit comments

Comments
 (0)