Description Usage Arguments Examples
baed on functions published by Garrick Aden-Buie
1 | my_palette(primary = "orange", other = "gold", direction = 1)
|
primary |
initial color - must be in the selection |
other |
if selection only 2 colors, the secondary color |
direction |
whether you want ot reverse the direction of the colors |
1 | ggplot() + my_palette(direction = -1)(2)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.