-
Notifications
You must be signed in to change notification settings - Fork 68
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
VennRegionException #30
Comments
The layout algorithm is not perfect and there may be rare corner cases where it fails to layout the regions. You should be able to see how the circles should look like using the It would be nice if you could provide the actual subset sizes which lead to this error. Try calling
(where a,b,c are your three sets) and posting the resulting 7-number tuple here. |
Ugh. As I said these are the ugly corner cases which the current layout algorithm does not handle well, and I do not know a simple solution which would not involve complicated geometry, hacks or optimization solving. As a hack in your particular case you could simply tune some of the zero regions slightly - this usually fixes such problems. I understand this is ugly if you need to generate many diagrams programmatically, but I don't know any other immediate fixes at the moment. E.g.
Thanks for finding this example. |
Thanks for the reply! |
I'll keep the issue open. The problem is still a bug and deserves fixing one day. |
What you want to do is to "pull" the size of the set A&B&~C larger - this will force the diagram to have enough weight there to not be lost in the scaling.
(Note that I'm getting different percentages from your picture) |
Thank you very much! You shouldn't worry about the percentages because they represent something different, each of the circles represent length of protein-dna interaction domains, and intersections show domains which are common for given 2 or 3 proteins. |
I reformulated the issue into a proper task, addressing it (#35). Let's call it "progress" :) |
Hi!
I'm using venn3 to plot 3 sets of names and the following exception appeared:
I can't figure out what is exactly going on and whether there is something I can do to solve it. I bit of help would be appreciated. Thanks!
The text was updated successfully, but these errors were encountered: