Circular plot saving problem

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.nmr.mgh.harvard.edu/pipermail/mne_analysis/attachments/20171102/ed79fee1/attachment.html

Can you see if the suggestions here fix the problem?

https://github.com/mne-tools/mne-python/issues/4714

Eric

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

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
?