@@ -39,16 +39,15 @@ def plot_spectra(freqs, power_spectra, log_freqs=False, log_powers=False, freq_r
39
39
log_powers : bool, optional, default: False
40
40
Whether to plot the power axis in log spacing.
41
41
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.
44
43
colors : list of str, optional, default: None
45
44
Line colors of the spectra.
46
45
labels : list of str, optional, default: None
47
46
Legend labels for the spectra.
48
47
ax : matplotlib.Axes, optional
49
48
Figure axes upon which to plot.
50
49
**plot_kwargs
51
- Keyword arguments to pass into the ``style_plot`` .
50
+ Additional plot related keyword arguments .
52
51
"""
53
52
54
53
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',
107
106
ax : matplotlib.Axes, optional
108
107
Figure axes upon which to plot.
109
108
**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`.
111
111
112
112
Notes
113
113
-----
@@ -157,7 +157,7 @@ def plot_spectra_yshade(freqs, power_spectra, shade='std', average='mean', scale
157
157
ax : matplotlib.Axes, optional
158
158
Figure axes upon which to plot.
159
159
**plot_kwargs
160
- Keyword arguments to be passed to `plot_spectra` or to the plot call .
160
+ Additional plot related keyword arguments .
161
161
"""
162
162
163
163
if (isinstance (shade , str ) or isfunction (shade )) and power_spectra .ndim != 2 :
0 commit comments