Skip to content

Commit 7337bc7

Browse files
committed
add plot_kwargs back to plot_fm
1 parent a26ca29 commit 7337bc7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

fooof/plts/fm.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
@check_dependency(plt, 'matplotlib')
2828
def plot_fm(fm, plot_peaks=None, plot_aperiodic=True, plt_log=False, add_legend=True,
2929
save_fig=False, file_name=None, file_path=None, ax=None, data_kwargs=None,
30-
model_kwargs=None, aperiodic_kwargs=None, peak_kwargs=None):
30+
model_kwargs=None, aperiodic_kwargs=None, peak_kwargs=None, **plot_kwargs):
3131
"""Plot the power spectrum and model fit results from a FOOOF object.
3232
3333
Parameters
@@ -53,6 +53,8 @@ def plot_fm(fm, plot_peaks=None, plot_aperiodic=True, plt_log=False, add_legend=
5353
Figure axes upon which to plot.
5454
data_kwargs, model_kwargs, aperiodic_kwargs, peak_kwargs : None or dict, optional
5555
Keyword arguments to pass into the plot call for each plot element.
56+
**plot_kwargs
57+
Keyword arguments to pass into the ``style_plot``.
5658
5759
Notes
5860
-----

0 commit comments

Comments
 (0)