Modifying the size of colorbar in 3D Surface Plots

Hi,

How can I modify the size of colorbar in 3D Surface Plots?

regards

@doga

You can modify the length and thickness of the colorbar, inserting the key colorbar in the surface type trace definition:

trace=dict(type='surface',
           .
           .
           .
           colorbar=dict(lenmode='fraction', len=0.75, tickness=20)
          )

This means that the colorbar is 75% from the plot height.

2 Likes

thank you it is OK now