Dave H
Dave H
The scale_*_manual functions are super useful. Is it possible that the values argument in these could default to NULL? This would allow users familiar with them to use them to...
``` r library(tidyverse) p ``` r #I think it should produce this p + labs(x = "x") ``` 
``` r library(tidyverse) ggplot(faithful, aes(x = eruptions, y = waiting)) + geom_density_2d() ```  ``` r ggplot() + layer( geom = ggplot2::GeomDensity2d, stat = ggplot2::StatDensity2d, data = faithful, mapping =...
``` r library(tidyverse) library(palmerpenguins) penguins |> ggplot(aes(x = flipper_length_mm, y = body_mass_g,)) + geom_smooth() #> `geom_smooth()` using method = 'loess' and formula = 'y ~ x' #> Warning: Removed 2...
This is pretty minor, as users shouldn't use drop = F if variable is character - but still be nice if it worked anyway, as does scale_*_discrete(..., drop = F)...
``` library(palmerpenguins) library(tidyverse) p ggplot(aes( x = flipper_length_mm, y = body_mass_g, col = sex)) + geom_blank() + geom_point() p plotly::ggplotly(p) ```
It'd be useful, if this would work to create tooltips ``` library(tidyverse) library(palmerpenguins) p ggplot() + geom_blank(aes(flipper_length_mm, body_mass_g)) plotly::ggplotly(p) ```
The logic would be that generally column names as is always need to be adjusted. If there was a default snakecase::to_sentence_case function applied, then some columns would not need to...