Skip to content

Commit 23e5201

Browse files
authored
Update to use plot_spectra
1 parent 43c0304 commit 23e5201

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/processing/plot_line_noise.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
# Import the spectral parameterization object and utilities
1313
from fooof import FOOOF
14-
from fooof.plts import plot_spectrum, plot_spectra
14+
from fooof.plts import plot_spectra
1515
from fooof.utils import trim_spectrum, interpolate_spectrum
1616

1717
# Import simulation functions to create some example data
@@ -50,7 +50,7 @@
5050
[[10, 0.75, 2], [60, 1, 0.5]])
5151

5252
# Visualize the generated power spectrum
53-
plot_spectrum(freqs1, powers1, log_powers=True)
53+
plot_spectra(freqs1, powers1, log_powers=True)
5454

5555
###################################################################################################
5656
#
@@ -216,4 +216,4 @@
216216
# gets 'pulled' down, leading to an inaccurate fit of the aperiodic component. This is
217217
# why fitting frequency regions that included frequency regions that have been filtered
218218
# out is not recommended.
219-
#
219+
#

0 commit comments

Comments
 (0)