Open cs-manughian opened 3 years ago
This is something Plotly has in Python https://plotly.com/python/templates/ but not JS. I really hope this gets ported over.
I end up with a hard code with the color code from here: https://github.com/plotly/plotly.py/blob/master/packages/python/plotly/_plotly_utils/colors/qualitative.py
see the render effect for all color sequences here: https://plotly.com/python/discrete-color/#color-sequences-in-plotly-express
I think the primary purpose in my mind would be complex color schemas like dark mode when then user defined colorways could exist as a layer on top.
Is there anyone from the Plotly team to explain why the design decision was made not to expose preset themes to the js lib?
It would be convenient not to have to manually define the colorway or scales for certain plots, such as bubble plots, with an array of colors. I'd like to specify it via import or string, for example: