From 4617e68bd14250a0da1448c66f25b2f44f8b60c8 Mon Sep 17 00:00:00 2001 From: keewis Date: Sat, 21 Sep 2019 03:16:10 +0200 Subject: [PATCH] fix the doc names of the return value of swap_dims (#3329) --- xarray/core/dataarray.py | 2 +- xarray/core/dataset.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xarray/core/dataarray.py b/xarray/core/dataarray.py index 13a3a507c7b..e4379bd50fb 100644 --- a/xarray/core/dataarray.py +++ b/xarray/core/dataarray.py @@ -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 diff --git a/xarray/core/dataset.py b/xarray/core/dataset.py index 270ab81d264..e01d83dd0a3 100644 --- a/xarray/core/dataset.py +++ b/xarray/core/dataset.py @@ -2676,7 +2676,7 @@ def swap_dims( Returns ------- - renamed : Dataset + swapped : Dataset Dataset with swapped dimensions. See Also