Hey everyone,
Is there any setting in which I can set the height of the colorbar equals to the map height?
I haven’t found anything so far, so I kinda need some advise here.
Hey everyone,
Is there any setting in which I can set the height of the colorbar equals to the map height?
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