William Gearty
William Gearty
OK, I was able to fix some use cases of `coord_trans_xy()` in 859ad85, but many edges still seem to exist. I'll need to keep looking into it.
In my testing, I found that the axis lines never have non-finite values @teunbrand. When the coordinates for the axis lines are passed to `CoordTransXY$transform` they always have finite `x`...
Cool idea, I'll look into at some point!
It looks like ggplot 3.5.0 now has greatly improved pattern support: https://www.tidyverse.org/blog/2024/02/ggplot2-3-5-0/#patterns-and-gradients
More resources: https://github.com/davenquinn/geologic-patterns/ https://blog.r-hub.io/2020/05/29/distribute-data/#data-outside-of-your-package https://docs.ropensci.org/piggyback/
Oh, I found this! https://github.com/coolbutuseless/svgpatternusgs Which you can then use like this: https://coolbutuseless.github.io/2019/10/10/introducing-devoutsvg-svg-graphics-output-device-with-pattern-fills/#u.s.-geological-survey-patterns-on-geom_sf-plots
I've added these patterns as data to the package, and I've also added some functions that allow you to add them individually to plots or use them as scales in...
Thanks @LewisAJones, this was super helpful! I've added a bit more documentation regarding pattern codes (including other resources for determining them). Unfortunately, the vast majority of the patterns don't have...
It looks like this should also work for secondary axes using e.g., `guides(x.sec = ...)`
Yeah, I think ```drop = TRUE``` is the low hanging fruit here. I don't think we need to modify anything to make sure we return tibbles if tibbles are supplied.