code_snippets/reference_designs/test.html

66 lines
15 KiB
HTML
Raw Permalink Normal View History

<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="utf-8">
<title>test</title>
<link rel="apple-touch-icon" sizes="180x180" href="https://cdn.holoviz.org/panel/1.4.4/dist/images/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://cdn.holoviz.org/panel/1.4.4/dist/images/favicon.ico"> <style>
html, body {
display: flow-root;
box-sizing: border-box;
height: 100%;
margin: 0;
padding: 0;
}
</style>
<script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-3.4.1.min.js"></script>
<script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-gl-3.4.1.min.js"></script>
<script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-widgets-3.4.1.min.js"></script>
<script type="text/javascript" src="https://cdn.bokeh.org/bokeh/release/bokeh-tables-3.4.1.min.js"></script>
<script type="text/javascript" src="https://cdn.holoviz.org/panel/1.4.4/dist/panel.min.js"></script>
<script type="text/javascript">
Bokeh.set_log_level("info");
</script> </head>
<body>
<div id="e56de953-bf39-4eaf-b9dc-2a30f0afbb38" data-root-id="p1069" style="display: contents;"></div>
<script type="application/json" id="e6cef87d-74a2-41d0-ab6d-22694843ece7">
{"d0fc6274-8662-43aa-b51c-a05ba3c76130":{"version":"3.4.1","title":"Bokeh Application","roots":[{"type":"object","name":"Row","id":"p1069","attributes":{"name":"Row01056","tags":["embedded"],"stylesheets":["\n:host(.pn-loading):before, .pn-loading:before {\n background-color: #c3c3c3;\n mask-size: auto calc(min(50%, 400px));\n -webkit-mask-size: auto calc(min(50%, 400px));\n}",{"type":"object","name":"ImportedStyleSheet","id":"p1072","attributes":{"url":"https://cdn.holoviz.org/panel/1.4.4/dist/css/loading.css"}},{"type":"object","name":"ImportedStyleSheet","id":"p1128","attributes":{"url":"https://cdn.holoviz.org/panel/1.4.4/dist/css/listpanel.css"}},{"type":"object","name":"ImportedStyleSheet","id":"p1070","attributes":{"url":"https://cdn.holoviz.org/panel/1.4.4/dist/bundled/theme/default.css"}},{"type":"object","name":"ImportedStyleSheet","id":"p1071","attributes":{"url":"https://cdn.holoviz.org/panel/1.4.4/dist/bundled/theme/native.css"}}],"min_width":700,"margin":0,"sizing_mode":"stretch_width","align":"start","children":[{"type":"object","name":"Spacer","id":"p1073","attributes":{"name":"HSpacer01063","stylesheets":["\n:host(.pn-loading):before, .pn-loading:before {\n background-color: #c3c3c3;\n mask-size: auto calc(min(50%, 400px));\n -webkit-mask-size: auto calc(min(50%, 400px));\n}",{"id":"p1072"},{"id":"p1070"},{"id":"p1071"}],"margin":0,"sizing_mode":"stretch_width","align":"start"}},{"type":"object","name":"Figure","id":"p1081","attributes":{"width":700,"height":300,"margin":[5,10],"sizing_mode":"fixed","align":"start","x_range":{"type":"object","name":"Range1d","id":"p1074","attributes":{"tags":[[["Input Frequency [Hz]","Input Frequency [Hz]",null]],[]],"start":-4.181428571428572,"end":104.28142857142858,"reset_start":-4.181428571428572,"reset_end":104.28142857142858}},"y_range":{"type":"object","name":"Range1d","id":"p1075","attributes":{"tags":[[["Output Amplitude [Vpp]","Output Amplitude [Vpp]",null]],{"type":"map","entries":[["invert_yaxis",false],["autorange",false]]}],"start":2.697,"end":3.573,"reset_start":2.697,"reset_end":3.573}},"x_scale":{"type":"object","name":"LinearScale","id":"p1091"},"y_scale":{"type":"object","name":"LinearScale","id":"p1092"},"title":{"type":"object","name":"Title","id":"p1084","attributes":{"text_color":"black","text_font_size":"12pt"}},"renderers":[{"type":"object","name":"GlyphRenderer","id":"p1121","attributes":{"data_source":{"type":"object","name":"ColumnDataSource","id":"p1112","attributes":{"selected":{"type":"object","name":"Selection","id":"p1113","attributes":{"indices":[],"line_indices":[]}},"selection_policy":{"type":"object","name":"UnionRenderers","id":"p1114"},"data":{"type":"map","entries":[["Input Frequency [Hz]",{"type":"ndarray","array":{"type":"bytes","data":"mpmZmZmZuT8AAAAAAADwPwAAAAAAABRAAAAAAAAAJEAAAAAAAABZQA=="},"shape":[5],"dtype":"float64","order":"little"}],["Output Amplitude [Vpp]",{"type":"ndarray","array":{"type":"bytes","data":"KVyPwvUoBkB7FK5H4XoIQBSuR+F6FApAuB6F61G4CkAAAAAAAAAMQA=="},"shape":[5],"dtype":"float64","order":"little"}],["Input_Frequency_left_square_bracket_Hz_right_square_bracket",{"type":"ndarray","array":{"type":"bytes","data":"mpmZmZmZuT8AAAAAAADwPwAAAAAAABRAAAAAAAAAJEAAAAAAAABZQA=="},"shape":[5],"dtype":"float64","order":"little"}],["Output_Amplitude_left_square_bracket_Vpp_right_square_bracket",{"type":"ndarray","array":{"type":"bytes","data":"KVyPwvUoBkB7FK5H4XoIQBSuR+F6FApAuB6F61G4CkAAAAAAAAAMQA=="},"shape":[5],"dtype":"float64","order":"little"}]]}}},"view":{"type":"object","name":"CDSView","id":"p1122","attributes":{"filter":{"type":"object","name":"AllIndices","id":"p1123"}}},"glyph":{"type":"object","name":"Scatter","id":"p1118","attributes":{"tags":["apply_ranges"],"x":{"type":"field","field":"Input Frequency [Hz]"},"y":{"type":"field","field":"Output Amplitude [Vpp]"},"size":{"type":"value","value":5.477225575051661},"line_color":{"type":"value","value":"#30a2da"},"fill_color":{"type":"value","value":"#30a2da"},"hatch_color":{"type":"value","value":"#30a2da"}}},"selection_glyph":{"type":"object","nam
</script>
<script type="text/javascript">
(function() {
const fn = function() {
Bokeh.safely(function() {
(function(root) {
function embed_document(root) {
const docs_json = document.getElementById('e6cef87d-74a2-41d0-ab6d-22694843ece7').textContent;
const render_items = [{"docid":"d0fc6274-8662-43aa-b51c-a05ba3c76130","roots":{"p1069":"e56de953-bf39-4eaf-b9dc-2a30f0afbb38"},"root_ids":["p1069"]}];
root.Bokeh.embed.embed_items(docs_json, render_items);
}
if (root.Bokeh !== undefined) {
embed_document(root);
} else {
let attempts = 0;
const 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>