Skip to content

Commit

Permalink
Revert "Undo over-zealous doctest changes." - valid since f547662.
Browse files Browse the repository at this point in the history
This reverts commit 8207e05.
  • Loading branch information
trexfeathers committed Oct 23, 2024
1 parent fdbbd37 commit 587f8ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/iris/coords.py
Original file line number Diff line number Diff line change
Expand Up @@ -2431,9 +2431,9 @@ def nearest_neighbour_index(self, point):
>>> cube = iris.load_cube(iris.sample_data_path('ostia_monthly.nc'))
>>> cube.coord('latitude').nearest_neighbour_index(0)
9
np.int64(9)
>>> cube.coord('longitude').nearest_neighbour_index(10)
12
np.int64(12)
.. note:: If the coordinate contains bounds, these will be used to
determine the nearest neighbour instead of the point values.
Expand Down

0 comments on commit 587f8ca

Please sign in to comment.