diff --git a/news/docstring-fix.rst b/news/docstring-fix.rst new file mode 100644 index 0000000..fc596a6 --- /dev/null +++ b/news/docstring-fix.rst @@ -0,0 +1,23 @@ +**Added:** + +* No News Added: Fix docstring + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**Fixed:** + +* + +**Security:** + +* diff --git a/src/diffpy/utils/resampler.py b/src/diffpy/utils/resampler.py index ca93761..6003574 100644 --- a/src/diffpy/utils/resampler.py +++ b/src/diffpy/utils/resampler.py @@ -38,7 +38,7 @@ def wsinterp(x, xp, fp, left=None, right=None): The array of y values associated with xp. left: float If given, set fp for x < xp[0] to left. Otherwise, if left is None - (default) or not given, set fp for x < xp[0] to fp evaluated at xp[-1]. + (default) or not given, set fp for x < xp[0] to fp evaluated at xp[0]. right: float If given, set fp for x > xp[-1] to right. Otherwise, if right is None (default) or not given, set fp for x > xp[-1] to fp evaluated at