Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

Adding text under markers of a plotly express scatter_mapbox

$
0
0

@hadi wrote:

Hi, is there a way of adding some text under the markers created in a scatter_mapbox, i was able to find something for plotly.graph_objects (https://plot.ly/python/scattermapbox/) library but not for the plotly.express library. below is a snippet of the code, i would like to show “Num” under the marker on the map itself. any help would be appreciated.

fig1 = px.scatter_mapbox(map_df3, lat="lat", lon="lon", hover_name="Num", hover_data=["country", "Num"], zoom=2, height=650, color="Num")

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles