From 8e8bbf85e63c5efbe2df283ec5e97f4252f3d91a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20V=C3=A9ril?= Date: Fri, 20 Sep 2019 11:14:13 +0200 Subject: [PATCH] Add title to graph --- content/_index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/_index.html b/content/_index.html index 782880b0..a4fe965b 100644 --- a/content/_index.html +++ b/content/_index.html @@ -98,7 +98,8 @@ draft: false plotdat[0].y.push(ext.Eabs-exexp.Eabs) } await MathJax.typesetPromise(); - Plotly.newPlot('abs_plot', plotdat); + var layout={title: "Absorption theory deviation"} + Plotly.newPlot('abs_plot', plotdat,layout); document.getElementById("graph_div").hidden=false var lnkdoi = document.createElement("a"); // Wait for the value of publi when required @@ -145,7 +146,6 @@ draft: false