Skip to content

Commit

Permalink
Remove paren from DataArray.from_dict docstring (#6140)
Browse files Browse the repository at this point in the history
  • Loading branch information
code-review-doctor authored Jan 5, 2022
1 parent 51d4d5f commit e056cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xarray/core/dataarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"}}},
Expand Down

0 comments on commit e056cac

Please sign in to comment.