konstantint / matplotlib-venn

Area-weighted venn-diagrams for Python/matplotlib
MIT License
495 stars 67 forks source link

venn3_circles do not align with venn3_unweighted #64

Closed asierra-eng closed 2 years ago

asierra-eng commented 3 years ago

I was trying to align the circles with the unweighted venn diagram for 3 datasets and I couldn't find a way to use the subset_areas=(1, 1, 1, 1, 1, 1, 1) attribute on the venn3_circles method.

venn3_cirlces do not align with venn3_unweighted

Also, it seems that portion of the venn diagram seems to be cut when I tried to use the venn3_circle method.

venn3_unweighted without circles

Thank you very much for your help.

konstantint commented 3 years ago

venn3_circles does not output numeric labels, so there is no need to have an analogue of venn3_unweighted there. Just call venn3_circles with (1,1,1,1,1,1,1) as the areas:

subsets = [1,2,3,4,5,6,7]
venn3_unweighted(subsets)
venn3_circles((1,1,1,1,1,1,1));