Scatter Geo Colorbar size

Hey everyone,

Is there any setting in which I can set the height of the colorbar equals to the map height?

Screenshot 2021-01-13 at 14.36.59

I haven’t found anything so far, so I kinda need some advise here.

1 Like

Updating the coloraxis_colorbar parameter in the figure works for me:

fig.update_layout(coloraxis_colorbar=dict(
        len=0.5,
        xanchor="right", x=1,
        yanchor='bottom', y=0.1,
        thickness=10,
    ))

You can find some documentation here: plotly.graph_objects.layout.coloraxis package — 4.14.3 documentation

1 Like