diff --git a/exspy/components/eels_double_power_law.py b/exspy/components/eels_double_power_law.py index dadf12f2f..9d44ca7b7 100644 --- a/exspy/components/eels_double_power_law.py +++ b/exspy/components/eels_double_power_law.py @@ -72,7 +72,7 @@ def __init__( left_cutoff=0.0, module="numexpr", compute_gradients=False, - **kwargs + **kwargs, ): super().__init__( expression="where(x > left_cutoff, \ diff --git a/exspy/components/volume_plasmon_drude.py b/exspy/components/volume_plasmon_drude.py index f39d4dda4..9d3b60def 100644 --- a/exspy/components/volume_plasmon_drude.py +++ b/exspy/components/volume_plasmon_drude.py @@ -61,7 +61,7 @@ def __init__( fwhm=1.5, module="numexpr", compute_gradients=False, - **kwargs + **kwargs, ): super().__init__( expression="where(x > 0, intensity * (pe2 * x * fwhm) \ diff --git a/exspy/models/edsmodel.py b/exspy/models/edsmodel.py index b808037cc..e2657ba7e 100644 --- a/exspy/models/edsmodel.py +++ b/exspy/models/edsmodel.py @@ -344,7 +344,7 @@ def fit_background( end_energy=None, windows_sigma=(4.0, 3.0), kind="single", - **kwargs + **kwargs, ): """ Fit the background in the energy range containing no X-ray line. @@ -849,7 +849,7 @@ def get_lines_intensity( plot_result=False, only_one=True, only_lines=("a",), - **kwargs + **kwargs, ): """ Return the fitted intensity of the X-ray lines. diff --git a/exspy/signals/eds_sem.py b/exspy/signals/eds_sem.py index 5f0e271f1..59714d284 100644 --- a/exspy/signals/eds_sem.py +++ b/exspy/signals/eds_sem.py @@ -312,7 +312,7 @@ def create_model(self, auto_background=True, auto_add_lines=True, *args, **kwarg auto_background=auto_background, auto_add_lines=auto_add_lines, *args, - **kwargs + **kwargs, ) return model