found a workaround for this:
How do I add a colorbar to an already existing graph? - Plotly / Plotly Python - Plotly Community Forum