Very confused. âViridisâ is available, but not mentioned in the documentation. There is a link https://plot.ly/ipython-notebooks/color-scales/ that shows a lot of color scales, but since itâs missing Viridis, I donât know what else itâs missing.
And also I couldnât figure out what plotly uses as a default color scale for a marker / line / etc. (does it depend on the context?).
This is the list of Plotly colorscales:
[âBlackbodyâ,
âBlueredâ,
âBluesâ,
âEarthâ,
âElectricâ,
âGreensâ,
âGreysâ,
âHotâ,
âJetâ,
âPicnicâ,
âPortlandâ,
âRainbowâ,
âRdBuâ,
âRedsâ,
âViridisâ,
âYlGnBuâ,
âYlOrRdâ]
Looking for a color-by-value option: Iâd like to apply a colorscale like to some scatter plot data (a ternary plot actuallyâŚsimilar to a scatterplot in which there are x,y,z coordinates and a forth column âcâ that would have a numerical value to be scaled by color). It is not clear how to assign colors this way via Plot.ly 2.0. Please advise.
This would be helpful to know. Many colors in the list above are not available in plotly for R, but if we knew where to look we could determine availability.
The defaults depend on which template you use, and the default template uses Plasma. See https://plot.ly/python/templates/ for more details, including previews of the built-in templates.