matplotlib_palette: matplotlib_palette return the first n palette colours

View source: R/auxiliary.R

matplotlib_paletteR Documentation

matplotlib_palette return the first n palette colours

Description

matplotlib_palette return the first n palette colours

Usage

matplotlib_palette(n = 0, scheme = "default", visualise = FALSE)

Arguments

n

number of colours

scheme

palette scheme, one of 'default', 'bright' and 'rainbow'

visualise

if TRUE, a barplot of all colours will be shown

Value

a vector of hexadecimal colours


wangtengyao/putils documentation built on Nov. 26, 2024, 2:01 a.m.