diff --git a/src/mpl_toolkits/basemap/__init__.py b/src/mpl_toolkits/basemap/__init__.py index 46458b95b..b6cda36af 100644 --- a/src/mpl_toolkits/basemap/__init__.py +++ b/src/mpl_toolkits/basemap/__init__.py @@ -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():