Black Lives Matter. Please consider donating to Black Girls Code today.

One colorscale for multiple traces

Duplicate of Is it possible for multiple traces to share the same colorscale?,
But i didn’t find any answer despite the fact that github issue is already closed(

We now have brand new documentation for this! https://plot.ly/python/colorscales/#share-color-axis The answer is to share a coloraxis between traces.