mikeroswell / ratioScales

Development of ratio scales package for plotting
https://mikeroswell.github.io/ratioScales/
1 stars 1 forks source link

Fix rounding when `slashStar = TRUE` #13

Closed mikeroswell closed 1 year ago

mikeroswell commented 1 year ago

Top tick should be a round 1000:

data.frame(x = 1:10, y = exp(-2:7)) %>% 
     ggplot(aes(x,y)) +
     geom_point() + 
     scale_y_ratio(slashStar = TRUE)