Is it possible for multiple traces to share the same colorscale?


#1

For different traces, even if I assign the same colormap (using a float array as color input), the colorscale will be different because of the different max and min values of each trace. Is there an easy way to plot them with a shared colorscale? I cannot plot them in the same trace because I need to style them differently. Thanks!


#2

Not at the moment unfortunately.

Here’s how: https://codepen.io/etpinard/pen/YayPNd?editors=0010


#3

Thanks! This will work for me.