Skip to content

Commit

Permalink
fix the doc names of the return value of swap_dims (#3329)
Browse files Browse the repository at this point in the history
  • Loading branch information
keewis authored and dcherian committed Sep 21, 2019
1 parent df25933 commit 4617e68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xarray/core/dataarray.py
Original file line number Diff line number Diff line change
Expand Up @@ -1453,7 +1453,7 @@ def swap_dims(self, dims_dict: Mapping[Hashable, Hashable]) -> "DataArray":
Returns
-------
renamed : Dataset
swapped : Dataset
DataArray with swapped dimensions.
See Also
Expand Down
2 changes: 1 addition & 1 deletion xarray/core/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -2676,7 +2676,7 @@ def swap_dims(
Returns
-------
renamed : Dataset
swapped : Dataset
Dataset with swapped dimensions.
See Also
Expand Down

0 comments on commit 4617e68

Please sign in to comment.