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 add textbox for axis text #74

Open
ChenKang992 opened this issue Oct 14, 2021 · 0 comments
Open

how to add textbox for axis text #74

ChenKang992 opened this issue Oct 14, 2021 · 0 comments

Comments

@ChenKang992
Copy link

element_textbox_simple can be used to add such boxes for axis title, what about the axis text.

library(ggplot2)
library(ggtext)
library(glue)
data(iris)
ggplot(iris)+
  geom_boxplot(aes(Species,Sepal.Length))+
  theme(axis.text.x = element_textbox_simple())

it doesn't work

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