From cced05e7b5336354adf7227d0a57eb434e0d4ae9 Mon Sep 17 00:00:00 2001 From: Thomas Lin Pedersen Date: Thu, 25 Aug 2022 08:11:07 +0200 Subject: [PATCH] Do not rename_size = TRUE for geoms that will accept both size and linewidth --- R/geom-pointrange.r | 4 +--- R/geom-sf.R | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/R/geom-pointrange.r b/R/geom-pointrange.r index 714feb9063..9209f69d1b 100644 --- a/R/geom-pointrange.r +++ b/R/geom-pointrange.r @@ -57,7 +57,5 @@ GeomPointrange <- ggproto("GeomPointrange", Geom, GeomPoint$draw_panel(transform(data, size = size * fatten), panel_params, coord) )) ) - }, - - rename_size = TRUE + } ) diff --git a/R/geom-sf.R b/R/geom-sf.R index 5b96e3c7be..c4235b1ee8 100644 --- a/R/geom-sf.R +++ b/R/geom-sf.R @@ -149,9 +149,7 @@ GeomSf <- ggproto("GeomSf", Geom, } else { draw_key_polygon(data, params, size) } - }, - - rename_size = TRUE + } ) default_aesthetics <- function(type) {