diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e276e77971c..113ba9b71a9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -16,7 +16,7 @@ repos: files: ^xarray/ - repo: https://github.com/charliermarsh/ruff-pre-commit # Ruff version. - rev: 'v0.0.275' + rev: 'v0.0.276' hooks: - id: ruff args: ["--fix"] diff --git a/xarray/core/dataset.py b/xarray/core/dataset.py index 0cabe803f7d..8898cff789a 100644 --- a/xarray/core/dataset.py +++ b/xarray/core/dataset.py @@ -8648,7 +8648,7 @@ def argmax(self: T_Dataset, dim: Hashable | None = None, **kwargs) -> T_Dataset: ... ) # Indices of the maximum values along the 'student' dimension are calculated - + >>> argmax_indices = dataset.argmax(dim="test") >>> argmax_indices