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

Labels not aligned with leaves when rotate = FALSE #28

Closed
jernest1 opened this issue Aug 4, 2020 · 3 comments
Closed

Labels not aligned with leaves when rotate = FALSE #28

jernest1 opened this issue Aug 4, 2020 · 3 comments
Assignees
Labels

Comments

@jernest1
Copy link

jernest1 commented Aug 4, 2020

In your readme in your example where you do not use rotate = T, the labels are not aligned with the leaves. It seems an older version placed the labels correctly, as this stack overflow example from 6 years ago shows (https://stackoverflow.com/questions/19926697/ggplot2-and-ggdendro-plotting-color-bars-under-the-node-leaves). I am trying to create a similar plot but am having trouble aligning the color bar width with the dendrogram and it might be due to the label placement.

@andrie andrie changed the title Labels not aligned with leaves when rotate = F Labels not aligned with leaves when rotate = FALSE Aug 5, 2020
@andrie
Copy link
Owner

andrie commented Aug 5, 2020

Thank you for reporting this. I can indeed see that the behaviour of ggplot2 has changed over the years and can replicate.

I think this is an easy fix and will apply imminently.

@andrie andrie self-assigned this Aug 5, 2020
@andrie andrie added the Bug label Aug 5, 2020
@andrie
Copy link
Owner

andrie commented Aug 5, 2020

This is now fixed in the master branch.

@andrie andrie closed this as completed Aug 5, 2020
@jernest1
Copy link
Author

jernest1 commented Aug 5, 2020

Great, thanks!

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

No branches or pull requests

2 participants