From e056cacdca55cc9d9118c830ca622ea965ebcdef Mon Sep 17 00:00:00 2001 From: code-review-doctor <72647856+code-review-doctor@users.noreply.github.com> Date: Wed, 5 Jan 2022 18:14:54 +0000 Subject: [PATCH] Remove paren from DataArray.from_dict docstring (#6140) --- xarray/core/dataarray.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xarray/core/dataarray.py b/xarray/core/dataarray.py index b8e63c9f2f7..aa621a3c428 100644 --- a/xarray/core/dataarray.py +++ b/xarray/core/dataarray.py @@ -2887,7 +2887,7 @@ def from_dict(cls, d: dict) -> "DataArray": .. code:: python - d = {"dims": ("t"), "data": x} + d = {"dims": "t", "data": x} d = { "coords": {"t": {"dims": "t", "data": t, "attrs": {"units": "s"}}},