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

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions news/kwargs.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
**Added:**

* <news item>

**Changed:**

* <news item>

**Deprecated:**

* <news item>

**Removed:**

* <news item>

**Fixed:**

* Docstring for kwargs updated from dict to Any since various input types from kwargs are possible (e.g. a list/tuple for squeeze, a tuple for funcy, a float for smear-pdf). This should remove the warning that inputs are not dicts.

**Security:**

* <news item>
4 changes: 2 additions & 2 deletions src/diffpy/morph/morphpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def morph(
plot: bool
Show a plot of the morphed and target functions as well as the
difference curve (default: False).
kwargs: dict
kwargs: str, float, list, tuple, bool
See the diffpy.morph website for full list of options.
Returns
-------
Expand Down Expand Up @@ -155,7 +155,7 @@ def morph_arrays(
plot: bool
Show a plot of the morphed and target functions as well as the
difference curve (default: False).
kwargs: dict
kwargs: str, float, list, tuple, bool
See the diffpy.morph website for full list of options.
Returns
-------
Expand Down
Loading