Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

韦恩图逻辑问题 #2918

Closed
pxg950110 opened this issue Oct 15, 2021 · 3 comments
Closed

韦恩图逻辑问题 #2918

pxg950110 opened this issue Oct 15, 2021 · 3 comments
Labels
Question Further information is requested

Comments

@pxg950110
Copy link

Polt韦恩图例如data1 data2 形成2个数据集的韦恩交集图 A AB B代表含义的问题,正常AB代表data1和data2的交集 A代表data1数据量-AB,B代表data2-AB,在官网图示上代表A 代表data1 B代表data2对韦恩图的操作有问题

@pxg950110 pxg950110 added the Question Further information is requested label Oct 15, 2021
@visiky
Copy link
Member

visiky commented Oct 15, 2021

maybe will be resolved by #2911 #2909

@visiky
Copy link
Member

visiky commented Oct 16, 2021

安装最新版本,可以看下最新韦恩图的文档 & 使用案例,是否可以解答你的疑惑(如果有新的交互建议,可以给一些方案处理)

@visiky visiky closed this as completed Oct 16, 2021
@pxg950110
Copy link
Author

>>> c = venn3_circles(subsets=[set([1,2]), set([2,3,4,5]), set([4,5,6,7,8,9,10,11])])
'''
# Prepare parameters
if isinstance(subsets, dict):
    subsets = [subsets.get(t, 0) for t in ['100', '010', '110', '001', '101', '011', '111']]

只是python的韦恩图交互逻辑,在官网提供的 data: [
{ sets: ['A'], size: 12, label: 'A' },
{ sets: ['B'], size: 12, label: 'B' },
{ sets: ['C'], size: 12, label: 'C' },
{ sets: ['A', 'B'], size: 2, label: 'A&B' },
{ sets: ['A', 'C'], size: 2, label: 'A&C' },
{ sets: ['B', 'C'], size: 2, label: 'B&C' },
{ sets: ['A', 'B', 'C'], size: 1 },
]中看示例 A代表了某个队列的数量,在交互中需要选择只在A不在B C中的数据,这个时候g2plot可以实现吗?python中'100'这个label代表了只在A队列的数据,如果有这种可交互的请帮忙一下,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants