Skip to content

Commit 917353c

Browse files
committed
fix typo
1 parent 33ca805 commit 917353c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/scale-colour.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ scale_colour_continuous <- function(..., palette = NULL, aesthetics = "colour",
9595
)
9696
return(scale)
9797
}
98-
pal <- if (!is.null(palette)) as_continuous_pal(palette)
98+
palette <- if (!is.null(palette)) as_continuous_pal(palette)
9999
continuous_scale(
100100
aesthetics, palette = palette, guide = guide, na.value = na.value,
101101
...

0 commit comments

Comments
 (0)