[Mne_analysis] How to save figures in a loop without displaying them?

Maria Hakonen maria.hakonen at gmail.com
Sun Aug 17 12:27:07 EDT 2014
Search archives:

I have set the show parameter false as follows:
 ica.plot_sources(epochs_bp,eog_inds,show=False)

However, the figures are still shown. I wonder what could be wrong there?

-Maria



2014-08-17 16:26 GMT+03:00 Alexandre Gramfort <
alexandre.gramfort at telecom-paristech.fr>:

> hi Maria,
>
> > Thanks for the answer.
> > However, the script seems to run very long time if ipython is started
> > without --pylab qt flag. I wonder if there is any other ways to save the
> > figures in the loop without displaying them?
>
> most viz functions have a show parameter that is true by default. Set it
> to false to avoid showing the figures.
>
> HTH
> Alex
> _______________________________________________
> 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/20140817/7fff0b1d/attachment.html 


More information about the Mne_analysis mailing list