Iโd like to add a title and labels to ticks in color scale. Hereโs what the map and color scale looks like.
My code below:
datad.append({
"type": "scattermapbox",
"lat": df['Lat'],
"lon": df['Long'],
"name": "Location",
"showlegend": False,
"hoverinfo": "text",
"mode": "markers",
"marker": {
"autocolorscale": False,
"showscale":True,
"symbol": "circle",
"size": 9,
"opacity": 0.8,
"color": df['yhat'],
"colorscale": "blues"
}
}
)
How do I add tick labels and title to the color scale?
Documentation: Single-Page Reference | Python | Plotly