[Mne_analysis] (no subject)

Denis-Alexander Engemann denis.engemann at gmail.com
Thu Dec 11 10:34:59 EST 2014
Search archives:

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
>
> On Thu, Dec 11, 2014 at 5:27 PM, Virginie van Wassenhove <
> virginie.van.wassenhove at gmail.com> wrote:
>
>> 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
>> 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
>> 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
> 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
> 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 


More information about the Mne_analysis mailing list