<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body><p><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p></p>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p><br>
</p>
<p>Hello Max</p>
<p><br>
</p>
<p>The following lines of code worked fine for me</p>
<p><br>
</p>
<p></p>
<div>Fig1=mlab.figure()</div>
<div>
<div>brain = Brain('SUBJECTNAME','lh','pial',views='medial',</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; subjects_dir=subjects_dir,figure=Fig1)</div>
<div>
<div>report.add_figs_to_section(Fig1,&nbsp; captions=[' Hemi '], section='SubjectName')</div>
<div><br>
</div>
<br>
</div>
<div>Kind regards</div>
<div>Bushra Riaz</div>
<div><br>
</div>
<br>
</div>
<br>
<p></p>
<p><br>
</p>
<p><br>
</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> mne_analysis-bounces@nmr.mgh.harvard.edu &lt;mne_analysis-bounces@nmr.mgh.harvard.edu&gt; on behalf of Alexandre Gramfort &lt;alexandre.gramfort@inria.fr&gt;<br>
<b>Sent:</b> Wednesday, June 6, 2018 3:00:36 PM<br>
<b>To:</b> Discussion and support forum for the users of MNE Software<br>
<b>Subject:</b> Re: [Mne_analysis] adding a Brain to html report</font>
<div>&nbsp;</div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
<br>
hi Max,<br>
<br>
it should have worked. See:<br>
<br>
<a href="https://github.com/mne-tools/mne-python/blob/master/mne/report.py#L57">https://github.com/mne-tools/mne-python/blob/master/mne/report.py#L57</a><br>
<br>
can you share a full code snippet to replicate the pb?<br>
<br>
ideally do it in an issue at: <a href="https://github.com/mne-tools/mne-python/issues">
https://github.com/mne-tools/mne-python/issues</a><br>
<br>
thanks<br>
Alex<br>
<br>
_______________________________________________<br>
Mne_analysis mailing list<br>
Mne_analysis@nmr.mgh.harvard.edu<br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
<br>
</div>
</span></font>
</body>
</html>