From f06234572eb900c95af021e17665629c3826627d Mon Sep 17 00:00:00 2001 From: retodomax <36004669+retodomax@users.noreply.github.com> Date: Thu, 15 Feb 2024 14:29:34 +0100 Subject: [PATCH] Update scales-colour.qmd wrong year (compared code chuck above) --- scales-colour.qmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scales-colour.qmd b/scales-colour.qmd index 44d7893a..92de18b4 100644 --- a/scales-colour.qmd +++ b/scales-colour.qmd @@ -566,7 +566,7 @@ base_08 ``` Each plot makes sense on its own, but visual comparison between the two is difficult. -The axis limits are different, and because only regular, premium and diesel fuels are represented in the 1998 data the colours are mapped inconsistently. +The axis limits are different, and because only regular, premium and diesel fuels are represented in the 1999 data the colours are mapped inconsistently. To ensure a consistent mapping for the colour aesthetic, we can use `lims()` to manually set the limits. As discussed in @sec-position-continuous-limits it takes name-value pairs as input, where the name specifies the aesthetic and the value specifies the limits: