summaryrefslogtreecommitdiffstats
path: root/index.py
diff options
context:
space:
mode:
Diffstat (limited to 'index.py')
-rw-r--r--index.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/index.py b/index.py
index 14316fa..ad9c77f 100644
--- a/index.py
+++ b/index.py
@@ -9,11 +9,12 @@ import plotly.graph_objects as go
import plotly.express as px
from app import app
-from pages import satellites, total
+from pages import satellites, total, machines
pages = [
{'name': 'Satellites', 'link': '/', 'id': 'satellites', 'layout': satellites.layout},
{'name': 'Total', 'link': '/total', 'id': 'total', 'layout': total.layout},
+ {'name': 'Machines', 'link': '/machines', 'id': 'machines', 'layout': machines.layout},
]
pio.templates['custom'] = dict(
@@ -24,7 +25,8 @@ pio.templates['custom'] = dict(
yanchor = 'top',
font = dict(size = 25)
),
- separators=',.'
+ separators=',.',
+ yaxis_tickformat = ',0f',
)
)
pio.templates.default = 'custom'