Skip to content

Commit b0c52b2

Browse files
authored
Update xarray/core/dataset.py
1 parent 9128c7c commit b0c52b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xarray/core/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3001,7 +3001,7 @@ def isel(
30013001
if drop and var.ndim == 0 and name in coord_names:
30023002
coord_names.remove(name)
30033003
continue
3004-
# Update after slicing
3004+
# Update our reference to `var_dims` after the call to isel
30053005
var_dims = var.dims
30063006
dims.update(zip(var_dims, var.shape))
30073007
variables[name] = var

0 commit comments

Comments
 (0)