These functions override the standard ggplot versions to apply the Brattle palette to ggplot figures.
1 2 3
Arguments passed to corresponding
Note that the Brattle palette is only applied if there are five or fewer groups. If there are more than five groups, colors from the
viridis package are applied.
1 2 3 4
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.