Skip to content

Commit

Permalink
Tweak examples
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhodge931 committed Nov 29, 2024
1 parent d6d2035 commit 4665504
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions vignettes/articles/1_demo_light.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@ penguins2 |>
gg_density(
x = flipper_length_mm,
col = species,
blend = "multiply",
mode = light_mode_t(),
)
```
Expand Down Expand Up @@ -443,8 +444,7 @@ data.frame(year = 1875:1972, level = as.vector(LakeHuron)) |>
ymax = level_max,
x_labels = \(x) x,
y_label = "Level",
) +
geom_line(mapping = aes(x = year, y = level))
)
```

### gg_rug
Expand Down Expand Up @@ -487,6 +487,7 @@ penguins2 |>
x = flipper_length_mm,
y = body_mass_g,
col = sex,
blend = "multiply",
se = TRUE,
)
```
Expand Down
5 changes: 3 additions & 2 deletions vignettes/articles/2_demo_dark.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ penguins2 |>
gg_density(
x = flipper_length_mm,
col = species,
blend = "multiply",
mode = dark_mode_t(),
)
```
Expand Down Expand Up @@ -450,8 +451,7 @@ data.frame(year = 1875:1972, level = as.vector(LakeHuron)) |>
ymax = level_max,
x_labels = \(x) x,
y_label = "Level",
) +
geom_line(mapping = aes(x = year, y = level))
)
```

### gg_rug
Expand Down Expand Up @@ -494,6 +494,7 @@ penguins2 |>
x = flipper_length_mm,
y = body_mass_g,
col = sex,
blend = "multiply",
se = TRUE,
)
```
Expand Down

0 comments on commit 4665504

Please sign in to comment.