Python:matplotlib-venn-如何调整venn图圆圈内的位置/移动值?

Python:matplotlib-venn-如何调整venn图圆圈内的位置/移动值?,python,matplotlib,venn-diagram,matplotlib-venn,Python,Matplotlib,Venn Diagram,Matplotlib Venn,下面是一个示例维恩图: from matplotlib import pyplot as plt import numpy as np from matplotlib_venn import venn3, venn3_circles plt.figure(figsize=(4,4)) vd = venn3(subsets=(1, 1, 1, 1, 1, 1, 1), set_labels = ('A', 'B', 'C')) plt.show() 我通过查看在这个问题中找到的代码发现了这一点

下面是一个示例维恩图:

from matplotlib import pyplot as plt
import numpy as np
from matplotlib_venn import venn3, venn3_circles
plt.figure(figsize=(4,4))
vd = venn3(subsets=(1, 1, 1, 1, 1, 1, 1), set_labels = ('A', 'B', 'C'))

plt.show()

我通过查看在这个问题中找到的代码发现了这一点:

具体而言,本部分:

vd.get_label_by_id("100").set_x(1.55)
把这一切放在一起,看看1现在是怎么回事…:

from matplotlib import pyplot as plt
import numpy as np
from matplotlib_venn import venn3, venn3_circles
plt.figure(figsize=(4,4))
vd = venn3(subsets=(1, 1, 1, 1, 1, 1, 1), set_labels = ('A', 'B', 'C'))

#Move the numbers in the circles                                                                                                                                               
vd.get_label_by_id("100").set_x(1.55)

plt.show()
关于这个数字,似乎还有很多其他的事情可以做。通过运行以下命令,可以找到所有适用的可调用方法的完整列表:

x = venn_diagram.get_label_by_id("100")
dir(x)

我通过查看在这个问题中找到的代码发现了这一点:

具体而言,本部分:

vd.get_label_by_id("100").set_x(1.55)
把这一切放在一起,看看1现在是怎么回事…:

from matplotlib import pyplot as plt
import numpy as np
from matplotlib_venn import venn3, venn3_circles
plt.figure(figsize=(4,4))
vd = venn3(subsets=(1, 1, 1, 1, 1, 1, 1), set_labels = ('A', 'B', 'C'))

#Move the numbers in the circles                                                                                                                                               
vd.get_label_by_id("100").set_x(1.55)

plt.show()
关于这个数字,似乎还有很多其他的事情可以做。通过运行以下命令,可以找到所有适用的可调用方法的完整列表:

x = venn_diagram.get_label_by_id("100")
dir(x)