<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><div>The output of stc.plot() is a pysurfer.Brain object, so screenshot() is documented in the PySurfer docs, not the MNE-Python docs:&nbsp; <a href="https://pysurfer.github.io/generated/surfer.Brain.html#surfer.Brain.screenshot">https://pysurfer.github.io/generated/surfer.Brain.html#surfer.Brain.screenshot</a><br></div><div><br></div><div>Note that screenshot() does not save an image file, it "saves" the pixels  as a NumPy array of RGB values, and assigns them to a variable.&nbsp; It does not create any files on disk.&nbsp; If you want to save it to disk, passing the variable to  <a rel="nofollow" title="https://matplotlib.org/3.1.0/api/_as_gen/matplotlib.pyplot.imsave.html" target="_blank" href="https://matplotlib.org/3.1.0/api/_as_gen/matplotlib.pyplot.imsave.html">matplotlib's plt.imsave()</a> is probably easiest.<br></div><div><br></div><div class="protonmail_signature_block"><div class="protonmail_signature_block-user"><div>-- dan<br></div><div>Daniel McCloy<br></div><div>https://dan.mccloy.info<br></div><div>Research Scientist<br></div><div>Institute for Learning and Brain Sciences<br></div><div>University of Washington<br></div></div><div class="protonmail_signature_block-proton protonmail_signature_block-empty"><br></div></div><div><br></div><div>‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐<br></div><div> On Monday, June 22, 2020 3:57 PM, Kadwani, Manorama &lt;MKADWANI@mgh.harvard.edu&gt; wrote:<br></div><div> <br></div><blockquote class="protonmail_quote" type="cite"><div><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Hi,<br></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">I plotted source activation using the stc.plot() function as described here in: <a href="https://mne.tools/stable/auto_examples/visualization/plot_publication_figure.html"> https://mne.tools/stable/auto_examples/visualization/plot_publication_figure.html</a> <br></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">I want to save the plots in a certain directory as a file, with a certain name. The website used the 'screenshot()' function for the Brain object.<br></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">But I couldn't find any documentation on the screenshot() function describing its attributes. How do I specify the directory, or the figure size, or resolution?<br></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br></div><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Thanks,<br></div><div><div><div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">Manorama Kadwani<br></div></div></div></div></blockquote><div><br></div>