Commit a079c223 authored by Eric Larson's avatar Eric Larson

STY: Fix for flake

parent 7a5bf711
......@@ -24,6 +24,14 @@ create Brain object for visualization
"""
brain = Brain(subject_id, hemi, surface, size=(800, 400))
"""
label for time annotation in milliseconds
"""
def time_label(t):
return 'time=%0.2f ms' % (t * 1e3)
"""
read MNE dSPM inverse solution
"""
......@@ -49,11 +57,6 @@ for hemi in ['lh', 'rh']:
"""
colormap = 'hot'
"""
label for time annotation in milliseconds
"""
time_label = lambda t: 'time=%0.2f ms' % (t * 1e3)
brain.add_data(data, colormap=colormap, vertices=vertices,
smoothing_steps=10, time=time, time_label=time_label,
hemi=hemi)
......
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