This is my code:
fig = go.Figure(
data=go.Heatmap(z=z_values, y=[str(x) for x in params_1], x=[str(x) for x in params_2]),
layout=go.Layout(
title="Analysis results",
xaxis=dict(title='Diameter'),
yaxis=dict(title='Max Distance')
),
)
fig.show()
It generates a 2D-heatmap (snippet below), but I'd like to include a title for the colorbar:
Unfortunately the plotly example also does not have a colorbar title. I have tried to include the colorbar properties with the "marker" but this throws an error. How can I do that hence?