date: 2021-08-02 excerpt: ベン図の書き方
tag: matplotpythonvenn図
from matplotlib_venn import venn2, venn3 import random src = list(range(10000)) a,b = set(), set() for i in range(5000): a.add(random.choice(src)) b.add(random.choice(src)) venn2([a, b])