diff --git a/NEWS.md b/NEWS.md index b4d68402fb..a6c0c46125 100644 --- a/NEWS.md +++ b/NEWS.md @@ -3,6 +3,9 @@ * Fixed a bug in `labeller()` so that `.default` is passed to `as_labeller()` when labellers are specified by naming faceting variables. (@waltersom, #4031) +* Fixed a bug that `guide_bins()` mistakenly ignore `override.aes` argument + (@yutannihilation, #4085). + # ggplot2 3.3.2 This is a small release focusing on fixing regressions introduced in 3.3.1. diff --git a/R/guide-bins.R b/R/guide-bins.R index 1ad9b6fab8..41f3b3b3fe 100644 --- a/R/guide-bins.R +++ b/R/guide-bins.R @@ -116,6 +116,7 @@ guide_bins <- function( # general direction = direction, + override.aes = rename_aes(override.aes), default.unit = default.unit, reverse = reverse, order = order,