Skip to content

Commit

Permalink
Update scale_fill_hcl.R
Browse files Browse the repository at this point in the history
Remove scale_name argument
  • Loading branch information
rivasiker authored Jul 12, 2024
1 parent f551e16 commit bb2da5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/scale_fill_hcl.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ hcl_generic <- function(reverse, palette, ...) {
scale_fill_hcl <- function(..., palette = "RdYlBu", reverse = FALSE) {

pal <- hcl_generic(reverse, palette)
discrete_scale("fill", 'hcl', palette = pal, ...)
discrete_scale("fill", palette = pal, ...)

}

0 comments on commit bb2da5f

Please sign in to comment.