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


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!


Not at the moment unfortunately.

Here’s how:


Thanks! This will work for me.