Dave H

Results 124 issues of 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...

scales :snake:

``` r library(tidyverse) p ``` r #I think it should produce this p + labs(x = "x") ``` ![](https://i.imgur.com/e4GBPFc.png)

layers :chart_with_upwards_trend:
tidy-dev-day :nerd_face:

``` r library(tidyverse) ggplot(faithful, aes(x = eruptions, y = waiting)) + geom_density_2d() ``` ![](https://i.imgur.com/5k2Q9Yf.png) ``` r ggplot() + layer( geom = ggplot2::GeomDensity2d, stat = ggplot2::StatDensity2d, data = faithful, mapping =...

layers :chart_with_upwards_trend:

``` 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...

layers :chart_with_upwards_trend:

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...

Type: ★ Enhancement