[Mne_analysis] Circular plot saving problem

Gladia Hotan gladiach at gmail.com
Thu Nov 2 12:18:56 EDT 2017
Search archives:

Hi Eric,

The problem is fixed if I do

fig = plt.figure()
fig.patch.set_facecolor('black')
mne.viz.plot_connectivity_circle()
plt.savefig(fname,facecolor=fig.get_facecolor())

​Thanks again!

Best,
Gladia
​

On Thu, Nov 2, 2017 at 12:14 PM, Gladia Hotan <gladiach at gmail.com> wrote:

> Hi Eric,
>
> Adding facecolor = fig.get_facecolor() adds a grey fill around the black
> circle, so at least the white words can be seen. I'll see if I can get the
> fill to be black.
>
> Thanks!
>
> Best,
> Gladia
>
> On Thu, Nov 2, 2017 at 11:26 AM, Eric Larson <larson.eric.d at gmail.com>
> wrote:
>
>> Can you see if the suggestions here fix the problem?
>>
>> https://github.com/mne-tools/mne-python/issues/4714
>>
>> Eric
>>
>>
>> On Thu, Nov 2, 2017 at 11:21 AM, Gladia Hotan <gladiach at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> I'm trying to save the figure generated by mne.viz.plot_connectivity_circle,
>>> but in the saved figure the node names are truncated, the numerical labels
>>> on the colorbar are missing and the title is missing. This happens both
>>> when I save the figure manually and when I use plt.savefig(<filename>). Is
>>> there a different saving function that works?
>>>
>>> Thanks and Best Regards,
>>> Gladia
>>>
>>> _______________________________________________
>>> 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/20171102/cd748ee7/attachment.html 


More information about the Mne_analysis mailing list