Skip to content

Commit 41b0120

Browse files
clean up tests
1 parent bdd6506 commit 41b0120

File tree

2 files changed

+6
-11
lines changed

2 files changed

+6
-11
lines changed

tests/docs/smoke-all/dark-mode/ggplot-brandless.qmd

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ ggplot(mtcars, aes(mpg, wt)) +
6363

6464
### with crossref but no caption
6565

66-
::: {#fig-thematic-ggplot}
66+
::: {#fig-ggplot}
6767
```{r}
6868
#| echo: true
6969
#| renderings:
@@ -89,15 +89,13 @@ ggplot(mtcars, aes(mpg, disp)) +
8989
geom_point(aes(colour = factor(cyl))) + colour_scale
9090
```
9191

92-
thematic - base r graphics
92+
ggplot - dark only
9393

9494
</div>
9595

96-
## patchwork
97-
9896
### with crossref and caption
9997

100-
::: {#fig-thematic-patchwork}
98+
::: {#fig-ggplot-mpg-hp}
10199
```{r}
102100
#| renderings: [light, dark]
103101
theme_set(united_theme)

tests/docs/smoke-all/dark-mode/ggplot-duobrand.qmd

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ ggplot(mtcars, aes(mpg, wt)) +
6565

6666
and `echo: true`
6767

68-
::: {#fig-thematic-ggplot}
68+
::: {#fig-ggplot}
6969

7070
```{r}
7171
#| echo: true
@@ -83,8 +83,6 @@ ggplot(mtcars, aes(mpg, disp)) +
8383

8484
### with caption but no crossref
8585

86-
dark rendering only
87-
8886
<div>
8987

9088
```{r}
@@ -93,15 +91,14 @@ ggplot(mtcars, aes(mpg, disp)) +
9391
geom_point(aes(colour = factor(cyl))) + slate_theme + colour_scale
9492
```
9593

96-
thematic - base r graphics
94+
ggplot - dark only
9795

9896
</div>
9997

100-
## patchwork
10198

10299
### with crossref and caption
103100

104-
::: {#fig-thematic-patchwork}
101+
::: {#fig-ggplot-mpg-hp}
105102
```{r}
106103
#| renderings: [light, dark]
107104
ggplot(mtcars, aes(mpg, hp)) +

0 commit comments

Comments
 (0)