Learn practical skills, build real-world projects, and advance your career
Updated 4 years ago
# from vennfig import *
import vennfig as v
# default
v.a_b()
# using options
v.a_b(subs=2, size=6, fill_color='#f5b705', bg_color='#f7edd0',
font_size=25, title_a='P', set_a='P', set_b='Q')
# default
v.and_nand()
# using options
v.and_nand(subs=2, size=5, fill_color='#f55faa', bg_color='#f2e4eb',
font_size=25, title_a='P and Q', title_b='a nand b', set_a='P', set_b='Q')