Skip to content

Commit

Permalink
fix for #3
Browse files Browse the repository at this point in the history
  • Loading branch information
kassambara committed Apr 22, 2017
1 parent 1f6e0aa commit 8a18192
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/utilities.R
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ NULL
ggplot2::scale_fill_grey(..., start = 0.8, end = 0.2)
else if (palette == "hue")
ggplot2::scale_fill_hue(...)
else if(.is_color(palette))
ggplot2::scale_fill_manual(..., values = palette)
}
else if (palette[1] != "")
ggplot2::scale_fill_manual(..., values = palette)
Expand Down

0 comments on commit 8a18192

Please sign in to comment.