-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Closed
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior
Description
Wondering if it was possible to make the extra args (.e.g. median.colour) added to boxplot could also available via layer
?
library(tidyverse)
library(palmerpenguins)
penguins |>
ggplot(aes( y = flipper_length_mm,
x = species)) +
geom_boxplot(
median.colour = "red",
)
#> Warning: Removed 2 rows containing non-finite outside the scale range
#> (`stat_boxplot()`).
penguins |>
ggplot(aes( y = flipper_length_mm,
x = species)) +
layer(
geom = "boxplot",
stat = "boxplot",
position = "dodge2",
params = list(median.colour = "red"),
)
#> Warning: Ignoring unknown parameters: `median.colour`
#> Removed 2 rows containing non-finite outside the scale range
#> (`stat_boxplot()`).
Created on 2024-11-20 with reprex v2.1.1
Metadata
Metadata
Assignees
Labels
bugan unexpected problem or unintended behavioran unexpected problem or unintended behavior