tidyverse/ggplot2

`r.axis.inside` not work when `axis.text.r` is blank but `axis.ticks.r` is not

Closed this issue · 1 comments

ggplot(mtcars, aes(disp, mpg)) +
    geom_point() +
    coord_radial(r.axis.inside = TRUE) +
    theme(axis.text.r = element_blank())
Image

A workaround is to also remove axis.ticks.r whenever you remove axis.text.r, like this: theme(axis.text.r = element_blank(), axis.ticks.r = element_blank())). I haven’t been able to identify the underlying code issue, so I cannot resolve this problem directly.