diff --git a/examples/visualization/plot_montage.py b/examples/visualization/plot_montage.py index 30dbd72c81e..a219a0f253c 100644 --- a/examples/visualization/plot_montage.py +++ b/examples/visualization/plot_montage.py @@ -4,7 +4,7 @@ ====================================== Show sensor layouts of different EEG systems. -""" # noqa +""" # noqa: D205, D400 # Authors: Alexandre Gramfort # Joan Massich # @@ -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