Open dcooley opened 5 years ago
Add arguments to specify the range of the palette you want to use
For example
colour_values( 1:256, begin = 0.0, end = 0.75 )
will only use rows 1 to 192 (256 * 0.75) of the palette
similar to doing
pal <- colourvalues::get_palette( "viridis" )[1:192, ]
Add arguments to specify the range of the palette you want to use
For example
will only use rows 1 to 192 (256 * 0.75) of the palette
similar to doing