Skip to content

Commit 82194a7

Browse files
Micah CochranMicah Cochran
authored andcommitted
round proj4's version number: fix for Python 2.6
This rounds proj4's version number to 2 decimal places. Without this Python 2.6 displayed a rounding error than later Python version did not show.
1 parent cefb6db commit 82194a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mpl_toolkits/basemap/diagnostic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def package_versions():
4848
numpy = numpy_version,
4949
pyproj = pyproj.__version__,
5050
pyshp = pyshp_version,
51-
PROJ4 = pyproj.Proj(init='epsg:4326').proj_version,
51+
PROJ4 = round(pyproj.Proj(init='epsg:4326').proj_version, 2),
5252
GEOS = _geoslib.__geos_version__,
5353
# optional dependencies below
5454
OWSLib = OWSLib_version,

0 commit comments

Comments
 (0)