Skip to content

Commit

Permalink
Fix variables arg typo in Dataset.sortby() docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
tomvothecoder committed Jan 25, 2024
1 parent db9e448 commit aa6dd3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -7947,7 +7947,7 @@ def sortby(
Parameters
----------
kariables : Hashable, DataArray, sequence of Hashable or DataArray, or Callable
variables : Hashable, DataArray, sequence of Hashable or DataArray, or Callable
1D DataArray objects or name(s) of 1D variable(s) in coords whose values are
used to sort this array. If a callable, the callable is passed this object,
and the result is used as the value for cond.
Expand Down

0 comments on commit aa6dd3f

Please sign in to comment.