How to change the position of the colorbar to the left side of the plot?

Sorry if this question is too basic but I am a newbie to Plotly and for a certain use case I wanted to set the position of the color bar to the left side of the plot how can I do this?


Set the new position as follows:


You can change -0.15 and set a convenient position.

1 Like

Thanks a lot :slightly_smiling_face: