Skip to content

Commit 0bbaa65

Browse files
cpsievertclaude
andcommitted
Fix boxplot: only set boxpoints when hiding outliers
Don't explicitly set boxpoints="outliers" for all boxplots, as this changes the default behavior and breaks visual snapshots. Only set boxpoints=FALSE when outliers should be hidden. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent e9f4d46 commit 0bbaa65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/layers2traces.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ geom2trace.GeomBoxplot <- function(data, params, p) {
899899
aes2plotly(data, params, "alpha")
900900
),
901901
# Control whether outlier points are shown
902-
boxpoints = if (hide_outliers) FALSE else "outliers",
902+
boxpoints = if (hide_outliers) FALSE,
903903
# markers/points
904904
marker = list(
905905
opacity = point_defaults$alpha,

0 commit comments

Comments
 (0)