-
Notifications
You must be signed in to change notification settings - Fork 0
/
test.html
60 lines (59 loc) · 7.54 KB
/
test.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bokeh Plot</title>
<style>
html, body {
box-sizing: border-box;
height: 100%;
margin: 0;
padding: 0;
}
</style>
<script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-3.1.0.min.js"></script>
<script type="text/javascript">
Bokeh.set_log_level("info");
</script>
</head>
<body>
<div id="f1203ed7-c065-49d3-aaaf-eba0f0f6b46f" data-root-id="p1802" style="display: contents;"></div>
<script type="application/json" id="p2120">
{"73a6625d-4dff-41a7-bfd7-932b0708e04b":{"version":"3.1.0","title":"Bokeh Application","defs":[],"roots":[{"type":"object","name":"Figure","id":"p1802","attributes":{"x_range":{"type":"object","name":"DataRange1d","id":"p1804"},"y_range":{"type":"object","name":"DataRange1d","id":"p1803"},"x_scale":{"type":"object","name":"LinearScale","id":"p1816"},"y_scale":{"type":"object","name":"LinearScale","id":"p1818"},"title":{"type":"object","name":"Title","id":"p1805","attributes":{"text":"Mean wt increased vs. time"}},"renderers":[{"type":"object","name":"GlyphRenderer","id":"p1855","attributes":{"data_source":{"type":"object","name":"ColumnDataSource","id":"p1849","attributes":{"selected":{"type":"object","name":"Selection","id":"p1851","attributes":{"indices":[],"line_indices":[]}},"selection_policy":{"type":"object","name":"UnionRenderers","id":"p1850"},"data":{"type":"map","entries":[["x",[1,2,3,4,5,6,7,8]],["y",[0.7,1.4,2.1,3,3.85,4.55,5.8,6.45]]]}}},"view":{"type":"object","name":"CDSView","id":"p1856","attributes":{"filter":{"type":"object","name":"AllIndices","id":"p1857"}}},"glyph":{"type":"object","name":"Circle","id":"p1852","attributes":{"x":{"type":"field","field":"x"},"y":{"type":"field","field":"y"},"size":{"type":"value","value":10},"line_color":{"type":"value","value":"red"},"fill_color":{"type":"value","value":"red"},"hatch_color":{"type":"value","value":"red"}}},"nonselection_glyph":{"type":"object","name":"Circle","id":"p1853","attributes":{"x":{"type":"field","field":"x"},"y":{"type":"field","field":"y"},"size":{"type":"value","value":10},"line_color":{"type":"value","value":"red"},"line_alpha":{"type":"value","value":0.1},"fill_color":{"type":"value","value":"red"},"fill_alpha":{"type":"value","value":0.1},"hatch_color":{"type":"value","value":"red"},"hatch_alpha":{"type":"value","value":0.1}}},"muted_glyph":{"type":"object","name":"Circle","id":"p1854","attributes":{"x":{"type":"field","field":"x"},"y":{"type":"field","field":"y"},"size":{"type":"value","value":10},"line_color":{"type":"value","value":"red"},"line_alpha":{"type":"value","value":0.2},"fill_color":{"type":"value","value":"red"},"fill_alpha":{"type":"value","value":0.2},"hatch_color":{"type":"value","value":"red"},"hatch_alpha":{"type":"value","value":0.2}}}}},{"type":"object","name":"GlyphRenderer","id":"p1864","attributes":{"data_source":{"type":"object","name":"ColumnDataSource","id":"p1858","attributes":{"selected":{"type":"object","name":"Selection","id":"p1860","attributes":{"indices":[],"line_indices":[]}},"selection_policy":{"type":"object","name":"UnionRenderers","id":"p1859"},"data":{"type":"map","entries":[["x",[1,2,3,4,5,6,7,8]],["y",[1,2,3,4,5,6,7,8]]]}}},"view":{"type":"object","name":"CDSView","id":"p1865","attributes":{"filter":{"type":"object","name":"AllIndices","id":"p1866"}}},"glyph":{"type":"object","name":"Circle","id":"p1861","attributes":{"x":{"type":"field","field":"x"},"y":{"type":"field","field":"y"},"size":{"type":"value","value":10},"line_color":{"type":"value","value":"blue"},"fill_color":{"type":"value","value":"white"},"hatch_color":{"type":"value","value":"blue"}}},"nonselection_glyph":{"type":"object","name":"Circle","id":"p1862","attributes":{"x":{"type":"field","field":"x"},"y":{"type":"field","field":"y"},"size":{"type":"value","value":10},"line_color":{"type":"value","value":"blue"},"line_alpha":{"type":"value","value":0.1},"fill_color":{"type":"value","value":"white"},"fill_alpha":{"type":"value","value":0.1},"hatch_color":{"type":"value","value":"blue"},"hatch_alpha":{"type":"value","value":0.1}}},"muted_glyph":{"type":"object","name":"Circle","id":"p1863","attributes":{"x":{"type":"field","field":"x"},"y":{"type":"field","field":"y"},"size":{"type":"value","value":10},"line_color":{"type":"value","value":"blue"},"line_alpha":{"type":"value","value":0.2},"fill_color":{"type":"value","value":"white"},"fill_alpha":{"type":"value","value":0.2},"hatch_color":{"type":"value","value":"blue"},"hatch_alpha":{"type":"value","value":0.2}}}}}],"toolbar":{"type":"object","name":"Toolbar","id":"p1808","attributes":{"tools":[{"type":"object","name":"PanTool","id":"p1834"},{"type":"object","name":"WheelZoomTool","id":"p1835"},{"type":"object","name":"BoxZoomTool","id":"p1836","attributes":{"overlay":{"type":"object","name":"BoxAnnotation","id":"p1837","attributes":{"syncable":false,"level":"overlay","visible":false,"left_units":"canvas","right_units":"canvas","bottom_units":"canvas","top_units":"canvas","line_color":"black","line_alpha":1.0,"line_width":2,"line_dash":[4,4],"fill_color":"lightgrey","fill_alpha":0.5}}}},{"type":"object","name":"SaveTool","id":"p1838"},{"type":"object","name":"ResetTool","id":"p1839"},{"type":"object","name":"HelpTool","id":"p1840"}]}},"left":[{"type":"object","name":"LinearAxis","id":"p1827","attributes":{"ticker":{"type":"object","name":"BasicTicker","id":"p1828","attributes":{"mantissas":[1,2,5]}},"formatter":{"type":"object","name":"BasicTickFormatter","id":"p1830"},"axis_label":"% Mean WT increased","major_label_policy":{"type":"object","name":"AllLabels","id":"p1829"}}}],"below":[{"type":"object","name":"LinearAxis","id":"p1820","attributes":{"ticker":{"type":"object","name":"BasicTicker","id":"p1821","attributes":{"mantissas":[1,2,5]}},"formatter":{"type":"object","name":"BasicTickFormatter","id":"p1823"},"axis_label":"Time in days","major_label_policy":{"type":"object","name":"AllLabels","id":"p1822"}}}],"center":[{"type":"object","name":"Grid","id":"p1826","attributes":{"axis":{"id":"p1820"}}},{"type":"object","name":"Grid","id":"p1833","attributes":{"dimension":1,"axis":{"id":"p1827"}}}]}}],"callbacks":{"type":"map"}}}
</script>
<script type="text/javascript">
(function() {
const fn = function() {
Bokeh.safely(function() {
(function(root) {
function embed_document(root) {
const docs_json = document.getElementById('p2120').textContent;
const render_items = [{"docid":"73a6625d-4dff-41a7-bfd7-932b0708e04b","roots":{"p1802":"f1203ed7-c065-49d3-aaaf-eba0f0f6b46f"},"root_ids":["p1802"]}];
root.Bokeh.embed.embed_items(docs_json, render_items);
}
if (root.Bokeh !== undefined) {
embed_document(root);
} else {
let attempts = 0;
const timer = setInterval(function(root) {
if (root.Bokeh !== undefined) {
clearInterval(timer);
embed_document(root);
} else {
attempts++;
if (attempts > 100) {
clearInterval(timer);
console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
}
}
}, 10, root)
}
})(window);
});
};
if (document.readyState != "loading") fn();
else document.addEventListener("DOMContentLoaded", fn);
})();
</script>
</body>
</html>