Skip to content

Commit 424eb91

Browse files
committed
Update examples to demonstrate different ways to show curvature
1 parent 6bbfb8b commit 424eb91

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

examples/plot_label_foci.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"""
1717
Bring up the visualization.
1818
"""
19-
brain = Brain(subject_id, "lh", "inflated")
19+
brain = Brain(subject_id, "lh", "inflated", cortex=("gray", -2, 7, True))
2020

2121
"""
2222
First we'll identify a stereotaxic focus in the MNI coordinate system. This

examples/plot_probabilistic_label.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,13 @@
1616

1717
print(__doc__)
1818

19-
brain = Brain("fsaverage", "lh", "inflated", cortex="low_contrast")
19+
brain = Brain("fsaverage", "lh", "inflated")
20+
21+
"""
22+
Show the morphometry with a continuous grayscale colormap.
23+
"""
24+
brain.add_morphometry("curv", colormap="binary",
25+
min=-.8, max=.8, colorbar=False)
2026

2127
"""
2228
The easiest way to label any vertex that could be in the region is with

0 commit comments

Comments
 (0)