# (no subject)

**URL:** <https://mne.discourse.group/t/no-subject/889>\
**Category:** Mailing List Archive (read-only)\
**Tags:** list-archive\
**Created:** [December 11, 2014, 3:27pm UTC](https://mne.discourse.group/t/no-subject/889 "2014-12-11T15:27:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [December 11, 2014, 3:27pm UTC](https://mne.discourse.group/t/no-subject/889/1 "2014-12-11T15:27:12Z")

</div>

Hi everyone,

[warning: straightforward question!]

I am trying to save automatically (and without necessarily showing) the  
output of evoked.plot\_topomap() but can't find a way. Am I missing an  
option/parameter in this function?

Thanks for any tip in advance,  
Virginie

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [December 11, 2014, 3:33pm UTC](https://mne.discourse.group/t/no-subject/889/2 "2014-12-11T15:33:32Z")

</div>

You should use show=False (and remember not to use plt.show() later).

To save you can use the returned figure handle.

fig.savefig(...)

Mainak

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [December 11, 2014, 3:34pm UTC](https://mne.discourse.group/t/no-subject/889/3 "2014-12-11T15:34:59Z")

</div>

Hi Virginie,

evoked.plot\_topomap returns a matplotlib figure object,

you can say:

fig = evoked.plot\_topomap(show=False)  
fig.savefig('my-figure.png')

2014-12-11 16:33 GMT+01:00 Mainak Jas \<mainakjas at gmail.com\>:

> You should use show=False (and remember not to use plt.show() later).
> 
> To save you can use the returned figure handle.
> 
> fig.savefig(...)
> 
> Mainak
> 
> > Hi everyone,
> > 
> > [warning: straightforward question!]
> > 
> > I am trying to save automatically (and without necessarily showing) the  
> > output of evoked.plot\_topomap() but can't find a way. Am I missing an  
> > option/parameter in this function?
> > 
> > Thanks for any tip in advance,  
> > Virginie
> > 
> > --  
> > Virginie van Wassenhove  
> > +33(0)1.69.08.1667  
> > Virginie.van.Wassenhove at gmail.com  
> > [https://sites.google.com/site/virginievanwassenhove/](https://sites.google.com/site/virginievanwassenhove/)
> > 
> > \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> > Mne\_analysis mailing list  
> > Mne\_analysis at nmr.mgh.harvard.edu  
> > [Mne\_analysis Info Page](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  
> > [MyComplianceReport.com: Compliance and Ethics Reporting](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.
> 
> \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_  
> Mne\_analysis mailing list  
> Mne\_analysis at nmr.mgh.harvard.edu  
> [Mne\_analysis Info Page](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  
> [MyComplianceReport.com: Compliance and Ethics Reporting](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/20141211/8219ea05/attachment.html](http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20141211/8219ea05/attachment.html)

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/free1/uploads/mne/original/1X/85cc6bd2b69cb698a166dc6d880fb550510d0144.jpeg) [@system](https://mne.discourse.group/u/system)\
**Post date:** [December 11, 2014, 3:42pm UTC](https://mne.discourse.group/t/no-subject/889/4 "2014-12-11T15:42:36Z")

</div>

Excellent! Thanks Mainak & Denis!  
-V
