[Mne_analysis] adding a Brain to html report

Bushra Riaz Syeda bushra.riaz2 at neuro.gu.se
Wed Jun 6 09:07:03 EDT 2018
Search archives:

        External Email - Use Caution        

Hello Max


The following lines of code worked fine for me


Fig1=mlab.figure()
brain = Brain('SUBJECTNAME','lh','pial',views='medial',
                                    subjects_dir=subjects_dir,figure=Fig1)
report.add_figs_to_section(Fig1,  captions=[' Hemi '], section='SubjectName')


Kind regards
Bushra Riaz






________________________________
From: mne_analysis-bounces at nmr.mgh.harvard.edu <mne_analysis-bounces at nmr.mgh.harvard.edu> on behalf of Alexandre Gramfort <alexandre.gramfort at inria.fr>
Sent: Wednesday, June 6, 2018 3:00:36 PM
To: Discussion and support forum for the users of MNE Software
Subject: Re: [Mne_analysis] adding a Brain to html report

        External Email - Use Caution

hi Max,

it should have worked. See:

https://github.com/mne-tools/mne-python/blob/master/mne/report.py#L57

can you share a full code snippet to replicate the pb?

ideally do it in an issue at: https://github.com/mne-tools/mne-python/issues

thanks
Alex

_______________________________________________
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/20180606/3239dd14/attachment.html 


More information about the Mne_analysis mailing list