Skip to contents

Returns a continuous colorscale definition suitable for plotly surface plots based on the specified color palette.

Usage

get_continuous_colorscale(palette = "viridis")

Arguments

palette

(`character(1)`)
Name of the color palette. One of "viridis", "plasma", "grayscale".

Value

A list defining the colorscale for plotly.