Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update scales-colour.qmd #398

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scales-colour.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Finally, you can also help people with colour blindness in the same way that you
Colour gradients are often used to show the height of a 2d surface.
The plots in this section use the surface of a 2d density estimate of the `faithful` dataset [@azzalini:1990], which records the waiting time between eruptions and during each eruption for the Old Faithful geyser in Yellowstone Park.
We hide the legends and set `expand` to 0, to focus on the appearance of the data.
Remember: although we use the `erupt` plot to illustrate concepts using with a fill aesthetic, the same ideas apply to colour scales.
Remember: although we use the `erupt` plot to illustrate concepts using a fill aesthetic, the same ideas apply to colour scales.
Any time we refer to `scale_fill_*()` in this section there is a corresponding `scale_colour_*()` for the colour aesthetic (or `scale_color_*()` if you prefer US spelling).
\index{Colour!gradients} \index{Scales!colour}

Expand Down