Skip to content

Configure category colors


Configures the color of the categories of a categorical or text column.


The following are the step's expected inputs and outputs and their specific types.

Step signature
configure_category_colors(column: category|list[category]|text|boolean|list[boolean], {"param": value})

where the object {"param": value} is optional in most cases and if present may contain any of the parameters described in the corresponding section below.


Change the colors of the category 'positive' to white, 'negative' to black and 'neutral' to green

Example call (in recipe editor)
configure_category_colors(ds.sentiment, { "postive": "#FFFFFF", "negative": "#000000", "neutral": "#00ff00" })


column: column:category|list[category]|text|boolean|list[boolean]

Column to be configured.


*param: string

One or more additional parameters. Note that all parameters should have the same type.