(no subject)

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

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 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/

_______________________________________________
Mne_analysis mailing list
Mne_analysis at nmr.mgh.harvard.edu
Mne_analysis Info Page

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 . 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

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 . 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

Excellent! Thanks Mainak & Denis!
-V