matplotlib_palette | R Documentation |
matplotlib_palette return the first n palette colours
matplotlib_palette(n = 0, scheme = "default", visualise = FALSE)
n |
number of colours |
scheme |
palette scheme, one of 'default', 'bright' and 'rainbow' |
visualise |
if TRUE, a barplot of all colours will be shown |
a vector of hexadecimal colours
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.