-
Notifications
You must be signed in to change notification settings - Fork 0
/
plotting.html
48 lines (41 loc) · 9.84 KB
/
plotting.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
<!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.12.5.min.css" type="text/css" />
<script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-0.12.5.min.js"></script>
<script type="text/javascript">
Bokeh.set_log_level("info");
</script>
<style>
html {
width: 100%;
height: 100%;
}
body {
width: 90%;
height: 100%;
margin: auto;
}
</style>
</head>
<body>
<div class="bk-root">
<div class="bk-plotdiv" id="d51e072f-6f1d-4c70-bf5f-211c9796eccf"></div>
</div>
<script type="text/javascript">
(function() {
var fn = function() {
Bokeh.safely(function() {
var docs_json = {"ca735c0a-ad95-4878-a516-63087437da64":{"roots":{"references":[{"attributes":{"data_source":{"id":"66836fd0-82c4-4f31-8b43-48456aa68c4a","type":"ColumnDataSource"},"glyph":{"id":"663ac5b4-dc49-44ab-93e3-8aa030750412","type":"Quad"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1f76a0f6-ec0b-424f-8f37-3ff697990ba1","type":"Quad"},"selection_glyph":null},"id":"c28925e6-aa51-4741-9e03-3201e50886cc","type":"GlyphRenderer"},{"attributes":{},"id":"134caa9e-c935-403b-85fe-b5c0177ce736","type":"DatetimeTickFormatter"},{"attributes":{"bottom":{"value":0},"fill_color":{"value":"blue"},"left":{"field":"Start"},"line_color":{"value":"blue"},"right":{"field":"End"},"top":{"value":1}},"id":"663ac5b4-dc49-44ab-93e3-8aa030750412","type":"Quad"},{"attributes":{"callback":null},"id":"88d10f7b-55c7-4771-ad87-d958c1992502","type":"DataRange1d"},{"attributes":{"active_drag":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"af7b5749-67d2-456e-823f-7fa02a581329","type":"PanTool"},{"id":"aef4b93f-4a0a-427b-8313-555057650f0f","type":"WheelZoomTool"},{"id":"b1f08184-1aa7-4232-9b5b-e592577f1fdb","type":"BoxZoomTool"},{"id":"4fbfb03f-33b7-470b-a82d-dfcd7621789b","type":"SaveTool"},{"id":"38cff7c4-31c9-4ed6-8d34-38592d6a2315","type":"ResetTool"},{"id":"932bbc3b-b197-4dc2-a68f-0c0952d38465","type":"HelpTool"},{"id":"dda188af-e15f-4b71-857b-83f6752fc55f","type":"HoverTool"}]},"id":"8d7209b9-c51c-44ae-9f3e-2077cd557750","type":"Toolbar"},{"attributes":{"plot":null,"text":"Motion Detection Graph"},"id":"bbb7f72e-7645-49c5-872c-622753a2ba5f","type":"Title"},{"attributes":{"bottom":{"value":0},"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"left":{"field":"Start"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"right":{"field":"End"},"top":{"value":1}},"id":"1f76a0f6-ec0b-424f-8f37-3ff697990ba1","type":"Quad"},{"attributes":{"formatter":{"id":"134caa9e-c935-403b-85fe-b5c0177ce736","type":"DatetimeTickFormatter"},"plot":{"id":"189f3af4-0efc-40da-aa9d-73e1ffef65ab","subtype":"Figure","type":"Plot"},"ticker":{"id":"9d41126f-5fb2-4288-9bda-71cc60103728","type":"DatetimeTicker"}},"id":"b4d101ce-5ec3-4df5-b001-9f381ff35d95","type":"DatetimeAxis"},{"attributes":{"callback":null},"id":"197620a9-4119-4670-be9b-372b933ec292","type":"DataRange1d"},{"attributes":{"callback":null,"column_names":["Start","End","Start_string","End_string","index"],"data":{"End":{"__ndarray__":"G7OrgN45dkJ7KCiC3jl2Qj2WSIPeOXZCzyODg945dkIEPMiF3jl2Qg==","dtype":"float64","shape":[5]},"End_string":["2018-05-26 19:23:40","2018-05-26 19:23:46","2018-05-26 19:23:50","2018-05-26 19:23:51","2018-05-26 19:24:01"],"Start":{"__ndarray__":"OSJYgN45dkLPLfqB3jl2Qo3PHoPeOXZCWOFlg945dkKotACE3jl2Qg==","dtype":"float64","shape":[5]},"Start_string":["2018-05-26 19:23:38","2018-05-26 19:23:45","2018-05-26 19:23:50","2018-05-26 19:23:51","2018-05-26 19:23:53"],"index":[0,1,2,3,4]}},"id":"66836fd0-82c4-4f31-8b43-48456aa68c4a","type":"ColumnDataSource"},{"attributes":{"num_minor_ticks":5},"id":"9d41126f-5fb2-4288-9bda-71cc60103728","type":"DatetimeTicker"},{"attributes":{"plot":{"id":"189f3af4-0efc-40da-aa9d-73e1ffef65ab","subtype":"Figure","type":"Plot"},"ticker":{"id":"9d41126f-5fb2-4288-9bda-71cc60103728","type":"DatetimeTicker"}},"id":"76301278-55ef-40b7-bad8-51b2f1ff0252","type":"Grid"},{"attributes":{"formatter":{"id":"389ba5a2-a1bd-4a7c-b93a-f3f07f470b26","type":"BasicTickFormatter"},"minor_tick_line_color":{"value":null},"plot":{"id":"189f3af4-0efc-40da-aa9d-73e1ffef65ab","subtype":"Figure","type":"Plot"},"ticker":{"id":"74c8f815-7caf-4fa9-b7af-3ba5bfbd55d1","type":"BasicTicker"}},"id":"1e8c1251-48c6-4eb0-abc3-a8294e2bde05","type":"LinearAxis"},{"attributes":{"max_interval":500.0,"num_minor_ticks":0},"id":"86b3202b-90bf-4eec-93c8-b3508a20d1f2","type":"AdaptiveTicker"},{"attributes":{"desired_num_ticks":1},"id":"74c8f815-7caf-4fa9-b7af-3ba5bfbd55d1","type":"BasicTicker"},{"attributes":{"base":24,"mantissas":[1,2,4,6,8,12],"max_interval":43200000.0,"min_interval":3600000.0,"num_minor_ticks":0},"id":"254f6e5b-4c3b-4c42-8735-e969f35bb069","type":"AdaptiveTicker"},{"attributes":{"dimension":1,"plot":{"id":"189f3af4-0efc-40da-aa9d-73e1ffef65ab","subtype":"Figure","type":"Plot"},"ticker":{"id":"74c8f815-7caf-4fa9-b7af-3ba5bfbd55d1","type":"BasicTicker"}},"id":"1c179849-0ef3-439e-9787-d3f213dd1d61","type":"Grid"},{"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":"5e327f3b-7373-46f8-ab37-c7b75b7a18d5","type":"BoxAnnotation"},{"attributes":{"base":60,"mantissas":[1,2,5,10,15,20,30],"max_interval":1800000.0,"min_interval":1000.0,"num_minor_ticks":0},"id":"29fd6f3c-660d-42d8-8836-b34d07623742","type":"AdaptiveTicker"},{"attributes":{"plot":{"id":"189f3af4-0efc-40da-aa9d-73e1ffef65ab","subtype":"Figure","type":"Plot"}},"id":"af7b5749-67d2-456e-823f-7fa02a581329","type":"PanTool"},{"attributes":{},"id":"e29d1c95-8e7d-4ba1-a177-f9e62526ba5c","type":"ToolEvents"},{"attributes":{"plot":{"id":"189f3af4-0efc-40da-aa9d-73e1ffef65ab","subtype":"Figure","type":"Plot"}},"id":"aef4b93f-4a0a-427b-8313-555057650f0f","type":"WheelZoomTool"},{"attributes":{"overlay":{"id":"5e327f3b-7373-46f8-ab37-c7b75b7a18d5","type":"BoxAnnotation"},"plot":{"id":"189f3af4-0efc-40da-aa9d-73e1ffef65ab","subtype":"Figure","type":"Plot"}},"id":"b1f08184-1aa7-4232-9b5b-e592577f1fdb","type":"BoxZoomTool"},{"attributes":{"plot":{"id":"189f3af4-0efc-40da-aa9d-73e1ffef65ab","subtype":"Figure","type":"Plot"}},"id":"4fbfb03f-33b7-470b-a82d-dfcd7621789b","type":"SaveTool"},{"attributes":{"plot":{"id":"189f3af4-0efc-40da-aa9d-73e1ffef65ab","subtype":"Figure","type":"Plot"}},"id":"38cff7c4-31c9-4ed6-8d34-38592d6a2315","type":"ResetTool"},{"attributes":{"plot":{"id":"189f3af4-0efc-40da-aa9d-73e1ffef65ab","subtype":"Figure","type":"Plot"}},"id":"932bbc3b-b197-4dc2-a68f-0c0952d38465","type":"HelpTool"},{"attributes":{"days":[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]},"id":"3e05211a-a24a-4c29-951c-0ac76d2491c4","type":"DaysTicker"},{"attributes":{},"id":"389ba5a2-a1bd-4a7c-b93a-f3f07f470b26","type":"BasicTickFormatter"},{"attributes":{"days":[1,4,7,10,13,16,19,22,25,28]},"id":"853b3d1f-98a8-479a-8b07-af15684707ce","type":"DaysTicker"},{"attributes":{"days":[1,8,15,22]},"id":"01c6a467-a29f-4315-93e0-eae4bf8a2a0b","type":"DaysTicker"},{"attributes":{"days":[1,15]},"id":"a2d21621-d1a7-4003-b6d5-76bbf4e2a2a9","type":"DaysTicker"},{"attributes":{"months":[0,1,2,3,4,5,6,7,8,9,10,11]},"id":"30c18173-8fc1-420d-91d5-30d0f08d2f36","type":"MonthsTicker"},{"attributes":{"months":[0,2,4,6,8,10]},"id":"e8455433-e522-486a-bed6-9bb7a22b87bd","type":"MonthsTicker"},{"attributes":{"months":[0,4,8]},"id":"eb328842-ebd1-4c7f-9fc2-b3b5e647ed9c","type":"MonthsTicker"},{"attributes":{"below":[{"id":"b4d101ce-5ec3-4df5-b001-9f381ff35d95","type":"DatetimeAxis"}],"left":[{"id":"1e8c1251-48c6-4eb0-abc3-a8294e2bde05","type":"LinearAxis"}],"plot_height":100,"plot_width":500,"renderers":[{"id":"b4d101ce-5ec3-4df5-b001-9f381ff35d95","type":"DatetimeAxis"},{"id":"76301278-55ef-40b7-bad8-51b2f1ff0252","type":"Grid"},{"id":"1e8c1251-48c6-4eb0-abc3-a8294e2bde05","type":"LinearAxis"},{"id":"1c179849-0ef3-439e-9787-d3f213dd1d61","type":"Grid"},{"id":"5e327f3b-7373-46f8-ab37-c7b75b7a18d5","type":"BoxAnnotation"},{"id":"c28925e6-aa51-4741-9e03-3201e50886cc","type":"GlyphRenderer"}],"sizing_mode":"scale_width","title":{"id":"bbb7f72e-7645-49c5-872c-622753a2ba5f","type":"Title"},"tool_events":{"id":"e29d1c95-8e7d-4ba1-a177-f9e62526ba5c","type":"ToolEvents"},"toolbar":{"id":"8d7209b9-c51c-44ae-9f3e-2077cd557750","type":"Toolbar"},"x_range":{"id":"88d10f7b-55c7-4771-ad87-d958c1992502","type":"DataRange1d"},"y_range":{"id":"197620a9-4119-4670-be9b-372b933ec292","type":"DataRange1d"}},"id":"189f3af4-0efc-40da-aa9d-73e1ffef65ab","subtype":"Figure","type":"Plot"},{"attributes":{"callback":null,"plot":{"id":"189f3af4-0efc-40da-aa9d-73e1ffef65ab","subtype":"Figure","type":"Plot"},"tooltips":[["Start","@Start_string"],["End","@End_string"]]},"id":"dda188af-e15f-4b71-857b-83f6752fc55f","type":"HoverTool"},{"attributes":{"months":[0,6]},"id":"d93464d0-19b1-4a95-9fef-00b4c8dbf1d6","type":"MonthsTicker"},{"attributes":{},"id":"dfeac08d-d3ec-4545-b057-5dfe4c5d995d","type":"YearsTicker"}],"root_ids":["189f3af4-0efc-40da-aa9d-73e1ffef65ab"]},"title":"Bokeh Application","version":"0.12.5"}};
var render_items = [{"docid":"ca735c0a-ad95-4878-a516-63087437da64","elementid":"d51e072f-6f1d-4c70-bf5f-211c9796eccf","modelid":"189f3af4-0efc-40da-aa9d-73e1ffef65ab"}];
Bokeh.embed.embed_items(docs_json, render_items);
});
};
if (document.readyState != "loading") fn();
else document.addEventListener("DOMContentLoaded", fn);
})();
</script>
</body>
</html>