From e080fd6f53d12412d69530d71414364cee8171bb Mon Sep 17 00:00:00 2001 From: Tom Donoghue Date: Sat, 16 Nov 2024 16:34:25 -0500 Subject: [PATCH] tweak PSD plot ylabel for formatting --- neurodsp/plts/spectral.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neurodsp/plts/spectral.py b/neurodsp/plts/spectral.py index 8c396d2f..c1ddfdad 100644 --- a/neurodsp/plts/spectral.py +++ b/neurodsp/plts/spectral.py @@ -61,7 +61,7 @@ def plot_power_spectra(freqs, powers, labels=None, colors=None, ax=None, **kwarg ax.loglog(freq, power, color=color, label=label) ax.set_xlabel('Frequency (Hz)') - ax.set_ylabel('Power (V^2/Hz)') + ax.set_ylabel('Power ($V^2/Hz$)') @savefig