diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 6db093b2dbb..00e5087c12c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,7 +13,7 @@ repos: - id: isort # https://github.com/python/black#version-control-integration - repo: https://github.com/psf/black - rev: 21.10b0 + rev: 21.11b1 hooks: - id: black - id: black-jupyter diff --git a/xarray/core/dataarray.py b/xarray/core/dataarray.py index 1b96f22b744..20d0302384c 100644 --- a/xarray/core/dataarray.py +++ b/xarray/core/dataarray.py @@ -2891,7 +2891,7 @@ def from_dict(cls, d: dict) -> "DataArray": "name": "a", } - where "t" is the name of the dimesion, "a" is the name of the array, + where "t" is the name of the dimension, "a" is the name of the array, and x and t are lists, numpy.arrays, or pandas objects. Parameters