Skip to content

Commit 4617e68

Browse files
keewisdcherian
authored andcommitted
fix the doc names of the return value of swap_dims (#3329)
1 parent df25933 commit 4617e68

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

xarray/core/dataarray.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1453,7 +1453,7 @@ def swap_dims(self, dims_dict: Mapping[Hashable, Hashable]) -> "DataArray":
14531453
14541454
Returns
14551455
-------
1456-
renamed : Dataset
1456+
swapped : Dataset
14571457
DataArray with swapped dimensions.
14581458
14591459
See Also

xarray/core/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2676,7 +2676,7 @@ def swap_dims(
26762676
26772677
Returns
26782678
-------
2679-
renamed : Dataset
2679+
swapped : Dataset
26802680
Dataset with swapped dimensions.
26812681
26822682
See Also

0 commit comments

Comments
 (0)