Skip to content

Zero point not included in scale_*_sqrt() #4478

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

Closed
frederikziebell opened this issue May 14, 2021 · 1 comment
Closed

Zero point not included in scale_*_sqrt() #4478

frederikziebell opened this issue May 14, 2021 · 1 comment

Comments

@frederikziebell
Copy link

The zero point on the x-axis is not shown if scale_*_sqrt() is used, even when it is set in the breaks argument. Running

tibble(x=(0:5)^2,y=0:5) %>% 
  ggplot(aes(x,y)) +
    geom_point() +
    scale_x_sqrt(breaks=(0:5)^2)

results in
grafik

@teunbrand
Copy link
Collaborator

This is a possible duplicate of #980

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

2 participants