问题
I've a boxplot, but I want to use manual colors for the fill of eachone.
code:
p <- plot_ly(tvs, x = ~ecommerce, y = ~precio_actual, color = ~ecommerce, type = "box") %>%
layout(boxmode = "group")
p
colors I need to use:
ecommerce_colors <- c("lacuracao" = "#ffda33","ripley" = "#802D69","falabella" = "#BED800",
'wong' = "red", "tottus" = "#fa3e14")
来源:https://stackoverflow.com/questions/56879211/plotly-manual-fillcolor-for-boxplot