I currently have the following code:
fig = px.scatter_mapbox(coefs_df,
lat="LATITUDE",
lon="LONGITUDE",
hover_name = "NAME",
color = "coef",
zoom=2,
mapbox_style = "carto-positron")
fig.update_layout(margin={"r":0,"t":0,"l":0,"b":0})
fig.show()
That shows:
It is hard to see, so I want to change the color bar to something like:
How do I change the color bar so that I have high red, middle white, and low black?
