From a85c6a268699721e3fbb12e53b08a3d82c89c272 Mon Sep 17 00:00:00 2001 From: Teun van den Brand <49372158+teunbrand@users.noreply.github.com> Date: Tue, 28 Jan 2025 13:18:35 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=A9=B9=20Turn=20off=20`size`=20fallback?= =?UTF-8?q?=20from=20`GeomBar`=20(#6281)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * turn off `size` fallback mechanism * add news bullet --- NEWS.md | 2 ++ R/geom-bar.R | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index d38fbc670d..1419f620be 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,5 +1,7 @@ # ggplot2 (development version) +* Turned off fallback for `size` to `linewidth` translation in + `geom_bar()`/`geom_col()` (#4848). * `coord_radial()` now displays no axis instead of throwing an error when a scale has no breaks (@teunbrand, #6271). * The `fatten` argument has been deprecated in `geom_boxplot()`, diff --git a/R/geom-bar.R b/R/geom-bar.R index 19c86dfbb1..b0901502d9 100644 --- a/R/geom-bar.R +++ b/R/geom-bar.R @@ -155,5 +155,5 @@ GeomBar <- ggproto("GeomBar", GeomRect, flip_data(data, params$flipped_aes) }, - rename_size = TRUE + rename_size = FALSE )