diff --git a/docs/grib2io.html b/docs/grib2io.html
index 557a279..2d8dd8e 100644
--- a/docs/grib2io.html
+++ b/docs/grib2io.html
@@ -1941,7 +1941,7 @@
Returns
973 else:
974 nlons = self.nx
975 dlon = self.gridlengthXDirection
- 976 lons = np.arange(lon1,lon2+dlon,dlon)
+ 976 lons = np.linspace(lon1,lon2,nlons)
977 # Compute Gaussian lats (north to south)
978 lats = gaussian_latitudes(nlats)
979 if lat1 < lat2: # reverse them if necessary
@@ -3360,7 +3360,7 @@ Returns
973 else:
974 nlons = self.nx
975 dlon = self.gridlengthXDirection
- 976 lons = np.arange(lon1,lon2+dlon,dlon)
+ 976 lons = np.linspace(lon1,lon2,nlons)
977 # Compute Gaussian lats (north to south)
978 lats = gaussian_latitudes(nlats)
979 if lat1 < lat2: # reverse them if necessary