I would like to save a venn diagram as a .png (or some other file) to insert into a document. I am using matplotlib_venn.
Following the solution here:
How to save VennDiagram as PNG figure in matplotlib_venn
I just get an empty (white) .png file as follows:
My code is:
from matplotlib_venn import venn2
from matplotlib import pyplot as plt
venn2(subsets=(5,8,4))
plt.savefig(path+'venn1A.png')