mirix commited on
Commit
ef63346
·
verified ·
1 Parent(s): 474846a

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -245,7 +245,7 @@ def parse_gpx(df_gpx, hdate):
245
  df_wp['Rain level'] = df_wp['Rain level'].astype(str)
246
  df_wp['Wind level'] = df_wp['Wind level'].astype(str)
247
 
248
- df_wp['dist_read'] = ('<p style="font-family:sans; font-size:14px;"><b>' +
249
  df_wp['Weather outline'] + '</b><br><br>' +
250
  df_wp['Temp (°C)'] + '<br><br>' +
251
  df_wp['Rain level'] + '<br>' +
@@ -577,7 +577,7 @@ def display_hover(hoverData):
577
  txt_src = df_row['dist_read']
578
 
579
  children = [html.Div([html.Img(src=img_src, style={'width': '100%'}), Purify(txt_src),],
580
- style={'width': '128px', 'white-space': 'normal'})]
581
 
582
  return True, bbox, children
583
 
 
245
  df_wp['Rain level'] = df_wp['Rain level'].astype(str)
246
  df_wp['Wind level'] = df_wp['Wind level'].astype(str)
247
 
248
+ df_wp['dist_read'] = ('<p style="font-family:sans; font-size:12px;"><b>' +
249
  df_wp['Weather outline'] + '</b><br><br>' +
250
  df_wp['Temp (°C)'] + '<br><br>' +
251
  df_wp['Rain level'] + '<br>' +
 
577
  txt_src = df_row['dist_read']
578
 
579
  children = [html.Div([html.Img(src=img_src, style={'width': '100%'}), Purify(txt_src),],
580
+ style={'width': '96px', 'white-space': 'normal'})]
581
 
582
  return True, bbox, children
583