dric2018 commited on
Commit
e8e3614
·
verified ·
1 Parent(s): 9707089

Upload app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -36,8 +36,8 @@ def get_info(idx:int, df):
36
  Overall Performance: **{capacity} petaFLOPS**
37
  ({last_update})
38
  {addr}
39
- Website: {url}
40
  """,
 
41
  style={"white-space": "pre"}
42
  )
43
  return info
@@ -60,7 +60,7 @@ fig = go.Figure(data=go.Choropleth(
60
 
61
  fig.update_layout(
62
  geo_scope='africa',
63
- height=400,
64
  #margin={"r": 0, "t": 0, "l": 0, "b": 0},
65
  margin={"r": 0, "t": 0, "b": 0},
66
  autosize=True,
@@ -84,7 +84,7 @@ fig.update_geos(
84
 
85
  # App
86
  external_stylesheets = ["https://fonts.googleapis.com/css2?family=Tahoma&display=swap"]
87
- app = dash.Dash("Africa HPC Tracker", external_stylesheets=external_stylesheets)
88
  server = app.server
89
 
90
  TITLE_COLOR = "#095C73"
 
36
  Overall Performance: **{capacity} petaFLOPS**
37
  ({last_update})
38
  {addr}
 
39
  """,
40
+ # Website: {url}
41
  style={"white-space": "pre"}
42
  )
43
  return info
 
60
 
61
  fig.update_layout(
62
  geo_scope='africa',
63
+ height=500,
64
  #margin={"r": 0, "t": 0, "l": 0, "b": 0},
65
  margin={"r": 0, "t": 0, "b": 0},
66
  autosize=True,
 
84
 
85
  # App
86
  external_stylesheets = ["https://fonts.googleapis.com/css2?family=Tahoma&display=swap"]
87
+ app = dash.Dash("Africa Compute Tracker", external_stylesheets=external_stylesheets)
88
  server = app.server
89
 
90
  TITLE_COLOR = "#095C73"