From a1f5245a48146bd8fc5bdb07ef8ae6077d6e511c Mon Sep 17 00:00:00 2001 From: Kwonil-Kim <56524306+Kwonil-Kim@users.noreply.github.com> Date: Tue, 11 Apr 2023 16:03:45 +0900 Subject: [PATCH] fix typo (#7746) --- xarray/core/dataarray.py | 4 ++-- xarray/core/dataset.py | 4 ++-- xarray/core/groupby.py | 2 +- xarray/plot/dataset_plot.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/xarray/core/dataarray.py b/xarray/core/dataarray.py index d4eb5fae686..f26085bda58 100644 --- a/xarray/core/dataarray.py +++ b/xarray/core/dataarray.py @@ -3341,9 +3341,9 @@ def interpolate_na( use_coordinate : bool or str, default: True Specifies which index to use as the x values in the interpolation formulated as `y = f(x)`. If False, values are treated as if - eqaully-spaced along ``dim``. If True, the IndexVariable `dim` is + equally-spaced along ``dim``. If True, the IndexVariable `dim` is used. If ``use_coordinate`` is a string, it specifies the name of a - coordinate variariable to use as the index. + coordinate variable to use as the index. limit : int or None, default: None Maximum number of consecutive NaNs to fill. Must be greater than 0 or None for no limit. This filling is done regardless of the size of diff --git a/xarray/core/dataset.py b/xarray/core/dataset.py index 23c79a3eda1..74c961bd7a0 100644 --- a/xarray/core/dataset.py +++ b/xarray/core/dataset.py @@ -5637,9 +5637,9 @@ def interpolate_na( use_coordinate : bool or Hashable, default: True Specifies which index to use as the x values in the interpolation formulated as `y = f(x)`. If False, values are treated as if - eqaully-spaced along ``dim``. If True, the IndexVariable `dim` is + equally-spaced along ``dim``. If True, the IndexVariable `dim` is used. If ``use_coordinate`` is a string, it specifies the name of a - coordinate variariable to use as the index. + coordinate variable to use as the index. limit : int, default: None Maximum number of consecutive NaNs to fill. Must be greater than 0 or None for no limit. This filling is done regardless of the size of diff --git a/xarray/core/groupby.py b/xarray/core/groupby.py index 7de975c9c0a..8df1e5fedec 100644 --- a/xarray/core/groupby.py +++ b/xarray/core/groupby.py @@ -892,7 +892,7 @@ def quantile( * "nearest" See :py:func:`numpy.quantile` or [1]_ for details. Methods marked with - an asterix require numpy version 1.22 or newer. The "method" argument was + an asterisk require numpy version 1.22 or newer. The "method" argument was previously called "interpolation", renamed in accordance with numpy version 1.22.0. keep_attrs : bool or None, default: None diff --git a/xarray/plot/dataset_plot.py b/xarray/plot/dataset_plot.py index 0d9898a6e9a..b0774c31b17 100644 --- a/xarray/plot/dataset_plot.py +++ b/xarray/plot/dataset_plot.py @@ -128,7 +128,7 @@ def _dsplot(plotfunc): If ``norm`` has ``vmin`` or ``vmax`` specified, the corresponding kwarg must be ``None``. infer_intervals: bool | None - If True the intervals are infered. + If True the intervals are inferred. center : float, optional The value at which to center the colormap. Passing this value implies use of a diverging colormap. Setting it to ``False`` prevents use of a