Skip to main content

Venn diagram plot of four sets, like venny.

Project description

Plot four set venn diagrams, like venny (http://bioinfogp.cnb.csic.es/tools/venny/) but using python sets:

I just drew the damn thing using inkscape and then used that as a jinja template. Set algebra I just did by hand.

To use:

>>> import pyvenny
>>> with open('diagram.svg', 'w') as f:
         f.write( pyvenny.render_four_set_venn(
         set(['a','b','c','d']),
         set(['b','c','d','e']),
         set(['c','d','e','f']),
         set(['d','e','f','g']))

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyvenny-v0.1-alpha.tar.gz (4.2 kB view details)

Uploaded Source

File details

Details for the file pyvenny-v0.1-alpha.tar.gz.

File metadata

File hashes

Hashes for pyvenny-v0.1-alpha.tar.gz
Algorithm Hash digest
SHA256 e50765ce2a1d63adc09791d2d68e255bd380f0a2ae558f51afff989776d59c64
MD5 6b24d1b77dcd3149a77329c172034ab8
BLAKE2b-256 280c467611deb09fc866a43678fde35b51628b37e8bca988cb2a45edf59d222f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page