Skip to content

Commit d2f9043

Browse files
update example
1 parent 0923073 commit d2f9043

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

examples/plot_meg_inverse_solution.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,11 @@ def time_label(t):
5959

6060
brain.add_data(data, colormap=colormap, vertices=vertices,
6161
smoothing_steps=10, time=time, time_label=time_label,
62-
hemi=hemi)
62+
hemi=hemi, initial_time=0.1)
6363

6464
"""
65-
scale colormap and set time (index) to display
65+
scale colormap
6666
"""
67-
brain.set_data_time_index(2)
6867
brain.scale_data_colormap(fmin=13, fmid=18, fmax=22, transparent=True)
6968

7069
"""

0 commit comments

Comments
 (0)