'Increase venn diagram figure size with matplotlib_venn

I can't figure out how to increase the size of the venn diagram. I have some patches which are too small to fit the subset value label inside, and would therefore like to increase the overall figure size. None of the matplotlib figure size commands seem to work.

Venn Diagram

As you can see, they can barely fit inside the circles. I had to decrease the font size to not make them ovelap.

So, is there a way to increase the size of the Venn Diagram, or is there another way to achieve what I want?

Thanks in advance



Solution 1:[1]

Try this ->

from matplotlib_venn import venn3
from matplotlib import pyplot as plt
plt.figure(figsize=(10,10))
venn3(subsets = (20, 11, 12, 13, 9, 4, 3), set_labels = ("A", "B", "C"), alpha = 0.5)

Output

Solution 2:[2]

For me, plt.figure(figzize=(10,10)) emptied the whole plot while resizing it.

Maybe you too will have more success with this: plt.rcParams["figure.figsize"] = [10,10]

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Shubham Verma
Solution 2 Henrik