In R, how do I set the default color palette for all plotly plots?
I know in plot_ly() you can set colors=palette, but that works only for scatter plots and not for line plots. For line plots you have to set the colors for each trace individually.