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

Blank box when axis cross 0 #12

Closed
willgearty opened this issue Aug 1, 2019 · 4 comments
Closed

Blank box when axis cross 0 #12

willgearty opened this issue Aug 1, 2019 · 4 comments
Labels
bug Something isn't working

Comments

@willgearty
Copy link
Owner

p <- ggplot() +
    geom_point(aes(y = runif(1000, 0, 8), x = runif(1000, 0, 50))) +
    coord_cartesian(xlim = c(-5, 50), ylim = c(0,8), expand = FALSE) +
    theme_classic()
gggeo_scale(p)

image

@willgearty willgearty added the bug Something isn't working label Aug 1, 2019
@willgearty
Copy link
Owner Author

I think just removing the panel.border should fix this:

theme(panel.border = element_rect(color = color, fill = NA, size = lwd * 2))

@willgearty
Copy link
Owner Author

Fixed by f1d28eb

@willgearty
Copy link
Owner Author

willgearty commented Oct 7, 2019

Whoops, this is a problem again after the recent changes to bord

@willgearty willgearty reopened this Oct 7, 2019
@willgearty
Copy link
Owner Author

Fixed by c9c6aea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant