-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtemplate_grid_test.html
More file actions
52 lines (48 loc) · 6.2 KB
/
template_grid_test.html
File metadata and controls
52 lines (48 loc) · 6.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Template Grid Test</title>
<script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-2.3.2.min.js"></script>
<script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-widgets-2.3.2.min.js"></script>
<script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-tables-2.3.2.min.js"></script>
</head>
<body>
<h2>Template 7x7 Grid with Axis Titles</h2>
<div class="bk-root" id="206860eb-8c42-470e-a194-670ecc8df39e" data-root-id="1003"></div>
<script type="text/javascript">
(function() {
var fn = function() {
Bokeh.safely(function() {
(function(root) {
function embed_document(root) {
var docs_json = '{"5068e561-4da1-4289-a421-9c5d96869435":{"defs":[],"roots":{"references":[{"attributes":{"align":"center","text":"Select Origin \\u2192 Destination","text_font_size":"14pt"},"id":"1004","type":"Title"},{"attributes":{"end":6.5,"start":-0.5},"id":"1008","type":"Range1d"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"field":"colors"},"height":{"value":0.95},"line_alpha":{"value":0.1},"line_color":{"field":"colors"},"width":{"value":0.95},"x":{"field":"x"},"y":{"field":"y"}},"id":"1025","type":"Rect"},{"attributes":{},"id":"1035","type":"AllLabels"},{"attributes":{"ticks":[0,1,2,3,4,5,6]},"id":"1030","type":"FixedTicker"},{"attributes":{},"id":"1036","type":"BasicTickFormatter"},{"attributes":{},"id":"1037","type":"UnionRenderers"},{"attributes":{"axis_label":"Uncertainty","axis_label_standoff":30,"axis_label_text_font_size":"12pt","formatter":{"id":"1036"},"major_label_overrides":{"0":"0.1","1":"0.2","2":"0.3","3":"0.4","4":"0.5","5":"0.6","6":"0.7"},"major_label_policy":{"id":"1035"},"ticker":{"id":"1030"}},"id":"1018","type":"LinearAxis"},{"attributes":{"data":{"alpha":[1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0,1.0],"colors":["#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154","#440154"],"values":[0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0],"x":[0,0,0,0,0,0,0,1,1,1,1,1,1,1,2,2,2,2,2,2,2,3,3,3,3,3,3,3,4,4,4,4,4,4,4,5,5,5,5,5,5,5,6,6,6,6,6,6,6],"y":[0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6,0,1,2,3,4,5,6]},"selected":{"id":"1038"},"selection_policy":{"id":"1037"}},"id":"1002","type":"ColumnDataSource"},{"attributes":{},"id":"1010","type":"LinearScale"},{"attributes":{},"id":"1012","type":"LinearScale"},{"attributes":{},"id":"1038","type":"Selection"},{"attributes":{},"id":"1033","type":"AllLabels"},{"attributes":{"axis":{"id":"1014"},"ticker":null,"visible":false},"id":"1017","type":"Grid"},{"attributes":{"axis_label":"Coverage Level","axis_label_standoff":20,"axis_label_text_font_size":"12pt","formatter":{"id":"1034"},"major_label_overrides":{"0":"0.7","1":"0.75","2":"0.8","3":"0.85","4":"0.9","5":"0.95","6":"1.0"},"major_label_policy":{"id":"1033"},"ticker":{"id":"1028"}},"id":"1014","type":"LinearAxis"},{"attributes":{},"id":"1034","type":"BasicTickFormatter"},{"attributes":{"ticks":[0,1,2,3,4,5,6]},"id":"1028","type":"FixedTicker"},{"attributes":{"fill_alpha":{"field":"alpha"},"fill_color":{"field":"colors"},"height":{"value":0.95},"line_alpha":{"field":"alpha"},"line_color":{"field":"colors"},"width":{"value":0.95},"x":{"field":"x"},"y":{"field":"y"}},"id":"1024","type":"Rect"},{"attributes":{"axis":{"id":"1018"},"dimension":1,"ticker":null,"visible":false},"id":"1021","type":"Grid"},{"attributes":{"below":[{"id":"1014"}],"center":[{"id":"1017"},{"id":"1021"}],"height":450,"left":[{"id":"1018"}],"min_border_bottom":60,"min_border_left":80,"renderers":[{"id":"1026"}],"title":{"id":"1004"},"toolbar":{"id":"1022"},"toolbar_location":null,"width":450,"x_range":{"id":"1006"},"x_scale":{"id":"1010"},"y_range":{"id":"1008"},"y_scale":{"id":"1012"}},"id":"1003","subtype":"Figure","type":"Plot"},{"attributes":{"source":{"id":"1002"}},"id":"1027","type":"CDSView"},{"attributes":{"active_multi":null},"id":"1022","type":"Toolbar"},{"attributes":{"data_source":{"id":"1002"},"glyph":{"id":"1024"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1025"},"view":{"id":"1027"}},"id":"1026","type":"GlyphRenderer"},{"attributes":{"end":6.5,"start":-0.5},"id":"1006","type":"Range1d"}],"root_ids":["1003"]},"title":"Bokeh Application","version":"2.3.2"}}';
var render_items = [{"docid":"5068e561-4da1-4289-a421-9c5d96869435","root_ids":["1003"],"roots":{"1003":"206860eb-8c42-470e-a194-670ecc8df39e"}}];
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) {
clearInterval(timer);
embed_document(root);
} else {
attempts++;
if (attempts > 100) {
clearInterval(timer);
console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
}
}
}, 10, root)
}
})(window);
});
};
if (document.readyState != "loading") fn();
else document.addEventListener("DOMContentLoaded", fn);
})();
</script>
</body>
</html>