David Hodge

Results 51 comments of David Hodge

It would be useful, but don't want to break everything! Feel free to close whenever

The main use-case for this would be for a labelling function that labels every second break, and leaves every other one as "". It would work much more intuitively, if...

That's awesome, thanks @teunbrand. Works as expected for positional scales, but not for colour scales? Also, I assume you're not interested in putting an argument in the `scales::label_*` functions to...

Instead of an argument in a scales::label_* function, it might work better as a function. Let me know if you'd like to implement something like this in {scales}. Otherwise, I'll...

Yeah, I'm not sure how hard it would be. But if it was easy, it'd be super useful

This looks useful :) Wondering whether this argument should be called `pal` instead of `palette`, so that it aligns with {scales} terminology? Or maybe the logic is a function that...

The outcome is that the manual scale turns up with NULL values, which would do whatever ggplot2 would do by default for the values if scale layer wasn't called

In the example below, I want the same graph to be produced without me having to specify what the values are ``` r library(tidyverse) library(palmerpenguins) ggplot(mtcars, aes(mpg, wt)) + geom_point(aes(colour...

Thanks @teunbrand the partial scales thing looks super useful. With regard to the scale_*_manual layers, can you not just make the values argument NULL, and then tell it to do...

But there is no y aesthetic, but that axis gets a title?? It doesn't seem consistent