change bandwidth approach in stat_density2d to match stat_density #2860
Labels
feature
a feature request or enhancement
layers 📈
tidy-dev-day 🤓
Tidyverse Developer Day rstd.io/tidy-dev-day
stat_density
currently has theadjust
parameter which defaults to 1 and scales whatever the default bandwidth would be.stat_density2d
usesh
, a length-2 vector which is directly passed to the underlying function in the units of the data.The text was updated successfully, but these errors were encountered: