FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: fix docstring to interpolate right entry. by stevenhua0320 · Pull Request #361 · diffpy/diffpy.utils · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .py  (1) .rst  (1) All 2 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
23 changes: 23 additions & 0 deletions news/docstring-fix.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**Added:**

* No News Added: Fix docstring

**Changed:**

* <news item>

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* <news item>

**Security:**

* <news item>
2 changes: 1 addition & 1 deletion src/diffpy/utils/resampler.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

Back | FazBrowse Home | New Git URL