fefat: fixed Euler plotting without axis text

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-08-08 11:49:09 +02:00
commit 62b5d7a668
No known key found for this signature in database
5 changed files with 18 additions and 6 deletions

View file

@ -111,6 +111,7 @@ mtcars |> plot_box_single("mpg")
mtcars |> plot_box_single("mpg","cyl")
gtsummary::trial |> plot_box_single("age","trt")
mtcars |> plot_hbars(pri = "carb", sec = "cyl")
mtcars |> plot_hbars(pri = "carb", sec = "cyl", ter="am")
mtcars |> plot_hbars(pri = "carb", sec = NULL)
mtcars |>
default_parsing() |>

View file

@ -31,4 +31,5 @@ data.frame(
D = sample(c(TRUE, FALSE, FALSE, FALSE), 50, TRUE)
) |> plot_euler("A", c("B", "C"), "D", seed = 4)
mtcars |> plot_euler("vs", "am", seed = 1)
mtcars |> plot_euler("vs", "am", "cyl", seed = 1)
}

View file

@ -9,6 +9,9 @@ wrap_plot_list(
tag_levels = NULL,
title = NULL,
axis.font.family = NULL,
guides = "collect",
axes = "collect",
axis_titles = "collect",
...
)
}
@ -19,7 +22,13 @@ wrap_plot_list(
\item{title}{panel title}
\item{...}{ignored for argument overflow}
\item{guides}{passed to patchwork::wrap_plots()}
\item{axes}{passed to patchwork::wrap_plots()}
\item{axis_titles}{passed to patchwork::wrap_plots()}
\item{...}{passed to patchwork::wrap_plots()}
}
\value{
list of ggplot2 objects