Ian Harry wrote:

Hi all,

Is there any simple way in matplotlib, or in any other python library, to

make a simple Venn diagram, I want to show three events and their

intersections? I have tried googling for any hints but didn't find anything.

You can use Sage (http://www.sagemath.org or http://sagenb.org)

http://wiki.sagemath.org/interact/misc#AnInteractiveVennDiagram

(scroll down to see the picture; email me off-list if you'd like help in setting up an account or installing Sage; you can use Sage as a python library).

Even if you don't use Sage and something like the interactive Venn diagram listed in the URL gives you relevant code for creating such a thing in matplotlib.

Sage uses matplotlib in the background to actually draw the Venn diagram.

Thanks,

Jason