Fix alt-text for sub-figures in missing-values.qmd (#1588)
This commit is contained in:
parent
c9c8e9e747
commit
9de17a3ae2
|
@ -228,11 +228,10 @@ You can force them to display by supplying `drop = FALSE` to the appropriate dis
|
||||||
```{r}
|
```{r}
|
||||||
#| layout-ncol: 2
|
#| layout-ncol: 2
|
||||||
#| fig-width: 3
|
#| fig-width: 3
|
||||||
#| fig-alt: |
|
#| fig-alt:
|
||||||
#| A bar chart with a single value on the x-axis, "no".
|
#| - 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 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.
|
||||||
#| the x-axis, "yes" and "no". There is no bar for the "yes" category.
|
|
||||||
ggplot(health, aes(x = smoker)) +
|
ggplot(health, aes(x = smoker)) +
|
||||||
geom_bar() +
|
geom_bar() +
|
||||||
scale_x_discrete()
|
scale_x_discrete()
|
||||||
|
|
Loading…
Reference in New Issue