-
Notifications
You must be signed in to change notification settings - Fork 2
/
image_rgba.html
48 lines (41 loc) · 9.43 KB
/
image_rgba.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>image_rgba.py example</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="06955241-8124-47b7-9894-c9534b41d673"></div>
</div>
<script type="text/javascript">
(function() {
var fn = function() {
Bokeh.safely(function() {
var docs_json = {"f39a9848-18ca-452c-88a6-8a56e6e7996e":{"roots":{"references":[{"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":"3155edd7-5efd-4d23-a868-569c92eec7e2","type":"BoxAnnotation"},{"attributes":{"plot":null,"text":""},"id":"79d7e1f6-decc-466b-ad19-6bb03686809a","type":"Title"},{"attributes":{},"id":"409b8138-9eea-4ad9-95c5-3968e3348318","type":"BasicTickFormatter"},{"attributes":{"callback":null,"column_names":["image"],"data":{"image":[{"__ndarray__":"AJ4A/wCeDP8Anhn/AJ4m/wCeM/8Anj//AJ5M/wCeWf8Anmb/AJ5y/wCef/8Anoz/AJ6Z/wCepf8AnrL/AJ6//wCezP8Antj/AJ7l/wCe8v8MngD/DJ4M/wyeGf8Mnib/DJ4z/wyeP/8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f-bcbe-4fd2-b3d5-159c9b93842a","subtype":"Figure","type":"Plot"}},"id":"af9341b9-a761-4425-8019-f8a75da19be8","type":"WheelZoomTool"},{"attributes":{"formatter":{"id":"b0c83c27-c058-4138-a60c-e393c74866b9","type":"BasicTickFormatter"},"plot":{"id":"6124426f-bcbe-4fd2-b3d5-159c9b93842a","subtype":"Figure","type":"Plot"},"ticker":{"id":"ac1bdfcf-153b-4f9d-9c02-220b422053a9","type":"BasicTicker"}},"id":"6f4e499d-478a-4fbd-aefc-64ff0c011fb5","type":"LinearAxis"},{"attributes":{"plot":{"id":"6124426f-bcbe-4fd2-b3d5-159c9b93842a","subtype":"Figure","type":"Plot"}},"id":"b08c2a21-1c28-4670-94b0-99c7788b7587","type":"PanTool"},{"attributes":{"callback":null,"end":10},"id":"a3387dd7-cc2b-4618-a261-db77d6b7e778","type":"Range1d"},{"attributes":{},"id":"ac1bdfcf-153b-4f9d-9c02-220b422053a9","type":"BasicTicker"},{"attributes":{"plot":{"id":"6124426f-bcbe-4fd2-b3d5-159c9b93842a","subtype":"Figure","type":"Plot"},"ticker":{"id":"ac1bdfcf-153b-4f9d-9c02-220b422053a9","type":"BasicTicker"}},"id":"2b3fdcfb-3a91-4278-b3b7-dbde1cb32989","type":"Grid"},{"attributes":{"plot":{"id":"6124426f-bcbe-4fd2-b3d5-159c9b93842a","subtype":"Figure","type":"Plot"}},"id":"3f433932-7b34-4b4c-b986-bc0a7c5a232c","type":"HelpTool"},{"attributes":{"data_source":{"id":"c8d28670-bd46-4526-9b73-aa3c1513b077","type":"ColumnDataSource"},"glyph":{"id":"34330b9a-c605-48b3-9d8c-4433b0082cc2","type":"ImageRGBA"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"706bfad2-cae8-4818-bfc5-65e32d572cc5","type":"ImageRGBA"},"selection_glyph":null},"id":"3d848f3f-a5a0-4091-aebc-471c74ccde18","type":"GlyphRenderer"},{"attributes":{"dh":{"units":"data","value":10},"dw":{"units":"data","value":10},"image":{"field":"image"},"x":{"value":0},"y":{"value":0}},"id":"34330b9a-c605-48b3-9d8c-4433b0082cc2","type":"ImageRGBA"},{"attributes":{"active_drag":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"b08c2a21-1c28-4670-94b0-99c7788b7587","type":"PanTool"},{"id":"af9341b9-a761-4425-8019-f8a75da19be8","type":"WheelZoomTool"},{"id":"c5ce3058-4840-408d-9e93-c872a34d55d3","type":"BoxZoomTool"},{"id":"1ac8eac3-fca9-45f2-a02e-4c1bdfec7dc4","type":"SaveTool"},{"id":"f5ccf19b-4dfd-4dab-b03b-09cea06b6691","type":"ResetTool"},{"id":"3f433932-7b34-4b4c-b986-bc0a7c5a232c","type":"HelpTool"}]},"id":"66a4556e-c4df-4019-a38f-01c9e731f95a","type":"Toolbar"},{"attributes":{},"id":"89b7e09d-c364-4778-aa9d-5c56b6a1839f","type":"BasicTicker"},{"attributes":{"overlay":{"id":"3155edd7-5efd-4d23-a868-569c92eec7e2","type":"BoxAnnotation"},"plot":{"id":"6124426f-bcbe-4fd2-b3d5-159c9b93842a","subtype":"Figure","type":"Plot"}},"id":"c5ce3058-4840-408d-9e93-c872a34d55d3","type":"BoxZoomTool"},{"attributes":{"callback":null,"end":10},"id":"fabf538c-bca5-41c5-9db6-46f60d73f15b","type":"Range1d"},{"attributes":{"dh":{"units":"data","value":10},"dw":{"units":"data","value":10},"image":{"field":"image"},"x":{"value":0},"y":{"value":0}},"id":"706bfad2-cae8-4818-bfc5-65e32d572cc5","type":"ImageRGBA"},{"attributes":{"formatter":{"id":"409b8138-9eea-4ad9-95c5-3968e3348318","type":"BasicTickFormatter"},"plot":{"id":"6124426f-bcbe-4fd2-b3d5-159c9b93842a","subtype":"Figure","type":"Plot"},"ticker":{"id":"89b7e09d-c364-4778-aa9d-5c56b6a1839f","type":"BasicTicker"}},"id":"ced0ea13-2144-472e-83c1-1fa02bc13051","type":"LinearAxis"},{"attributes":{},"id":"b0c83c27-c058-4138-a60c-e393c74866b9","type":"BasicTickFormatter"},{"attributes":{"below":[{"id":"6f4e499d-478a-4fbd-aefc-64ff0c011fb5","type":"LinearAxis"}],"left":[{"id":"ced0ea13-2144-472e-83c1-1fa02bc13051","type":"LinearAxis"}],"renderers":[{"id":"6f4e499d-478a-4fbd-aefc-64ff0c011fb5","type":"LinearAxis"},{"id":"2b3fdcfb-3a91-4278-b3b7-dbde1cb32989","type":"Grid"},{"id":"ced0ea13-2144-472e-83c1-1fa02bc13051","type":"LinearAxis"},{"id":"046b559e-1e71-4b12-b2fb-24f8b10b9a7f","type":"Grid"},{"id":"3155edd7-5efd-4d23-a868-569c92eec7e2","type":"BoxAnnotation"},{"id":"3d848f3f-a5a0-4091-aebc-471c74ccde18","type":"GlyphRenderer"}],"title":{"id":"79d7e1f6-decc-466b-ad19-6bb03686809a","type":"Title"},"tool_events":{"id":"042eaefc-67b3-4d9a-b138-7bea85e85c5b","type":"ToolEvents"},"toolbar":{"id":"66a4556e-c4df-4019-a38f-01c9e731f95a","type":"Toolbar"},"x_range":{"id":"a3387dd7-cc2b-4618-a261-db77d6b7e778","type":"Range1d"},"y_range":{"id":"fabf538c-bca5-41c5-9db6-46f60d73f15b","type":"Range1d"}},"id":"6124426f-bcbe-4fd2-b3d5-159c9b93842a","subtype":"Figure","type":"Plot"},{"attributes":{"plot":{"id":"6124426f-bcbe-4fd2-b3d5-159c9b93842a","subtype":"Figure","type":"Plot"}},"id":"f5ccf19b-4dfd-4dab-b03b-09cea06b6691","type":"ResetTool"},{"attributes":{"plot":{"id":"6124426f-bcbe-4fd2-b3d5-159c9b93842a","subtype":"Figure","type":"Plot"}},"id":"1ac8eac3-fca9-45f2-a02e-4c1bdfec7dc4","type":"SaveTool"},{"attributes":{},"id":"042eaefc-67b3-4d9a-b138-7bea85e85c5b","type":"ToolEvents"},{"attributes":{"dimension":1,"plot":{"id":"6124426f-bcbe-4fd2-b3d5-159c9b93842a","subtype":"Figure","type":"Plot"},"ticker":{"id":"89b7e09d-c364-4778-aa9d-5c56b6a1839f","type":"BasicTicker"}},"id":"046b559e-1e71-4b12-b2fb-24f8b10b9a7f","type":"Grid"}],"root_ids":["6124426f-bcbe-4fd2-b3d5-159c9b93842a"]},"title":"Bokeh Application","version":"0.12.5"}};
var render_items = [{"docid":"f39a9848-18ca-452c-88a6-8a56e6e7996e","elementid":"06955241-8124-47b7-9894-c9534b41d673","modelid":"6124426f-bcbe-4fd2-b3d5-159c9b93842a"}];
Bokeh.embed.embed_items(docs_json, render_items);
});
};
if (document.readyState != "loading") fn();
else document.addEventListener("DOMContentLoaded", fn);
})();
</script>
</body>
</html>