Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhodge931 committed May 25, 2024
1 parent c19f203 commit bd5d5e8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vignettes/ggblanket.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ These can be accessed via the `mapping` argument using the `aes()` function.

To customise associated scales/guides, `+` on the applicable ggplot2 layer. In some situations, you may have to reverse the values in the relevant scale etc.

(Note: you can use `set_blanket(geom_colour = lightness[1], ...)` to make legend symbols black if needed).
Note you can use `set_blanket(geom_colour = lightness[1], ...)` to make legend symbols black if needed.

```{r}
penguins2 |>
Expand Down Expand Up @@ -251,7 +251,9 @@ penguins2 |>

### 11. Helpful orientation defaults and side-effects

If not specified, the `gg_*` function will guess the plot orientation (based on whether the y axis is discrete). Where `x_orientation = TRUE`, it will:
If not specified, the `gg_*` function will guess the plot orientation (based on whether the y axis is discrete).

Where `x_orientation = TRUE`, it will:

* remove the y axis line/ticks and the x gridlines from the `mode` theme.
* make the linear y continuous scale 'symmetric' if possible with (a) `y_limits` the range of `y_breaks` and (b) `y_expand = c(0, 0)`.
Expand Down

0 comments on commit bd5d5e8

Please sign in to comment.