generated from Code-Institute-Org/gitpod-full-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
line2.html
85 lines (51 loc) · 5.42 KB
/
line2.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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bokeh Plot</title>
<script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-2.3.3.min.js" integrity="sha384-dM3QQsP+wXdHg42wTqW85BjZQdLNNIXqlPw/BgKoExPmTG7ZLML4EGqLMfqHT6ON" crossorigin="anonymous"></script>
<script type="text/javascript">
Bokeh.set_log_level("info");
</script>
</head>
<body>
<div class="bk-root" id="0f7916a9-e07f-4845-851e-5d77e4f36ea4" data-root-id="1149"></div>
<script type="application/json" id="1298">
{"7ab7b504-79b6-4f4e-81d0-59f1bb085a75":{"defs":[],"roots":{"references":[{"attributes":{},"id":"1190","type":"BasicTickFormatter"},{"attributes":{"axis_label":"Y Axis Data","formatter":{"id":"1193"},"major_label_policy":{"id":"1195"},"minor_tick_line_color":null,"ticker":{"id":"1163"}},"id":"1162","type":"LinearAxis"},{"attributes":{"source":{"id":"1180"}},"id":"1184","type":"CDSView"},{"attributes":{},"id":"1192","type":"AllLabels"},{"attributes":{},"id":"1156","type":"LinearScale"},{"attributes":{"axis_label":"X Axis Data","formatter":{"id":"1190"},"major_label_policy":{"id":"1192"},"minor_tick_line_color":null,"ticker":{"id":"1159"}},"id":"1158","type":"LinearAxis"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","x":{"field":"x"},"y":{"field":"y"}},"id":"1182","type":"Line"},{"attributes":{},"id":"1159","type":"BasicTicker"},{"attributes":{},"id":"1152","type":"DataRange1d"},{"attributes":{},"id":"1171","type":"HelpTool"},{"attributes":{},"id":"1197","type":"UnionRenderers"},{"attributes":{"axis":{"id":"1158"},"ticker":null},"id":"1161","type":"Grid"},{"attributes":{},"id":"1198","type":"Selection"},{"attributes":{"below":[{"id":"1158"}],"center":[{"id":"1161"},{"id":"1165"}],"left":[{"id":"1162"}],"renderers":[{"id":"1183"}],"title":{"id":"1185"},"toolbar":{"id":"1173"},"x_range":{"id":"1150"},"x_scale":{"id":"1154"},"y_range":{"id":"1152"},"y_scale":{"id":"1156"}},"id":"1149","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"1193","type":"BasicTickFormatter"},{"attributes":{},"id":"1150","type":"DataRange1d"},{"attributes":{"axis":{"id":"1162"},"dimension":1,"ticker":null},"id":"1165","type":"Grid"},{"attributes":{},"id":"1195","type":"AllLabels"},{"attributes":{},"id":"1163","type":"BasicTicker"},{"attributes":{"data_source":{"id":"1180"},"glyph":{"id":"1181"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1182"},"view":{"id":"1184"}},"id":"1183","type":"GlyphRenderer"},{"attributes":{"line_color":"#1f77b4","x":{"field":"x"},"y":{"field":"y"}},"id":"1181","type":"Line"},{"attributes":{"active_multi":null,"tools":[{"id":"1166"},{"id":"1167"},{"id":"1168"},{"id":"1169"},{"id":"1170"},{"id":"1171"}]},"id":"1173","type":"Toolbar"},{"attributes":{},"id":"1167","type":"WheelZoomTool"},{"attributes":{"text":"Cool Data","text_color":"Gray"},"id":"1185","type":"Title"},{"attributes":{},"id":"1166","type":"PanTool"},{"attributes":{},"id":"1154","type":"LinearScale"},{"attributes":{"bottom_units":"screen","fill_alpha":0.5,"fill_color":"lightgrey","left_units":"screen","level":"overlay","line_alpha":1.0,"line_color":"black","line_dash":[4,4],"line_width":2,"right_units":"screen","syncable":false,"top_units":"screen"},"id":"1172","type":"BoxAnnotation"},{"attributes":{"overlay":{"id":"1172"}},"id":"1168","type":"BoxZoomTool"},{"attributes":{"data":{"x":[1,2,3,4,5],"y":[6,7,8,9,10]},"selected":{"id":"1198"},"selection_policy":{"id":"1197"}},"id":"1180","type":"ColumnDataSource"},{"attributes":{},"id":"1169","type":"SaveTool"},{"attributes":{},"id":"1170","type":"ResetTool"}],"root_ids":["1149"]},"title":"Bokeh Application","version":"2.3.3"}}
</script>
<script type="text/javascript">
(function() {
var fn = function() {
Bokeh.safely(function() {
(function(root) {
function embed_document(root) {
var docs_json = document.getElementById('1298').textContent;
var render_items = [{"docid":"7ab7b504-79b6-4f4e-81d0-59f1bb085a75","root_ids":["1149"],"roots":{"1149":"0f7916a9-e07f-4845-851e-5d77e4f36ea4"}}];
root.Bokeh.embed.embed_items(docs_json, render_items);
}
if (root.Bokeh !== undefined) {
embed_document(root);
} else {
var attempts = 0;
var 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>