From 9de17a3ae2df35f00c601f859f4fa2f2f81f7234 Mon Sep 17 00:00:00 2001 From: Yongyi Zeng Date: Mon, 30 Oct 2023 20:17:17 +0800 Subject: [PATCH] Fix alt-text for sub-figures in missing-values.qmd (#1588) --- missing-values.qmd | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/missing-values.qmd b/missing-values.qmd index 01e3f06..1f900a0 100644 --- a/missing-values.qmd +++ b/missing-values.qmd @@ -228,11 +228,10 @@ You can force them to display by supplying `drop = FALSE` to the appropriate dis ```{r} #| layout-ncol: 2 #| fig-width: 3 -#| fig-alt: | -#| A bar chart with a single value on the x-axis, "no". -#| -#| The same bar chart as the last plot, but now with two values on -#| the x-axis, "yes" and "no". There is no bar for the "yes" category. +#| fig-alt: +#| - A bar chart with a single value on the x-axis, "no". +#| - The same bar chart as the last plot, but now with two values on +#| the x-axis, "yes" and "no". There is no bar for the "yes" category. ggplot(health, aes(x = smoker)) + geom_bar() + scale_x_discrete()