From a32a09d2a417010e2a9ddec6c4a7a4289b730aac Mon Sep 17 00:00:00 2001 From: Artur Carvalho Date: Mon, 27 Oct 2025 15:41:57 +0100 Subject: [PATCH] Fix typo in layers.qmd regarding aesthetics --- layers.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layers.qmd b/layers.qmd index 10840db4..f438c635 100644 --- a/layers.qmd +++ b/layers.qmd @@ -258,7 +258,7 @@ It may take some time before the best approach is immediately obvious, so if you Instead of mapping an aesthetic property to a variable, you can set it to a *single* value by specifying it in the layer parameters. We **map** an aesthetic to a variable (e.g., `aes(colour = cut)`) or **set** it to a constant (e.g., `colour = "red"`). -If you want appearance to be governed by a variable, put the specification inside `aes()`; if you want override the default size or colour, put the value outside of `aes()`. +If you want appearance to be governed by a variable, put the specification inside `aes()`; if you want to override the default size or colour, put the value outside of `aes()`. \index{Aesthetics!setting} The following plots are created with similar code, but have rather different outputs.