Black Lives Matter. Please consider donating to Black Girls Code today.
Dash HoloViews is now available! Check out the docs.

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.

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