Skip to content

Commit 576d2af

Browse files
committed
small docstring fixes
1 parent e00c8ec commit 576d2af

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

fooof/plts/spectra.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,15 @@ def plot_spectra(freqs, power_spectra, log_freqs=False, log_powers=False, freq_r
3939
log_powers : bool, optional, default: False
4040
Whether to plot the power axis in log spacing.
4141
freq_range : list of [float, float], optional
42-
Frequency range to plot.
43-
Should be provided in linear space, regardless of value of `log_freqs`.
42+
Frequency range to plot, defined in linear space.
4443
colors : list of str, optional, default: None
4544
Line colors of the spectra.
4645
labels : list of str, optional, default: None
4746
Legend labels for the spectra.
4847
ax : matplotlib.Axes, optional
4948
Figure axes upon which to plot.
5049
**plot_kwargs
51-
Keyword arguments to pass into the ``style_plot``.
50+
Additional plot related keyword arguments.
5251
"""
5352

5453
ax = check_ax(ax, plot_kwargs.pop('figsize', PLT_FIGSIZES['spectral']))
@@ -107,7 +106,8 @@ def plot_spectra_shading(freqs, power_spectra, shades, shade_colors='r',
107106
ax : matplotlib.Axes, optional
108107
Figure axes upon which to plot.
109108
**plot_kwargs
110-
Keyword arguments to pass into :func:`~.plot_spectra`.
109+
Additional plot related keyword arguments.
110+
This can include additional inputs into :func:`~.plot_spectra`.
111111
112112
Notes
113113
-----
@@ -157,7 +157,7 @@ def plot_spectra_yshade(freqs, power_spectra, shade='std', average='mean', scale
157157
ax : matplotlib.Axes, optional
158158
Figure axes upon which to plot.
159159
**plot_kwargs
160-
Keyword arguments to be passed to `plot_spectra` or to the plot call.
160+
Additional plot related keyword arguments.
161161
"""
162162

163163
if (isinstance(shade, str) or isfunction(shade)) and power_spectra.ndim != 2:

0 commit comments

Comments
 (0)