LankyCyril / pyvenn

Python module for plotting Venn diagrams of 2..6 sets
https://pypi.org/project/venn
GNU General Public License v3.0
120 stars 27 forks source link

Venn() does not generate image #10

Closed RomanticStrings closed 3 years ago

RomanticStrings commented 3 years ago

I follow the minimal example in the description page, but when I run the module (IDLE), though it throws no error, it does not generate any image.

LankyCyril commented 3 years ago

The minimal example was written to work in Jupyter notebooks, so the figures appear automagically because of %matplotlib inline.

Because it's not a Jupyter notebook in your case, the automatic displaying of figures is not enabled. To see your figure, you should do something like this:

>>> from matplotlib import pyplot as plt
>>> # do your venn stuff here
>>> plt.show()
RomanticStrings commented 3 years ago

Thank you, LankyCyril. I knew there was something about interactive, but I'm in just a little over my head here!