Create a qualitative legend.

legend_qualitative(variable_name, legend_values)

Arguments

variable_name

string, name of the variable of this legend.

legend_values

list, reference for legend colors in the format: 'value':'color', ....