Skip to content

Commit

Permalink
update example to use fetch_fsaverage
Browse files Browse the repository at this point in the history
  • Loading branch information
massich committed Apr 23, 2019
1 parent 748ff19 commit 79ccebc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions examples/visualization/plot_montage.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
======================================
Show sensor layouts of different EEG systems.
""" # noqa
""" # noqa: D205, D400
# Authors: Alexandre Gramfort <[email protected]>
# Joan Massich <[email protected]>
#
Expand All @@ -15,11 +15,10 @@

import mne
from mne.channels.montage import get_builtin_montages
from mne.datasets import fetch_fsaverage
from mne.viz import plot_alignment

# print(__doc__)

subjects_dir = op.join(mne.datasets.sample.data_path(), 'subjects')
subjects_dir = op.dirname(fetch_fsaverage())

###############################################################################
# check all montages
Expand Down

0 comments on commit 79ccebc

Please sign in to comment.