This repository has been archived by the owner on Oct 15, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathpoints.html
48 lines (41 loc) · 7.44 KB
/
points.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.4.min.css" type="text/css" />
<script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-0.12.4.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="a5517933-4920-4dd9-93a7-e2537c54dd42"></div>
</div>
<script type="text/javascript">
(function() {
var fn = function() {
Bokeh.safely(function() {
var docs_json = {"cd554c9e-72cd-49ae-a626-bff834798f24":{"roots":{"references":[{"attributes":{"plot":{"id":"d17b41e0-2b13-42aa-b59c-7e0b235dc531","subtype":"Figure","type":"Plot"},"ticker":{"id":"95664c7e-fb4d-439e-ac2f-cfbf3796b7c8","type":"BasicTicker"}},"id":"e69e223e-1eae-4bf9-86b6-a60d4c6e8e54","type":"Grid"},{"attributes":{},"id":"93f6b71d-9bb0-410d-aec6-fa39d1702c07","type":"BasicTicker"},{"attributes":{"data_source":{"id":"733d2c17-c3e4-445f-bd7a-14a46a408d61","type":"ColumnDataSource"},"glyph":{"id":"5ca9d219-c70d-47bb-a62e-3eb5f6a9e9cd","type":"Circle"},"hover_glyph":null,"nonselection_glyph":{"id":"513391ad-e6d3-45ba-bfe1-3623cf34e446","type":"Circle"},"selection_glyph":null},"id":"2892a5d1-008d-4a43-b2a2-28cdb663b0a8","type":"GlyphRenderer"},{"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":"823e2aed-4b9d-4264-a456-35efe8c2fe8e","type":"BoxAnnotation"},{"attributes":{"plot":{"id":"d17b41e0-2b13-42aa-b59c-7e0b235dc531","subtype":"Figure","type":"Plot"}},"id":"221e5d5a-8e06-4c14-a93f-2acff64b0327","type":"HelpTool"},{"attributes":{"dimension":1,"plot":{"id":"d17b41e0-2b13-42aa-b59c-7e0b235dc531","subtype":"Figure","type":"Plot"},"ticker":{"id":"93f6b71d-9bb0-410d-aec6-fa39d1702c07","type":"BasicTicker"}},"id":"80d4963c-09a9-42a1-88b8-96f19205e32f","type":"Grid"},{"attributes":{"formatter":{"id":"4ea0e6dd-6ff9-4814-bfb9-b3c3df5ba91a","type":"BasicTickFormatter"},"plot":{"id":"d17b41e0-2b13-42aa-b59c-7e0b235dc531","subtype":"Figure","type":"Plot"},"ticker":{"id":"93f6b71d-9bb0-410d-aec6-fa39d1702c07","type":"BasicTicker"}},"id":"032c7a56-0360-41ee-877d-b7d32bbd3564","type":"LinearAxis"},{"attributes":{"fill_color":{"value":"red"},"line_color":{"value":"red"},"size":{"units":"screen","value":10},"x":{"field":"x"},"y":{"field":"y"}},"id":"5ca9d219-c70d-47bb-a62e-3eb5f6a9e9cd","type":"Circle"},{"attributes":{"active_drag":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"2dd6e0cc-8f25-419e-9aa7-878267c587d1","type":"PanTool"},{"id":"7eab83c3-8a62-4463-bc9f-1a80b1505e79","type":"WheelZoomTool"},{"id":"f4b2a5f3-e6fa-40f4-8b4b-8f4512ec23b9","type":"BoxZoomTool"},{"id":"f77c51ed-a844-405e-8284-c20b8ddf729e","type":"SaveTool"},{"id":"42ae43c5-658b-4c4a-99bf-848c80d48c85","type":"ResetTool"},{"id":"221e5d5a-8e06-4c14-a93f-2acff64b0327","type":"HelpTool"}]},"id":"060f6b16-611d-447f-82d8-78917f02e89c","type":"Toolbar"},{"attributes":{"plot":null,"text":"My first interactive plot!"},"id":"a2e814f2-f0d9-4de7-b984-7e77f02f7f39","type":"Title"},{"attributes":{},"id":"fb0ba925-8a27-4ef3-aa4c-fa8b7531ce14","type":"ToolEvents"},{"attributes":{"below":[{"id":"28a1052b-9258-4e9a-a833-a2f643c1cc80","type":"LinearAxis"}],"css_classes":null,"left":[{"id":"032c7a56-0360-41ee-877d-b7d32bbd3564","type":"LinearAxis"}],"renderers":[{"id":"28a1052b-9258-4e9a-a833-a2f643c1cc80","type":"LinearAxis"},{"id":"e69e223e-1eae-4bf9-86b6-a60d4c6e8e54","type":"Grid"},{"id":"032c7a56-0360-41ee-877d-b7d32bbd3564","type":"LinearAxis"},{"id":"80d4963c-09a9-42a1-88b8-96f19205e32f","type":"Grid"},{"id":"823e2aed-4b9d-4264-a456-35efe8c2fe8e","type":"BoxAnnotation"},{"id":"2892a5d1-008d-4a43-b2a2-28cdb663b0a8","type":"GlyphRenderer"}],"title":{"id":"a2e814f2-f0d9-4de7-b984-7e77f02f7f39","type":"Title"},"tool_events":{"id":"fb0ba925-8a27-4ef3-aa4c-fa8b7531ce14","type":"ToolEvents"},"toolbar":{"id":"060f6b16-611d-447f-82d8-78917f02e89c","type":"Toolbar"},"x_mapper_type":"auto","x_range":{"id":"1175e998-198f-4342-8a88-5660ef794af1","type":"DataRange1d"},"y_mapper_type":"auto","y_range":{"id":"c7f49c1d-df08-4f41-9511-979239e586a7","type":"DataRange1d"}},"id":"d17b41e0-2b13-42aa-b59c-7e0b235dc531","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"95664c7e-fb4d-439e-ac2f-cfbf3796b7c8","type":"BasicTicker"},{"attributes":{"overlay":{"id":"823e2aed-4b9d-4264-a456-35efe8c2fe8e","type":"BoxAnnotation"},"plot":{"id":"d17b41e0-2b13-42aa-b59c-7e0b235dc531","subtype":"Figure","type":"Plot"}},"id":"f4b2a5f3-e6fa-40f4-8b4b-8f4512ec23b9","type":"BoxZoomTool"},{"attributes":{"callback":null},"id":"c7f49c1d-df08-4f41-9511-979239e586a7","type":"DataRange1d"},{"attributes":{"callback":null,"column_names":["x","y"],"data":{"x":[0,1,2,3,4],"y":[5,4,1,2,0]}},"id":"733d2c17-c3e4-445f-bd7a-14a46a408d61","type":"ColumnDataSource"},{"attributes":{"plot":{"id":"d17b41e0-2b13-42aa-b59c-7e0b235dc531","subtype":"Figure","type":"Plot"}},"id":"2dd6e0cc-8f25-419e-9aa7-878267c587d1","type":"PanTool"},{"attributes":{"callback":null},"id":"1175e998-198f-4342-8a88-5660ef794af1","type":"DataRange1d"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":10},"x":{"field":"x"},"y":{"field":"y"}},"id":"513391ad-e6d3-45ba-bfe1-3623cf34e446","type":"Circle"},{"attributes":{"plot":{"id":"d17b41e0-2b13-42aa-b59c-7e0b235dc531","subtype":"Figure","type":"Plot"}},"id":"7eab83c3-8a62-4463-bc9f-1a80b1505e79","type":"WheelZoomTool"},{"attributes":{"plot":{"id":"d17b41e0-2b13-42aa-b59c-7e0b235dc531","subtype":"Figure","type":"Plot"}},"id":"42ae43c5-658b-4c4a-99bf-848c80d48c85","type":"ResetTool"},{"attributes":{},"id":"4621fc38-ce52-4b2c-be4d-963369e7f7a0","type":"BasicTickFormatter"},{"attributes":{"plot":{"id":"d17b41e0-2b13-42aa-b59c-7e0b235dc531","subtype":"Figure","type":"Plot"}},"id":"f77c51ed-a844-405e-8284-c20b8ddf729e","type":"SaveTool"},{"attributes":{},"id":"4ea0e6dd-6ff9-4814-bfb9-b3c3df5ba91a","type":"BasicTickFormatter"},{"attributes":{"formatter":{"id":"4621fc38-ce52-4b2c-be4d-963369e7f7a0","type":"BasicTickFormatter"},"plot":{"id":"d17b41e0-2b13-42aa-b59c-7e0b235dc531","subtype":"Figure","type":"Plot"},"ticker":{"id":"95664c7e-fb4d-439e-ac2f-cfbf3796b7c8","type":"BasicTicker"}},"id":"28a1052b-9258-4e9a-a833-a2f643c1cc80","type":"LinearAxis"}],"root_ids":["d17b41e0-2b13-42aa-b59c-7e0b235dc531"]},"title":"Bokeh Application","version":"0.12.4"}};
var render_items = [{"docid":"cd554c9e-72cd-49ae-a626-bff834798f24","elementid":"a5517933-4920-4dd9-93a7-e2537c54dd42","modelid":"d17b41e0-2b13-42aa-b59c-7e0b235dc531"}];
Bokeh.embed.embed_items(docs_json, render_items);
});
};
if (document.readyState != "loading") fn();
else document.addEventListener("DOMContentLoaded", fn);
})();
</script>
</body>
</html>