[Bug?] Annotation_spatial trains the scales?
rhalbersma opened this issue · 2 comments
rhalbersma commented
paleolimbot commented
Thank you for posting!
I believe it's the latest ggplot2 release. You can revert by running remotes::install_github("cran/ggplot2@3.4.1")
until I figure out how to fix it!
paleolimbot commented
This looks like it was tidyverse/ggplot2#5170 👍
# Before:
# remotes::install_github("tidyverse/ggplot2@5074f11")
# After:
# remotes::install_github("tidyverse/ggplot2@11b6c39")
library(ggplot2)
library(ggspatial)
load_longlake_data()
ggplot() +
annotation_spatial(longlake_roadsdf, size = 2, col = "black") +
layer_spatial(longlake_depthdf, aes(fill = DEPTH_M))
Created on 2023-04-04 with reprex v2.0.2