From 22c35eddbce1005dd807e17f017d004403c8b815 Mon Sep 17 00:00:00 2001 From: Camilo Ramirez Gomez Date: Wed, 18 Sep 2019 09:57:28 +0200 Subject: [PATCH] fixed displaying fraction years when selecting few years --- dashboard/app.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dashboard/app.py b/dashboard/app.py index 467506b..7797117 100644 --- a/dashboard/app.py +++ b/dashboard/app.py @@ -182,8 +182,7 @@ plot_bgcolor="#F9F9F9", paper_bgcolor="#F9F9F9", legend=dict(font=dict(size=10), orientation="h"), - #yaxis={'tickformat': '.0f'}, - #xaxis={'dtick': 1}, + xaxis={'tickformat': 'd'}, showlegend=True, )