From 538d843b76ccf935e805c034013509c1e3577925 Mon Sep 17 00:00:00 2001 From: Lukas Metzger Date: Sat, 23 May 2020 14:48:57 +0200 Subject: Added machine information and some minor fixes --- index.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'index.py') 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' -- cgit v1.2.3-55-g7522