-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample1.html
More file actions
83 lines (51 loc) · 9.03 KB
/
example1.html
File metadata and controls
83 lines (51 loc) · 9.03 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Bokeh Plot</title>
<link rel="stylesheet" href="https://cdn.pydata.org/bokeh/release/bokeh-0.13.0.min.css" type="text/css" />
<script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-0.13.0.min.js"></script>
<script type="text/javascript">
Bokeh.set_log_level("info");
</script>
</head>
<body>
<div class="bk-root" id="4da702fc-94d5-4c6c-94de-82c486a8808f"></div>
<script type="application/json" id="d1f98a42-af04-4609-9abe-dd5cbcd52d5c">
{"a7ed1449-f350-4ff6-9aff-bd5ce58f9b87":{"roots":{"references":[{"attributes":{},"id":"61e3e2e5-26e3-49fb-a1da-de7c390a382f","type":"UnionRenderers"},{"attributes":{},"id":"4ae45073-ad61-4628-8e3d-c33ab6c86907","type":"BasicTickFormatter"},{"attributes":{"callback":null,"end":4},"id":"a8f18f1a-d9ae-4629-a552-e3088d0facbd","type":"Range1d"},{"attributes":{"color_mapper":{"id":"568f3222-ea7a-4754-9f12-78edb589d988","type":"LinearColorMapper"},"dh":{"units":"data","value":2},"dw":{"units":"data","value":2},"image":{"field":"image"},"x":{"value":0},"y":{"value":0}},"id":"d2a9a4cc-72a8-43ea-80a8-f46545be51c9","type":"Image"},{"attributes":{},"id":"73de8082-c6ff-4f20-9b48-c48edd25cb4b","type":"BasicTickFormatter"},{"attributes":{"palette":["#000000","#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0","#ffffff"]},"id":"568f3222-ea7a-4754-9f12-78edb589d988","type":"LinearColorMapper"},{"attributes":{},"id":"770e4606-0afd-44b4-ae80-3b2e1fb5dec3","type":"SaveTool"},{"attributes":{"formatter":{"id":"73de8082-c6ff-4f20-9b48-c48edd25cb4b","type":"BasicTickFormatter"},"plot":{"id":"642c588a-99c6-4787-b45a-66d4305f386c","subtype":"Figure","type":"Plot"},"ticker":{"id":"5d67d6b6-2e3f-4f0f-a3d5-a6aa0857a41c","type":"BasicTicker"}},"id":"0411b7c7-8774-4430-8285-e552bfa3c2a0","type":"LinearAxis"},{"attributes":{},"id":"e568e107-ce36-483a-b16a-0caa5771f43d","type":"PanTool"},{"attributes":{},"id":"5cc13fa8-6609-41fb-9f1b-65ec6aa5aec7","type":"LinearScale"},{"attributes":{"data_source":{"id":"daf1c045-c684-49c5-8bc0-aa2ce421798e","type":"ColumnDataSource"},"glyph":{"id":"3844c99a-c373-4f85-badc-455c267bb131","type":"Image"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"d2a9a4cc-72a8-43ea-80a8-f46545be51c9","type":"Image"},"selection_glyph":null,"view":{"id":"46d545bf-fca9-4b58-b6e4-9bdee8b54508","type":"CDSView"}},"id":"93197970-7d03-4789-affe-861279b61a9c","type":"GlyphRenderer"},{"attributes":{},"id":"d2231cb1-36da-4004-ae67-32dcfc03fcd0","type":"LinearScale"},{"attributes":{},"id":"84043d27-0d97-4faf-8c5b-3d0bd11674f0","type":"ResetTool"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"e568e107-ce36-483a-b16a-0caa5771f43d","type":"PanTool"},{"id":"c5f3aea3-dd24-48fa-8048-ef241b300fd7","type":"WheelZoomTool"},{"id":"38d01acf-0659-4d53-af68-18381f2b8a66","type":"BoxZoomTool"},{"id":"770e4606-0afd-44b4-ae80-3b2e1fb5dec3","type":"SaveTool"},{"id":"84043d27-0d97-4faf-8c5b-3d0bd11674f0","type":"ResetTool"},{"id":"7cdbf0e0-0f2d-44cb-a93a-2dcdac90c7df","type":"HelpTool"}]},"id":"058df2f8-a1dc-46a3-b8f9-62cec00bb636","type":"Toolbar"},{"attributes":{"color_mapper":{"id":"bb70b1b5-6e3e-430e-bd86-091524b59a8f","type":"LinearColorMapper"},"dh":{"units":"data","value":2},"dw":{"units":"data","value":2},"image":{"field":"image"},"x":{"value":0},"y":{"value":0}},"id":"3844c99a-c373-4f85-badc-455c267bb131","type":"Image"},{"attributes":{},"id":"325fd599-8c9b-4c60-ac37-9ac00a1f34b1","type":"BasicTicker"},{"attributes":{"source":{"id":"daf1c045-c684-49c5-8bc0-aa2ce421798e","type":"ColumnDataSource"}},"id":"46d545bf-fca9-4b58-b6e4-9bdee8b54508","type":"CDSView"},{"attributes":{"bottom_units":"screen","fill_alpha":{"value":0.5},"fill_color":{"value":"lightgrey"},"left_units":"screen","level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":"black"},"line_dash":[4,4],"line_width":{"value":2},"plot":null,"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"5778e866-cf7c-4aa4-ace9-28bc322f72da","type":"BoxAnnotation"},{"attributes":{"palette":["#000000","#252525","#525252","#737373","#969696","#bdbdbd","#d9d9d9","#f0f0f0","#ffffff"]},"id":"bb70b1b5-6e3e-430e-bd86-091524b59a8f","type":"LinearColorMapper"},{"attributes":{"callback":null,"data":{"image":[[[1,3.0],[2,4]]]},"selected":{"id":"ef7f4f30-7e5e-4c32-928c-6c50b93ecba6","type":"Selection"},"selection_policy":{"id":"61e3e2e5-26e3-49fb-a1da-de7c390a382f","type":"UnionRenderers"}},"id":"daf1c045-c684-49c5-8bc0-aa2ce421798e","type":"ColumnDataSource"},{"attributes":{"plot":null,"text":""},"id":"5565e895-c810-4c2c-b5bf-0369f5ebefd8","type":"Title"},{"attributes":{"callback":null,"end":4},"id":"b8a66616-0f01-429e-b1d9-79cd0c0a5e67","type":"Range1d"},{"attributes":{"plot":{"id":"642c588a-99c6-4787-b45a-66d4305f386c","subtype":"Figure","type":"Plot"},"ticker":{"id":"325fd599-8c9b-4c60-ac37-9ac00a1f34b1","type":"BasicTicker"}},"id":"0991cd9b-1bae-45f4-967f-d735fde60c38","type":"Grid"},{"attributes":{},"id":"5d67d6b6-2e3f-4f0f-a3d5-a6aa0857a41c","type":"BasicTicker"},{"attributes":{"formatter":{"id":"4ae45073-ad61-4628-8e3d-c33ab6c86907","type":"BasicTickFormatter"},"plot":{"id":"642c588a-99c6-4787-b45a-66d4305f386c","subtype":"Figure","type":"Plot"},"ticker":{"id":"325fd599-8c9b-4c60-ac37-9ac00a1f34b1","type":"BasicTicker"}},"id":"109d18b1-c05b-4866-b229-23e8b4c5157d","type":"LinearAxis"},{"attributes":{"dimension":1,"plot":{"id":"642c588a-99c6-4787-b45a-66d4305f386c","subtype":"Figure","type":"Plot"},"ticker":{"id":"5d67d6b6-2e3f-4f0f-a3d5-a6aa0857a41c","type":"BasicTicker"}},"id":"913489cf-62d8-4e94-b745-31b126abcd07","type":"Grid"},{"attributes":{},"id":"c5f3aea3-dd24-48fa-8048-ef241b300fd7","type":"WheelZoomTool"},{"attributes":{},"id":"ef7f4f30-7e5e-4c32-928c-6c50b93ecba6","type":"Selection"},{"attributes":{},"id":"7cdbf0e0-0f2d-44cb-a93a-2dcdac90c7df","type":"HelpTool"},{"attributes":{"below":[{"id":"109d18b1-c05b-4866-b229-23e8b4c5157d","type":"LinearAxis"}],"left":[{"id":"0411b7c7-8774-4430-8285-e552bfa3c2a0","type":"LinearAxis"}],"plot_height":200,"plot_width":200,"renderers":[{"id":"109d18b1-c05b-4866-b229-23e8b4c5157d","type":"LinearAxis"},{"id":"0991cd9b-1bae-45f4-967f-d735fde60c38","type":"Grid"},{"id":"0411b7c7-8774-4430-8285-e552bfa3c2a0","type":"LinearAxis"},{"id":"913489cf-62d8-4e94-b745-31b126abcd07","type":"Grid"},{"id":"5778e866-cf7c-4aa4-ace9-28bc322f72da","type":"BoxAnnotation"},{"id":"93197970-7d03-4789-affe-861279b61a9c","type":"GlyphRenderer"}],"title":{"id":"5565e895-c810-4c2c-b5bf-0369f5ebefd8","type":"Title"},"toolbar":{"id":"058df2f8-a1dc-46a3-b8f9-62cec00bb636","type":"Toolbar"},"x_range":{"id":"a8f18f1a-d9ae-4629-a552-e3088d0facbd","type":"Range1d"},"x_scale":{"id":"5cc13fa8-6609-41fb-9f1b-65ec6aa5aec7","type":"LinearScale"},"y_range":{"id":"b8a66616-0f01-429e-b1d9-79cd0c0a5e67","type":"Range1d"},"y_scale":{"id":"d2231cb1-36da-4004-ae67-32dcfc03fcd0","type":"LinearScale"}},"id":"642c588a-99c6-4787-b45a-66d4305f386c","subtype":"Figure","type":"Plot"},{"attributes":{"overlay":{"id":"5778e866-cf7c-4aa4-ace9-28bc322f72da","type":"BoxAnnotation"}},"id":"38d01acf-0659-4d53-af68-18381f2b8a66","type":"BoxZoomTool"}],"root_ids":["642c588a-99c6-4787-b45a-66d4305f386c"]},"title":"Bokeh Application","version":"0.13.0"}}
</script>
<script type="text/javascript">
(function() {
var fn = function() {
Bokeh.safely(function() {
(function(root) {
function embed_document(root) {
var docs_json = document.getElementById('d1f98a42-af04-4609-9abe-dd5cbcd52d5c').textContent;
var render_items = [{"docid":"a7ed1449-f350-4ff6-9aff-bd5ce58f9b87","roots":{"642c588a-99c6-4787-b45a-66d4305f386c":"4da702fc-94d5-4c6c-94de-82c486a8808f"}}];
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) {
embed_document(root);
clearInterval(timer);
}
attempts++;
if (attempts > 100) {
console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing")
clearInterval(timer);
}
}, 10, root)
}
})(window);
});
};
if (document.readyState != "loading") fn();
else document.addEventListener("DOMContentLoaded", fn);
})();
</script>
</body>
</html>