a problem of figure

Dear list,

I tried to run the example "source localization with MNE/dSPM/sLORETA"
After running the following command.

"""
vertno_max, time_max = stc.get_peak(hemi='rh')

subjects_dir = data_path + '/subjects'
brain = stc.plot(surface='inflated', hemi='rh', subjects_dir=subjects_dir,
                 clim=dict(kind='value', lims=[8, 12, 15]),
                 initial_time=time_max, time_unit='s')
brain.add_foci(vertno_max, coords_as_verts=True, hemi='rh', color='blue',
               scale_factor=0.6)

brain.show_view('lateral')
"""

It showed following ouputs in the console:
"Updating smoothing matrix, be patient..
Smoothing matrix creation, step 1
Smoothing matrix creation, step 2
Smoothing matrix creation, step 3
Smoothing matrix creation, step 4
Smoothing matrix creation, step 5
Smoothing matrix creation, step 6
Smoothing matrix creation, step 7
Smoothing matrix creation, step 8
Smoothing matrix creation, step 9
Smoothing matrix creation, step 10
colormap: fmin=8.00e+00 fmid=1.20e+01 fmax=1.50e+01 transparent=1"

It supposed to show a graph of brain bilaterally, however, It doesn't show
any graph. I wonder what is the problem. could you guys help with that?

ps. my python version is 2.7

Yanzhu Li

hi Yanzhu,

do you see any error message?

can you check that mayavi works but typing for example:

from mayavi import mlab
mlab.test_contour3d()

it's possible the figure is opened in the back, behind the current window.

HTH
Alex

Sorry for late reply!
I?ve tried the example, and saw the figure, so my mayavi works
I?m still in this trouble ?
Are there any other possible errors that can not see the figure?

???: Alexandre Gramfort
???: 2017?8?31? 4:17
???: Discussion and support forum for the users of MNE Software
??: Re: [Mne_analysis] a problem of figure

hi?Yanzhu,

do you see any error message?

can you check that mayavi works but typing for example:

from mayavi import mlab
mlab.test_contour3d()

it's possible the figure is opened in the back, behind the current window.

HTH
Alex

?

what version of pysurfer are you using?

Alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170913/9855c426/attachment-0001.html

my version is pysurfer0.7
???: Alexandre Gramfort
???: 2017?9?13? 16:14
???: Discussion and support forum for the users of MNE Software
??: Re: [Mne_analysis] a problem of figure

what version of pysurfer are you using?

Alex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170913/2cebed20/attachment.html

can you run any of these examples?

https://pysurfer.github.io/examples/index.html

Alex

Hi Alex,

I tried the first example in the website that you gave me. It works fine, and I see the figure. However, when I run the MNE example, it doesn?t work as it always.
Is there anything else I can do to fix it ?
I appreciated for your patience and help.

Yanzhu

???: Alexandre Gramfort
???: 2017?9?13? 16:28
???: Discussion and support forum for the users of MNE Software
??: Re: [Mne_analysis] ??: a problem of figure

can you run any of these examples?

https://pysurfer.github.io/examples/index.html

Alex