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

Use 'grid' to clip segments in geom_text_s(), geom_label_s(), geom_label_pairwise() and geom_text_pairwise(). #49

Open
aphalo opened this issue Jan 4, 2024 · 0 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@aphalo
Copy link
Owner

aphalo commented Jan 4, 2024

In geom_label_pairwise() the segment behind the label box becomes visible when the box fill is transparent. This is a bug.
In geom_text_pairwise() the default position of the text causes no problem, but if centred on the segment the text is crossed out!
In geom_text_s() and geom_label_s() clipping to the "padded text or box" would greatly simplify the code used for drawing segments as they could be drawn from the center of the text or label grobs.

@aphalo aphalo added bug Something isn't working enhancement New feature or request labels Jan 4, 2024
@aphalo aphalo added this to the Future version milestone Jan 4, 2024
@aphalo aphalo self-assigned this Jan 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant