[Mne_analysis] error when plotting source estimates

Lin Wang wanglinsisi at gmail.com
Sun Mar 17 09:46:11 EDT 2019
Search archives:

        External Email - Use Caution        

Hi MNE experts,

When I tried to plot the source estimates using MNE python, I can only get
the brain surfaces without activation blobs. The error seems to be about
adding data to the brain surface.

Below is the error message:
  *File "<ipython-input-131-d205f850633d>", line 1, in <module>*
*    stc_grandavg.plot(hemi='split', initial_time=0.30,
time_viewer=True,time_unit='s', colorbar=True,
views=['lateral','medial','ventral'])*

*  File
"/autofs/cluster/kuperberg/nonconMM/MEG/python/anaconda/lib/python2.7/site-packages/mne/source_estimate.py",
line 1494, in plot*
*    spacing=spacing, verbose=verbose)*

*  File "<string>", line 2, in plot_source_estimates*

*  File
"/autofs/cluster/kuperberg/nonconMM/MEG/python/anaconda/lib/python2.7/site-packages/mne/utils.py",
line 803, in verbose*
*    return function(*args, **kwargs)*

*  File
"/autofs/cluster/kuperberg/nonconMM/MEG/python/anaconda/lib/python2.7/site-packages/mne/viz/_3d.py",
line 1779, in plot_source_estimates*
*    min=scale_pts[0], max=scale_pts[2], **ad_kwargs)*

*TypeError: add_data() got an unexpected keyword argument 'verbose'*

I was able to do the plots using the same script and environment settings.
I'm not sure what went wrong here. Thanks a lot for your help!

Best,
Lin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190317/6f7af6df/attachment.html 


More information about the Mne_analysis mailing list