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

Make y axis label appear #89

Open
jxu opened this issue Nov 6, 2018 · 0 comments
Open

Make y axis label appear #89

jxu opened this issue Nov 6, 2018 · 0 comments

Comments

@jxu
Copy link

jxu commented Nov 6, 2018

Just specifying labs doesn't make the labels appear.

For me axis.title.y must be specified in a theme for the text to show up. For example:

dend %>% 
  ggplot() + 
  labs(y = "Pairwise Euclidean Distance") + 
  theme(axis.title.y = element_text(angle = 90))

For horizontal dendrograms, y is specified to labs(), but now we need axis.title.x in theme(). I could only get text to show up by specifying color = "black". Not sure why. Related #25

dend %>% 
  ggplot() + 
  labs(y = "Pairwise Euclidean Distance") + 
  theme(axis.title.x = element_text(color = "black"))
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

1 participant