Skip to content

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

Closed
@MikkoVihtakari

Description

@MikkoVihtakari

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugan unexpected problem or unintended behaviorcoord 🗺️

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions