Been trying to figure out a fix but not sure if there’s an easy way to do this.
plot_ly appears to allow color scales for scatter plots, so that higher values are colored differently. Is there a way to apply a similar color scale to a plot_ly bar graph?
For instance, if I wanted bars with values closer to 1 colored green, but values closer to 0 colored as red, would that be possible with the “color” argument?
Thanks for the help!