Skip to content

Commit 6f48eed

Browse files
committed
add aliasing of plot_spectrum_shading for backwards compatibility
1 parent 8788431 commit 6f48eed

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fooof/plts/spectra.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ def plot_spectra_shading(freqs, power_spectra, shades, shade_colors='r',
130130
plot_kwargs.get('log_powers', False))
131131

132132

133+
# Alias `plot_spectrum_shading` to `plot_spectra_shading` for backwards compatibility
134+
plot_spectrum_shading = plot_spectra_shading
135+
136+
133137
@savefig
134138
@style_plot
135139
@check_dependency(plt, 'matplotlib')

0 commit comments

Comments
 (0)