matplotlib-venn

Python Matplotlib Venn diagram

喜夏-厌秋 提交于 2019-11-30 10:57:06
问题 I want to plot variables that belongs to certain groups. Say that I have 6 variables that I want to sort into these 3 groups and plot like a venn diagram. I would like to annotate the variable names into the three bubbles. In this simple example we could say that 1 variable is in group 1, 3 variables in group 2 and 2 variables in group 3. Could anyone help me with a simple example of how to do it in matplotlib? 回答1: There is a beautiful Venn diagram add-on for matplotlib called matplotlib

Python Matplotlib Venn diagram

余生长醉 提交于 2019-11-29 22:56:58
I want to plot variables that belongs to certain groups. Say that I have 6 variables that I want to sort into these 3 groups and plot like a venn diagram. I would like to annotate the variable names into the three bubbles. In this simple example we could say that 1 variable is in group 1, 3 variables in group 2 and 2 variables in group 3. Could anyone help me with a simple example of how to do it in matplotlib? There is a beautiful Venn diagram add-on for matplotlib called matplotlib-venn . It looks like it can be completely customized to do what you are looking for, from the size of the