[Mne_analysis] error when plotting source estimates

Eric Larson larson.eric.d at gmail.com
Sun Mar 17 15:58:30 EDT 2019
Search archives:

        External Email - Use Caution        

If you update to the latest version of PySurfer the error should go away.

Eric

On Mon, Mar 18, 2019, 00:47 Lin Wang <wanglinsisi at gmail.com> wrote:

>         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
> _______________________________________________
> Mne_analysis mailing list
> Mne_analysis at nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20190317/29964b66/attachment.html 


More information about the Mne_analysis mailing list