[Mne_analysis] adding a Brain to html report

Maximilien Chaumon maximilien.chaumon at gmail.com
Wed Jun 6 08:47:44 EDT 2018
Search archives:

        External Email - Use Caution        

Hi,

Is there an easy way to add a rendered brain image to an html report?
I don't know how to get a handle to the figure of a plotted Brain object
and pass it to


report.add_figs_to_section(fig, captions=data_subject + ' sensitivity map',
section='Leadfield')


If I pass a Brain object as fig here, I get


AttributeError: 'Brain' object has no attribute 'scene'



Thanks,

Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20180606/c670a38f/attachment.html 


More information about the Mne_analysis mailing list