I have the following Venn diagrams:
from matplotlib import pyplot as plt
from matplotlib_venn import venn3, venn3_circles
set1 = set(['A', 'B', 'C', 'D'])
set2 = set(['B', 'C', 'D', 'E'])
set3 = set(['C', 'D',' E', 'F', 'G'])
venn3([set1, set2, set3], ('Set1', 'Set2', 'Set3'))
That looks like this:
How can I control the font size of the plot? I'd like to increase it.
In my case some values of the out.subset_labels were NoneType. To omit that problem I did:
If
out
is the object returned byvenn3()
, the text objects are just stored asout.set_labels
andout.subset_labels
, so you can do: