In this tutorial (https://plotly.com/python/lines-on-maps/ 23), the lines connecting the points are curved. However I can’t seem to recreate this behavior when using mapbox, i.e. go.Scattermapbox. With Scattermapbox the lines created are straight as shown on this page https://plotly.com/python/lines-on-mapbox/ 10. Are there any options or workarounds to join points using curved lines when using mapbox?
Thanks in advance!
flight_paths = []
for i in range(len(flights)):
fig.add_trace(
go.Scattergeo(
lon = [flights['START_LON'][i], flights['DEST_LON'][i]],
lat = [flights['START_LAT'][i], flights['DEST_LAT'][i]],
mode = 'lines',
line = dict(width = 1,color = 'red'),
)
)