diff --git a/news/kwargs.rst b/news/kwargs.rst new file mode 100644 index 00000000..052ffdab --- /dev/null +++ b/news/kwargs.rst @@ -0,0 +1,23 @@ +**Added:** + +* + +**Changed:** + +* + +**Deprecated:** + +* + +**Removed:** + +* + +**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:** + +* diff --git a/src/diffpy/morph/morphpy.py b/src/diffpy/morph/morphpy.py index 974573fa..80e792ff 100644 --- a/src/diffpy/morph/morphpy.py +++ b/src/diffpy/morph/morphpy.py @@ -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 ------- @@ -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 -------