[Mne_analysis] a problem of figure

Alexandre Gramfort alexandre.gramfort at inria.fr
Wed Aug 30 16:16:16 EDT 2017
Search archives:

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



On Wed, Aug 30, 2017 at 5:26 AM, Yvonne Li <yl88 at nyu.edu> wrote:

>
> 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
> --
>
>
>
>
> *Yanzhu Li  *
>
> NYU-ECNU Institute of Brain and Cognitive Science
> 3663 ZhongShan Road North, Geo Building, RM 161
>
> Shanghai, 200062 China
> Mobile: +86 130-1186-2600 <+86%20130%201186%202600>
>
> Tel:*(86 21)2059-5995*
>
> Email:yl88 at nyu.edu
>
> Website:slang.science
>
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
>
>
> The information in this e-mail is intended only for the person to whom it
> is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20170830/8b7fa6b5/attachment-0001.html 


More information about the Mne_analysis mailing list