diff options
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' |