tctianchi / pyvenn

2 ~ 6 sets venn diagram for python
The Unlicense
316 stars 119 forks source link

cannot set dpi #21

Closed alexwu66666 closed 1 year ago

alexwu66666 commented 2 years ago

Hi there,

I found that we cannot set 'dpi' as optional argument when calling venn() function.

Best regards, Chao

tctianchi commented 1 year ago

I can not reproduce your question.

labels = venn.get_labels([range(10), range(5, 15)], fill=['number', 'logic'])
fig, ax = venn.venn2(labels, dpi=300)
fig.savefig('venn2-300.png', bbox_inches='tight')
plt.close()

fig, ax = venn.venn2(labels, dpi=96)
fig.savefig('venn2-96.png', bbox_inches='tight')
plt.close()

The code generates 2 different images.

Please append your code.

tctianchi commented 1 year ago

There is no "venn()" function in this repository. I believe that your question is related to a fork of this repository.