Skip to content

Commit 8207e05

Browse files
committed
Undo over-zealous doctest changes.
1 parent 3a809f8 commit 8207e05

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/iris/coords.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2431,9 +2431,9 @@ def nearest_neighbour_index(self, point):
24312431
24322432
>>> cube = iris.load_cube(iris.sample_data_path('ostia_monthly.nc'))
24332433
>>> cube.coord('latitude').nearest_neighbour_index(0)
2434-
np.int64(9)
2434+
9
24352435
>>> cube.coord('longitude').nearest_neighbour_index(10)
2436-
np.int64(12)
2436+
12
24372437
24382438
.. note:: If the coordinate contains bounds, these will be used to
24392439
determine the nearest neighbour instead of the point values.

0 commit comments

Comments
 (0)