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

coord_sf() doesn't adjust line size for graticule lines #5179

Closed
MikkoVihtakari opened this issue Feb 7, 2023 · 1 comment · Fixed by #5183
Closed

coord_sf() doesn't adjust line size for graticule lines #5179

MikkoVihtakari opened this issue Feb 7, 2023 · 1 comment · Fixed by #5183
Labels
bug an unexpected problem or unintended behavior coord 🗺️

Comments

@MikkoVihtakari
Copy link

MikkoVihtakari commented Feb 7, 2023

Seems like this issue has reoccurred with the change from size to linewidth?

library(ggplot2)
ggplot(data.frame(x=1,y=1),aes(x,y)) + 
  theme_bw() + 
  theme(panel.grid = element_line(linewidth = 5))

ggplot(data.frame(x=1,y=1),aes(x,y)) + 
  coord_sf() + 
  theme_bw() + 
  theme(panel.grid = element_line(linewidth = 5))

Created on 2023-02-07 with reprex v2.0.2

@teunbrand teunbrand added bug an unexpected problem or unintended behavior coord 🗺️ labels Feb 7, 2023
@teunbrand
Copy link
Collaborator

Thanks for catching! Yes, this indeed seems to be a regression from 3.4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior coord 🗺️
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants