In [ ]:
from mayavi import mlab
import surfer
import mne
subjects_dir = mne.datasets.sample.data_path() + '/subjects'
In [ ]:
surfer.Brain('sample', hemi='split', surf='white', subjects_dir=subjects_dir, size=(400, 200))
In [ ]:
mlab.init_notebook('png')
surfer.Brain('sample', hemi='split', surf='white', subjects_dir=subjects_dir, size=(400, 200))
In [ ]:
mlab.init_notebook('ipy', width=200, height=200)
surfer.Brain('sample', hemi='split', surf='white', subjects_dir=subjects_dir, size=(400, 200))