We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dd6d3f6 + b463970 commit 87a35c5Copy full SHA for 87a35c5
examples/streamplot_demo.py
@@ -15,7 +15,7 @@
15
vdat = ncfile.variables['sfc_v'][0,:,:]
16
lons1 = ncfile.variables['longitude'][:]
17
lats1 = ncfile.variables['latitude'][:]
18
-lat0 = lats1[len(lats1)/2]; lon0 = lons1[len(lons1)/2]
+lat0 = lats1[len(lats1)//2]; lon0 = lons1[len(lons1)//2]
19
lons, lats = np.meshgrid(lons1,lats1)
20
ncfile.close()
21
0 commit comments