konstantint / matplotlib-venn

Area-weighted venn-diagrams for Python/matplotlib
MIT License
508 stars 68 forks source link

Faulty display of overlappings #38

Closed bimtauer closed 6 years ago

bimtauer commented 6 years ago

Hi, I'm currently trying to visualize some research findings, however I venn3 does not give me accurate diagrams. It does not detect an overlapping where one exists. This bug can even be produced with the example code provided on the pypi page:

set1 = set(['A', 'B', 'C', 'D']) set2 = set(['B', 'C', 'D', 'E']) set3 = set(['C', 'D',' E', 'F', 'G'])

venn3([set1, set2, set3], ('Set1', 'Set2', 'Set3')) plt.show()

Here set2 and set3 should have 'E' as a unique intersection. However the produced graph does not show this: image

bimtauer commented 6 years ago

Just saw the whitespace. I'm so sorry!