summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Metzger2020-05-29 20:05:40 +0200
committerLukas Metzger2020-05-29 20:05:40 +0200
commit9424d18fcc13ded281df8041b7cda41910fd20c7 (patch)
tree357b448635e3f5d65dad566f4a3f337c2b7c7baf
parentAdded overview of location for cpumodel and systemmodel (diff)
downloadbwlp-statistics-9424d18fcc13ded281df8041b7cda41910fd20c7.tar.gz
bwlp-statistics-9424d18fcc13ded281df8041b7cda41910fd20c7.tar.xz
bwlp-statistics-9424d18fcc13ded281df8041b7cda41910fd20c7.zip
Added title to new graphs
-rw-r--r--pages/machines.py3
1 files changed, 2 insertions, 1 deletions
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