when using heatmaps (and likewise contour plots) plotly.js leaves me no choices but to specifiy both: ‘raw’ data for the z attribute, and a colorscale to convert this raw data to a color.
I would like to specify the color for each grid point explizitely, instead of letting plotly derive it for me. Is there any way to achieve this?
I think it would make sense to have such an option. It would leave the choice of how color is derived from data to the user, instead of restricting him in an unnecessary way (at least I don’t see why it would hurt to let him specify color himself…).
Background: The problem is that plotly color scales only allow very simple mappings of data to color… In my use case I need to mix k values into one color. In a sense my z-data is k-dimensional and but plotly color scale only handles 1-d z data…