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

How to show names to the sets on the plot? #28

Open
burcakotlu opened this issue Aug 5, 2023 · 1 comment
Open

How to show names to the sets on the plot? #28

burcakotlu opened this issue Aug 5, 2023 · 1 comment

Comments

@burcakotlu
Copy link

Dear all,

How to show names to the sets on the plot?
If there are 4 sets say A, B, C and D, how to show them on the sets in the resulting figure?

Thanks,
Burcak

@LankyCyril
Copy link
Owner

Please provide more context for this question, and/or a minimal code sample where you encounter this problem.

All examples in the demo Jupyter notebook (https://github.com/LankyCyril/pyvenn/blob/master/pyvenn-demo.ipynb) have names of the sets shown on the plot.

They are shown in the legend -- please make sure you are not removing the legend elsewhere in the code somehow.

If you, however, mean that you'd prefer the names of the sets to be plotted directly on the circle/ellipse/triangle that represents them, there currently isn't a very straightforward way to do that. I've been meaning to rewrite the whole thing from scratch (let's face it, the API is awkward, and I wrote it when I had a lot less experience with Python), and I think I can implement that there. If only I had enough free time to make this happen...

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

No branches or pull requests

2 participants