Skip to content

Commit d2a5eb2

Browse files
committed
MAINT: CI
1 parent fcad3d0 commit d2a5eb2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/plot_probabilistic_label.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,27 +28,27 @@
2828
The easiest way to label any vertex that could be in the region is with
2929
add_label.
3030
"""
31-
brain.add_label("BA1_exvivo", color="#A6BDDB")
31+
brain.add_label("BA1", color="#A6BDDB")
3232

3333
"""
3434
You can also threshold based on the probability of that region being at each
3535
vertex.
3636
"""
37-
brain.add_label("BA1_exvivo", color="#2B8CBE", scalar_thresh=.5)
37+
brain.add_label("BA1", color="#2B8CBE", scalar_thresh=.5)
3838

3939
"""
4040
It's also possible to plot just the label boundary, in case you wanted to
4141
overlay the label on an activation plot to asses whether it falls within that
4242
region.
4343
"""
44-
brain.add_label("BA45_exvivo", color="#F0F8FF", borders=3, scalar_thresh=.5)
45-
brain.add_label("BA45_exvivo", color="#F0F8FF", alpha=.3, scalar_thresh=.5)
44+
brain.add_label("BA45", color="#F0F8FF", borders=3, scalar_thresh=.5)
45+
brain.add_label("BA45", color="#F0F8FF", alpha=.3, scalar_thresh=.5)
4646

4747
"""
4848
Finally, with a few tricks, you can display the whole probabilistic map.
4949
"""
5050
subjects_dir = environ["SUBJECTS_DIR"]
51-
label_file = join(subjects_dir, "fsaverage", "label", "lh.BA6_exvivo.label")
51+
label_file = join(subjects_dir, "fsaverage", "label", "lh.BA6.label")
5252

5353
prob_field = np.zeros_like(brain.geo['lh'].x)
5454
ids, probs = read_label(label_file, read_scalars=True)

0 commit comments

Comments
 (0)