Skip to content

Commit b33a47f

Browse files
authored
Update accessor.py
1 parent 4a64779 commit b33a47f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cf_xarray/accessor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1368,7 +1368,7 @@ def curvefit(
13681368
kwargs: dict[str, Any] | None = None,
13691369
):
13701370
if coords is not None:
1371-
if isinstance(coords, (Hashable, DataArray)):
1371+
if isinstance(coords, Hashable | DataArray):
13721372
coords_iter: Iterable[Hashable | DataArray] = [coords]
13731373
else:
13741374
coords_iter = coords

0 commit comments

Comments
 (0)