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
Unicode donen't work on axis text but on geom_text? #1827
Comments
It works for me, but you're probably on windows. Can you please confirm the simpler reprex below still illustrates the problem for you? df <- tibble::tibble(x = c("a", "♥"))
ggplot(df, aes(x, x)) +
geom_text(aes(label = x)) |
The root cause seems to be a buglet in R. On windows, I see: x <- c("a", "♥")
format(x)
#> [1] "a " "<U+2665>" 😞 |
Ok, pretty sure I fixed it, just by avoiding the use of |
Works! Thanks :-) |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I can't seem to get the axis text showing unicode, but when i try it in geom_text it shows up just fine.
Is there a way to do this or...?
The text was updated successfully, but these errors were encountered: