diff options
author | Lukas Metzger | 2020-05-23 14:48:57 +0200 |
---|---|---|
committer | Lukas Metzger | 2020-05-23 14:48:57 +0200 |
commit | 538d843b76ccf935e805c034013509c1e3577925 (patch) | |
tree | 10064b73bc368159966f36e0bae6985f731cf7c4 /index.py | |
parent | Fix ids to be unique (diff) | |
download | bwlp-statistics-538d843b76ccf935e805c034013509c1e3577925.tar.gz bwlp-statistics-538d843b76ccf935e805c034013509c1e3577925.tar.xz bwlp-statistics-538d843b76ccf935e805c034013509c1e3577925.zip |
Added machine information and some minor fixes
Diffstat (limited to 'index.py')
-rw-r--r-- | index.py | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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' |