Skip to content

Commit c71ebf3

Browse files
author
Joan Massich
committed
just render! the thing
1 parent 31405e8 commit c71ebf3

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

examples/visualization/plot_montage.py

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
from mne.datasets import fetch_fsaverage
2121
from mne.viz import plot_alignment, set_3d_view, set_3d_title
2222

23+
import warnings
24+
25+
26+
warnings.simplefilter("ignore")
27+
2328
subjects_dir = op.dirname(fetch_fsaverage())
2429

2530
sphere = mne.make_sphere_model(r0=(0., 0., 0.), head_radius=0.085)
@@ -57,7 +62,7 @@
5762
# Plot options
5863
show_axes=True, dig=True, surfaces='inner_skull', bem=sphere,
5964

60-
# Create dummy info
65+
# Create dummy info
6166
info=mne.create_info(
6267
ch_names=montage.ch_names,
6368
sfreq=1,
@@ -81,7 +86,7 @@
8186
# Plot options
8287
show_axes=True, dig=True, surfaces='inner_skull', bem=sphere,
8388

84-
# Create dummy info
89+
# Create dummy info
8590
info=mne.create_info(
8691
ch_names=montage.ch_names,
8792
sfreq=1,
@@ -103,7 +108,7 @@
103108
show_axes=True, dig=True, surfaces='inner_skull', trans=None,
104109
subject='fsaverage', subjects_dir=subjects_dir,
105110

106-
# Create dummy info
111+
# Create dummy info
107112
info=mne.create_info(
108113
ch_names=montage.ch_names,
109114
sfreq=1,
@@ -128,7 +133,7 @@
128133
show_axes=True, dig=True, surfaces='inner_skull', trans=None,
129134
subject='fsaverage', subjects_dir=subjects_dir,
130135

131-
# Create dummy info
136+
# Create dummy info
132137
info=mne.create_info(
133138
ch_names=montage.ch_names,
134139
sfreq=1,

0 commit comments

Comments
 (0)