Generates the parameters necessary for discrete coloring and colorbar
discrete_coloring(df, color_palette, categorical_color_range, legend_items)
list(colorscale, tickvals, ticktext)
catmaply tibble
the color palette
whether to use categorical color range or not.
distinct/unique items of ordered legend items