Skip to content

Commit fa8fc4f

Browse files
authored
Merge pull request #454 from pandrey-fr/patch-1
Fixed compatibility issue with pyproj 2.0+
2 parents dce77e4 + 2f9b4fa commit fa8fc4f

File tree

2 files changed

+11732
-1
lines changed

2 files changed

+11732
-1
lines changed

lib/mpl_toolkits/basemap/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@
149149
}
150150

151151
# create dictionary that maps epsg codes to Basemap kwargs.
152-
epsgf = open(os.path.join(pyproj.pyproj_datadir,'epsg'))
152+
epsgf = open(os.path.join(basemap_datadir, 'epsg'))
153153
epsg_dict={}
154154
for line in epsgf:
155155
if line.startswith("#"):

0 commit comments

Comments
 (0)