From c47a077fd30bd30cfb51871d385198b571ce9bca Mon Sep 17 00:00:00 2001 From: Neurarian <110474238+Neurarian@users.noreply.github.com> Date: Wed, 27 Nov 2024 11:12:38 +0100 Subject: [PATCH 1/2] fix geom_half_point transformation defaults --- R/geom_half_point.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/geom_half_point.R b/R/geom_half_point.R index 0f0a7d9..0fd7018 100644 --- a/R/geom_half_point.R +++ b/R/geom_half_point.R @@ -18,7 +18,7 @@ geom_half_point <- function( stat = "HalfPoint", position = "dodge2", ..., side = "r", - transformation = position_jitter(), + transformation = position_jitter(height = 0), # transformation_params = list(width = NULL, height = NULL), range_scale = .75, na.rm = FALSE, From c4a0bdb7def16e6ee42c9b8f15e0c134e2c5badc Mon Sep 17 00:00:00 2001 From: Neurarian <110474238+Neurarian@users.noreply.github.com> Date: Wed, 27 Nov 2024 11:38:03 +0100 Subject: [PATCH 2/2] fix geom_half_point_panel transformation defaults --- R/geom_half_point_panel.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/geom_half_point_panel.R b/R/geom_half_point_panel.R index 6c34b57..63ee4e3 100644 --- a/R/geom_half_point_panel.R +++ b/R/geom_half_point_panel.R @@ -14,7 +14,7 @@ geom_half_point_panel <- function( stat = "identity", position = "identity", ..., side = "r", - transformation = position_jitter(), + transformation = position_jitter(height = 0), range_scale = .75, na.rm = FALSE, show.legend = NA,