From 9424d18fcc13ded281df8041b7cda41910fd20c7 Mon Sep 17 00:00:00 2001 From: Lukas Metzger Date: Fri, 29 May 2020 20:05:40 +0200 Subject: Added title to new graphs --- pages/machines.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pages/machines.py b/pages/machines.py index ab0b413..0bac558 100644 --- a/pages/machines.py +++ b/pages/machines.py @@ -187,7 +187,8 @@ def make_graph_locations(days, date, clickData, prop): y=[item['count'] for item in data] )) figure.update_layout( - height = 400 + height = 400, + title_text = item ) return dict(display='block'), figure -- cgit v1.2.3-55-g7522