Skip to content

Commit aea4894

Browse files
rewrite html template
1 parent e2e09d8 commit aea4894

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

offline/plot.go

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,10 @@ var baseHtml = `
8383
<script src="https://cdn.plot.ly/plotly-1.54.0.min.js"></script>
8484
</head>
8585
</body>
86-
<div id="tester"></div>
86+
<div id="plot"></div>
8787
<script>
88-
console.log("start")
8988
data = JSON.parse('{{ . }}')
90-
91-
TESTER = document.getElementById('tester');
92-
Plotly.newPlot(TESTER, data);
89+
Plotly.newPlot(plot, data);
9390
</script>
9491
<body>
9592
`

0 commit comments

Comments
 (0)