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

Geo scope won't change

$
0
0
fig = go.Figure(data= go.Scattermapbox())
fig.update_layout(
                title={'text': f'<b>{len(merged_df)} Hotspot Locations<b>',
                   'font': {
                       'size': 36,
                       'color': 'darkblue',
                   },
                   'xref': 'container',
                   'x': 0.5},
                geo= {'scope': 'world'},
                mapbox_style= "carto-positron",
                width= 1350,
                height= 800,
    )

When I change the scope to ‘usa’ or ‘europe’ nothing changes. Anyone has an idea?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles