-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlines.html
28 lines (22 loc) · 6.99 KB
/
lines.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>line plot example</title>
<link rel="stylesheet" href="https://cdn.pydata.org/bokeh/release/bokeh-0.11.1.min.css" type="text/css" />
<script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-0.11.1.min.js"></script>
<script type="text/javascript">
Bokeh.set_log_level("info");
</script>
</head>
<body>
<div class="plotdiv" id="df256cfd-49a6-4a7a-8c91-dd061be76ce2"></div>
<script type="text/javascript">
Bokeh.$(function() {
var docs_json = {"dfb77a82-5774-44d2-8585-f04d066d65c7":{"roots":{"references":[{"attributes":{"axis_label":"x","formatter":{"id":"6fd20aad-cc40-451a-a8b3-70922ff16311","type":"BasicTickFormatter"},"plot":{"id":"db2948c2-da06-4584-8388-9173916ec52d","subtype":"Figure","type":"Plot"},"ticker":{"id":"2b13d026-8ebb-4f33-934f-9eb2a8f84ad4","type":"BasicTicker"}},"id":"a96e3f8f-3995-487a-8158-1c85684527ac","type":"LinearAxis"},{"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":"41907c75-b981-4114-a5ff-72c204d35ce7","type":"BoxAnnotation"},{"attributes":{"plot":{"id":"db2948c2-da06-4584-8388-9173916ec52d","subtype":"Figure","type":"Plot"}},"id":"6c40753d-bd07-4d11-8b44-6d11c3cc2850","type":"PanTool"},{"attributes":{"plot":{"id":"db2948c2-da06-4584-8388-9173916ec52d","subtype":"Figure","type":"Plot"}},"id":"9d51b247-2739-423f-9d3f-bc6078eef1ea","type":"HelpTool"},{"attributes":{"plot":{"id":"db2948c2-da06-4584-8388-9173916ec52d","subtype":"Figure","type":"Plot"}},"id":"d92d34b9-34f4-4809-9e96-7fd3d08c042e","type":"PreviewSaveTool"},{"attributes":{"dimension":1,"plot":{"id":"db2948c2-da06-4584-8388-9173916ec52d","subtype":"Figure","type":"Plot"},"ticker":{"id":"c28f8dfd-c444-4acc-ad81-7a0a60bd4aac","type":"BasicTicker"}},"id":"924198cc-0f90-4e70-84fd-6c308e01e24c","type":"Grid"},{"attributes":{"axis_label":"y","formatter":{"id":"4cd08d02-9fbf-4719-88df-5a0c8d862de3","type":"BasicTickFormatter"},"plot":{"id":"db2948c2-da06-4584-8388-9173916ec52d","subtype":"Figure","type":"Plot"},"ticker":{"id":"c28f8dfd-c444-4acc-ad81-7a0a60bd4aac","type":"BasicTicker"}},"id":"6cf046bb-3820-4aca-bbde-dbc982305cb2","type":"LinearAxis"},{"attributes":{},"id":"4cd08d02-9fbf-4719-88df-5a0c8d862de3","type":"BasicTickFormatter"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"line_width":{"value":2},"x":{"field":"x"},"y":{"field":"y"}},"id":"30c0be8f-bbc1-4cae-9b27-061c956f1492","type":"Line"},{"attributes":{"callback":null},"id":"4c839559-b838-46f4-bceb-ee5649e9d8e4","type":"DataRange1d"},{"attributes":{"callback":null},"id":"60c416b0-b309-495f-876f-56eeb1f983ec","type":"DataRange1d"},{"attributes":{"below":[{"id":"a96e3f8f-3995-487a-8158-1c85684527ac","type":"LinearAxis"}],"left":[{"id":"6cf046bb-3820-4aca-bbde-dbc982305cb2","type":"LinearAxis"}],"renderers":[{"id":"a96e3f8f-3995-487a-8158-1c85684527ac","type":"LinearAxis"},{"id":"80f7e7cb-7bc2-48f6-b3c0-8af6fd284983","type":"Grid"},{"id":"6cf046bb-3820-4aca-bbde-dbc982305cb2","type":"LinearAxis"},{"id":"924198cc-0f90-4e70-84fd-6c308e01e24c","type":"Grid"},{"id":"41907c75-b981-4114-a5ff-72c204d35ce7","type":"BoxAnnotation"},{"id":"87afd9ca-c42b-40c7-94b0-d8f156eb2ec8","type":"Legend"},{"id":"b8b60049-8877-4c8c-b373-b4fbac4656d2","type":"GlyphRenderer"}],"title":"simple line example","tool_events":{"id":"8548d344-eacf-4fdb-afd8-f45664fcd111","type":"ToolEvents"},"tools":[{"id":"6c40753d-bd07-4d11-8b44-6d11c3cc2850","type":"PanTool"},{"id":"c77759bc-1995-4031-aea3-b16a6f37124c","type":"WheelZoomTool"},{"id":"9607a4f4-fcb9-48dd-b16d-1e7a47f4d1cc","type":"BoxZoomTool"},{"id":"d92d34b9-34f4-4809-9e96-7fd3d08c042e","type":"PreviewSaveTool"},{"id":"ce9f037c-34a8-4e35-a4ec-b9d77563fa77","type":"ResizeTool"},{"id":"d482eccd-5774-40a8-a2eb-eb268778a4b1","type":"ResetTool"},{"id":"9d51b247-2739-423f-9d3f-bc6078eef1ea","type":"HelpTool"}],"x_range":{"id":"60c416b0-b309-495f-876f-56eeb1f983ec","type":"DataRange1d"},"y_range":{"id":"4c839559-b838-46f4-bceb-ee5649e9d8e4","type":"DataRange1d"}},"id":"db2948c2-da06-4584-8388-9173916ec52d","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"6fd20aad-cc40-451a-a8b3-70922ff16311","type":"BasicTickFormatter"},{"attributes":{"legends":[["Temp.",[{"id":"b8b60049-8877-4c8c-b373-b4fbac4656d2","type":"GlyphRenderer"}]]],"plot":{"id":"db2948c2-da06-4584-8388-9173916ec52d","subtype":"Figure","type":"Plot"}},"id":"87afd9ca-c42b-40c7-94b0-d8f156eb2ec8","type":"Legend"},{"attributes":{"plot":{"id":"db2948c2-da06-4584-8388-9173916ec52d","subtype":"Figure","type":"Plot"}},"id":"c77759bc-1995-4031-aea3-b16a6f37124c","type":"WheelZoomTool"},{"attributes":{"plot":{"id":"db2948c2-da06-4584-8388-9173916ec52d","subtype":"Figure","type":"Plot"}},"id":"ce9f037c-34a8-4e35-a4ec-b9d77563fa77","type":"ResizeTool"},{"attributes":{},"id":"c28f8dfd-c444-4acc-ad81-7a0a60bd4aac","type":"BasicTicker"},{"attributes":{},"id":"2b13d026-8ebb-4f33-934f-9eb2a8f84ad4","type":"BasicTicker"},{"attributes":{"data_source":{"id":"910076fe-4aab-41c6-b866-34c30da4db27","type":"ColumnDataSource"},"glyph":{"id":"f69f3ba8-ca28-4484-8e36-db7eb54efc04","type":"Line"},"hover_glyph":null,"nonselection_glyph":{"id":"30c0be8f-bbc1-4cae-9b27-061c956f1492","type":"Line"},"selection_glyph":null},"id":"b8b60049-8877-4c8c-b373-b4fbac4656d2","type":"GlyphRenderer"},{"attributes":{},"id":"8548d344-eacf-4fdb-afd8-f45664fcd111","type":"ToolEvents"},{"attributes":{"callback":null,"column_names":["y","x"],"data":{"x":[1,2,3,4,5],"y":[6,7,2,4,5]}},"id":"910076fe-4aab-41c6-b866-34c30da4db27","type":"ColumnDataSource"},{"attributes":{"plot":{"id":"db2948c2-da06-4584-8388-9173916ec52d","subtype":"Figure","type":"Plot"}},"id":"d482eccd-5774-40a8-a2eb-eb268778a4b1","type":"ResetTool"},{"attributes":{"line_color":{"value":"#1f77b4"},"line_width":{"value":2},"x":{"field":"x"},"y":{"field":"y"}},"id":"f69f3ba8-ca28-4484-8e36-db7eb54efc04","type":"Line"},{"attributes":{"plot":{"id":"db2948c2-da06-4584-8388-9173916ec52d","subtype":"Figure","type":"Plot"},"ticker":{"id":"2b13d026-8ebb-4f33-934f-9eb2a8f84ad4","type":"BasicTicker"}},"id":"80f7e7cb-7bc2-48f6-b3c0-8af6fd284983","type":"Grid"},{"attributes":{"overlay":{"id":"41907c75-b981-4114-a5ff-72c204d35ce7","type":"BoxAnnotation"},"plot":{"id":"db2948c2-da06-4584-8388-9173916ec52d","subtype":"Figure","type":"Plot"}},"id":"9607a4f4-fcb9-48dd-b16d-1e7a47f4d1cc","type":"BoxZoomTool"}],"root_ids":["db2948c2-da06-4584-8388-9173916ec52d"]},"title":"Bokeh Application","version":"0.11.1"}};
var render_items = [{"docid":"dfb77a82-5774-44d2-8585-f04d066d65c7","elementid":"df256cfd-49a6-4a7a-8c91-dd061be76ce2","modelid":"db2948c2-da06-4584-8388-9173916ec52d"}];
Bokeh.embed.embed_items(docs_json, render_items);
});
</script>
</body>
</html>