Commit 4d7bf23e authored by mwaskom's avatar mwaskom

Remove config_opts from example scripts

parent 1c70751f
......@@ -20,8 +20,7 @@ print(__doc__)
"""
Initialize the visualization.
"""
brain = Brain("fsaverage", "lh", "inflated",
config_opts=dict(background="white"))
brain = Brain("fsaverage", "lh", "inflated", background="white")
"""
Read both of the activation maps in using
......
......@@ -22,8 +22,7 @@ hemi = 'split'
"""
create Brain object for visualization
"""
brain = Brain(subject_id, hemi, surface,
config_opts=dict(width=800, height=400))
brain = Brain(subject_id, hemi, surface, width=800, height=400)
"""
read MNE dSPM inverse solution
......
......@@ -11,7 +11,7 @@ from surfer import Brain
print(__doc__)
brain = Brain("fsaverage", "both", "pial", views="frontal",
config_opts=dict(background="dimgray"))
background="dimgray")
"""
Because the morphometry files generated by
......
......@@ -22,8 +22,7 @@ surface = "inflated"
"""
Bring up the visualization.
"""
brain = Brain(subject_id, hemi, surface,
config_opts=dict(background="white"))
brain = Brain(subject_id, hemi, surface, background="white")
"""
Read in the Buckner resting state network annotation. (This requires a
......
......@@ -20,8 +20,7 @@ view = 'frontal'
Bring up the visualization
"""
brain = Brain(subject_id, hemi, surface, views=view,
config_opts={"cortex": "bone",
"background": "ivory"})
cortex="bone", background="ivory")
"""
Display the 'aparc' parcellation borders.
......
......@@ -15,8 +15,7 @@ from surfer import Brain, io
print(__doc__)
brain = Brain("fsaverage", "lh", "inflated",
config_opts=dict(cortex="low_contrast"))
brain = Brain("fsaverage", "lh", "inflated", cortex="low_contrast")
"""
The easiest way to label any vertex that could be in the region is with
......
......@@ -15,8 +15,8 @@ from surfer import Brain, io
print(__doc__)
"""Bring up the visualization"""
brain = Brain("fsaverage", "split", "inflated", views=['lat', 'med'],
config_opts=dict(background="white"))
brain = Brain("fsaverage", "split", "inflated",
views=['lat', 'med'], background="white")
"""Project the volume file and return as an array"""
mri_file = "example_data/resting_corr.nii.gz"
......
......@@ -17,8 +17,7 @@ colorscheme, so we will pass that as an option to the
Brain constructor.
"""
brain = Brain("fsaverage", "lh", "inflated",
config_opts={"cortex": "low_contrast",
"background": "#151540"})
cortex="low_contrast", background="#151540")
"""
Get a path to the overlay file
......
......@@ -16,8 +16,7 @@ print(__doc__)
"""
create Brain object for visualization
"""
brain = Brain('fsaverage', 'split', 'inflated',
config_opts=dict(width=800, height=400))
brain = Brain('fsaverage', 'split', 'inflated', width=800, height=400)
"""
read and display MNE dSPM inverse solution
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment