Skip to content

Commit

Permalink
Use white background for plots in dark mode
Browse files Browse the repository at this point in the history
Closes #2729
  • Loading branch information
jayhesselberth committed Jul 24, 2024
1 parent 6f01c92 commit ab98505
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions vignettes/test/rendering.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ Yay[^footnote]
plot(1:10)
```

White background for dark mode.

```{r}
#| fig.alt: Test plot with white background
par(bg = 'white')
plot(rnorm(100))
```

## External files

```{r}
Expand Down

0 comments on commit ab98505

Please sign in to comment.