Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dict(type='scattergeo',
- locationmode='country names',
- lon = [From_lon,To_lon],
- lat = [From_lat,To_lat],
- mode='lines + markers',
- opacity = max(min(1,float(df.iloc[i]['Volume']/2000)),0.1),
- #opacity = min(1,float(df.iloc[i]['Volume']/1000)),
- name = df.iloc[i]['ALP From'] + "->" + df.iloc[i]['ALP To'] + " " + df.iloc[i]['Volume'].astype(str),
- hoverinfo="name",
- line = dict(color=df.iloc[i]['Marker_col'],
- width = max(2,df.iloc[i]['Volume']/2000)
- )
Add Comment
Please, Sign In to add comment