Skip to content

Commit

Permalink
Merge pull request #339 from neurodsp-tools/figlabel
Browse files Browse the repository at this point in the history
[MNT] - Fix power spectrum plot ylabel formatting
  • Loading branch information
TomDonoghue authored Nov 18, 2024
2 parents e494f93 + e080fd6 commit 59a911d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neurodsp/plts/spectral.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 59a911d

Please sign in to comment.