From 113c9cbda8dfd2da8555553b46a7b5ba83e79d62 Mon Sep 17 00:00:00 2001 From: Teun van den Brand <49372158+teunbrand@users.noreply.github.com> Date: Wed, 11 May 2022 20:06:22 +0200 Subject: [PATCH] Delete stat retransform --- R/layer.r | 5 ----- 1 file changed, 5 deletions(-) diff --git a/R/layer.r b/R/layer.r index fa8be9400f..b6b1f10332 100644 --- a/R/layer.r +++ b/R/layer.r @@ -332,11 +332,6 @@ Layer <- ggproto("Layer", NULL, # Add any new scales, if needed scales_add_defaults(plot$scales, data, new, plot$plot_env) - # Transform the values, if the scale say it's ok - # (see stat_spoke for one exception) - if (self$stat$retransform) { - stat_data <- scales_transform_df(plot$scales, stat_data) - } cunion(stat_data, data) },