Commit 11ce4325 authored by Christian Brodbeck's avatar Christian Brodbeck

ENH movie example: time in ms

parent b8b8c101
......@@ -27,8 +27,8 @@ for hemi in ['lh', 'rh']:
data = stc['data']
times = np.arange(data.shape[1]) * stc['tstep'] + stc['tmin']
brain.add_data(data, colormap='hot', vertices=stc['vertices'],
smoothing_steps=10, time=times, time_label='%0.3f s',
smoothing_steps=10, time=times, hemi=hemi,
time_label=lambda t: '%s ms' % int(round(t * 1e3)))
scale colormap
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