Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/mpl_toolkits/basemap/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2150,7 +2150,7 @@ def readshapefile(self,shapefile,name,drawbounds=True,zorder=None,
"shapefile to geographic coordinates using the shpproj utility",
"from the shapelib tools (http://shapelib.maptools.org/shapelib-tools.html)"])
shptype = shf.shapes()[0].shapeType
bbox = shf.bbox.tolist()
bbox = list(shf.bbox)
info = (shf.numRecords,shptype,bbox[0:2]+[0.,0.],bbox[2:]+[0.,0.])
npoly = 0
for shprec in shf.shapeRecords():
Expand Down