Skip to content

Commit

Permalink
Update accessor.py
Browse files Browse the repository at this point in the history
  • Loading branch information
dcherian authored Sep 11, 2024
1 parent 4a64779 commit b33a47f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cf_xarray/accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -1368,7 +1368,7 @@ def curvefit(
kwargs: dict[str, Any] | None = None,
):
if coords is not None:
if isinstance(coords, (Hashable, DataArray)):
if isinstance(coords, Hashable | DataArray):
coords_iter: Iterable[Hashable | DataArray] = [coords]
else:
coords_iter = coords
Expand Down

0 comments on commit b33a47f

Please sign in to comment.