Guest User

Untitled

a guest
Aug 19th, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. dict(type='scattergeo',
  2. locationmode='country names',
  3.  
  4. lon = [From_lon,To_lon],
  5. lat = [From_lat,To_lat],
  6. mode='lines + markers',
  7. opacity = max(min(1,float(df.iloc[i]['Volume']/2000)),0.1),
  8. #opacity = min(1,float(df.iloc[i]['Volume']/1000)),
  9. name = df.iloc[i]['ALP From'] + "->" + df.iloc[i]['ALP To'] + " " + df.iloc[i]['Volume'].astype(str),
  10. hoverinfo="name",
  11. line = dict(color=df.iloc[i]['Marker_col'],
  12. width = max(2,df.iloc[i]['Volume']/2000)
  13. )
Add Comment
Please, Sign In to add comment