Skip to content

Commit

Permalink
fix setting xlabel and ylabel (mne-tools#8454)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjnurminen authored Oct 30, 2020
1 parent a96f654 commit 8d6905d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/visualization/plot_topo_customized.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ def my_callback(ax, ch_idx):
two parameters, the axis and the channel or data index.
"""
ax.plot(freqs, psds[ch_idx], color='red')
ax.set_xlabel = 'Frequency (Hz)'
ax.set_ylabel = 'Power (dB)'
ax.set_xlabel('Frequency (Hz)')
ax.set_ylabel('Power (dB)')


for ax, idx in iter_topography(raw.info,
Expand Down

0 comments on commit 8d6905d

Please sign in to comment.