-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstandalone_grid.html
More file actions
114 lines (78 loc) · 7.9 KB
/
standalone_grid.html
File metadata and controls
114 lines (78 loc) · 7.9 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>7x7 Grid with Axis Titles</title>
<style>
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
background: white;
}
.bk-root {
margin: 0 !important;
padding: 0 !important;
}
</style>
</head>
<body>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>7x7 Grid</title>
<script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-2.3.2.min.js" integrity="sha384-XypntL49z55iwGVUW4qsEu83zKL3XEcz0MjuGOQ9SlaaQ68X/g+k1FcioZi7oQAc" crossorigin="anonymous"></script>
<script type="text/javascript">
Bokeh.set_log_level("info");
</script>
</head>
<body>
<div class="bk-root" id="97c21bc8-d3dd-4c74-b875-f87fe561f2fe" data-root-id="1002"></div>
<script type="application/json" id="1108">
{"da9957ed-419e-4cc3-8022-4ec88f7e970f":{"defs":[],"roots":{"references":[{"attributes":{},"id":"1049","type":"AllLabels"},{"attributes":{"source":{"id":"1035"}},"id":"1039","type":"CDSView"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"field":"fill_color"},"height":{"value":0.9},"line_alpha":{"value":0.1},"line_color":{"value":"white"},"line_width":{"value":2},"width":{"value":0.9},"x":{"field":"x"},"y":{"field":"y"}},"id":"1037","type":"Rect"},{"attributes":{},"id":"1022","type":"WheelZoomTool"},{"attributes":{"axis_label":"Uncertainty","axis_label_text_font_size":"12pt","formatter":{"id":"1046"},"major_label_policy":{"id":"1049"},"ticker":{"id":"1042"}},"id":"1017","type":"LinearAxis"},{"attributes":{"axis":{"id":"1013"},"ticker":null,"visible":false},"id":"1016","type":"Grid"},{"attributes":{"ticks":[0,1,2,3,4,5,6]},"id":"1042","type":"FixedTicker"},{"attributes":{"axis":{"id":"1017"},"dimension":1,"ticker":null,"visible":false},"id":"1020","type":"Grid"},{"attributes":{},"id":"1050","type":"AllLabels"},{"attributes":{"text":"Select Origin \u2192 Destination","text_font_size":"14pt"},"id":"1003","type":"Title"},{"attributes":{},"id":"1052","type":"UnionRenderers"},{"attributes":{},"id":"1053","type":"Selection"},{"attributes":{"data":{"fill_color":["#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0","#f0f0f0"],"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":"1053"},"selection_policy":{"id":"1052"}},"id":"1035","type":"ColumnDataSource"},{"attributes":{},"id":"1026","type":"HelpTool"},{"attributes":{"active_multi":null,"tools":[{"id":"1021"},{"id":"1022"},{"id":"1023"},{"id":"1024"},{"id":"1025"},{"id":"1026"}]},"id":"1028","type":"Toolbar"},{"attributes":{},"id":"1021","type":"PanTool"},{"attributes":{"overlay":{"id":"1027"}},"id":"1023","type":"BoxZoomTool"},{"attributes":{},"id":"1011","type":"LinearScale"},{"attributes":{},"id":"1005","type":"DataRange1d"},{"attributes":{},"id":"1024","type":"SaveTool"},{"attributes":{"bottom_units":"screen","fill_alpha":0.5,"fill_color":"lightgrey","left_units":"screen","level":"overlay","line_alpha":1.0,"line_color":"black","line_dash":[4,4],"line_width":2,"right_units":"screen","syncable":false,"top_units":"screen"},"id":"1027","type":"BoxAnnotation"},{"attributes":{},"id":"1025","type":"ResetTool"},{"attributes":{"below":[{"id":"1013"}],"center":[{"id":"1016"},{"id":"1020"}],"height":450,"left":[{"id":"1017"}],"min_border_bottom":60,"min_border_left":80,"renderers":[{"id":"1038"}],"title":{"id":"1003"},"toolbar":{"id":"1028"},"toolbar_location":null,"width":450,"x_range":{"id":"1005"},"x_scale":{"id":"1009"},"y_range":{"id":"1007"},"y_scale":{"id":"1011"}},"id":"1002","subtype":"Figure","type":"Plot"},{"attributes":{"ticks":[0,1,2,3,4,5,6]},"id":"1040","type":"FixedTicker"},{"attributes":{"axis_label":"Coverage Level","axis_label_text_font_size":"12pt","formatter":{"id":"1044"},"major_label_policy":{"id":"1050"},"ticker":{"id":"1040"}},"id":"1013","type":"LinearAxis"},{"attributes":{},"id":"1007","type":"DataRange1d"},{"attributes":{"code":"\n const labels = ['0.7', '0.75', '0.8', '0.85', '0.9', '0.95', '1.0'];\n return labels[tick] || '';\n "},"id":"1044","type":"FuncTickFormatter"},{"attributes":{"fill_color":{"field":"fill_color"},"height":{"value":0.9},"line_color":{"value":"white"},"line_width":{"value":2},"width":{"value":0.9},"x":{"field":"x"},"y":{"field":"y"}},"id":"1036","type":"Rect"},{"attributes":{"data_source":{"id":"1035"},"glyph":{"id":"1036"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1037"},"view":{"id":"1039"}},"id":"1038","type":"GlyphRenderer"},{"attributes":{},"id":"1009","type":"LinearScale"},{"attributes":{"code":"\n const labels = ['0.7', '0.75', '0.8', '0.85', '0.9', '0.95', '1.0'];\n return labels[tick] || '';\n "},"id":"1046","type":"FuncTickFormatter"}],"root_ids":["1002"]},"title":"Bokeh Application","version":"2.3.2"}}
</script>
<script type="text/javascript">
(function() {
var fn = function() {
Bokeh.safely(function() {
(function(root) {
function embed_document(root) {
var docs_json = document.getElementById('1108').textContent;
var render_items = [{"docid":"da9957ed-419e-4cc3-8022-4ec88f7e970f","root_ids":["1002"],"roots":{"1002":"97c21bc8-d3dd-4c74-b875-f87fe561f2fe"}}];
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>
<script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-2.3.2.min.js" integrity="sha384-XypntL49z55iwGVUW4qsEu83zKL3XEcz0MjuGOQ9SlaaQ68X/g+k1FcioZi7oQAc" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-widgets-2.3.2.min.js" integrity="sha384-TX0gSQTdXTTeScqxj6PVQxTiRW8DOoGVwinyi1D3kxv7wuxQ02XkOxv0xwiypcAH" crossorigin="anonymous"></script>
<script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-tables-2.3.2.min.js" integrity="sha384-bEsM86IHGDTLCS0Zod8a8WM6Y4+lafAL/eSiyQcuPzinmWNgNO2/olUF0Z2Dkn5i" crossorigin="anonymous"></script>
<script type="text/javascript">
Bokeh.set_log_level("info");
</script>
</body>
</html>