(function() { var fn = function() { (function(root) { function now() { return new Date(); } var force = false; if (typeof root._bokeh_onload_callbacks === "undefined" || force === true) { root._bokeh_onload_callbacks = []; root._bokeh_is_loading = undefined; } var element = document.getElementById("37699f0a-0445-442a-8a61-d3111b265e31"); if (element == null) { console.warn("Bokeh: autoload.js configured with elementid '37699f0a-0445-442a-8a61-d3111b265e31' but no matching script tag was found.") } function run_callbacks() { try { root._bokeh_onload_callbacks.forEach(function(callback) { if (callback != null) callback(); }); } finally { delete root._bokeh_onload_callbacks } console.debug("Bokeh: all callbacks have finished"); } function load_libs(css_urls, js_urls, callback) { if (css_urls == null) css_urls = []; if (js_urls == null) js_urls = []; root._bokeh_onload_callbacks.push(callback); if (root._bokeh_is_loading > 0) { console.debug("Bokeh: BokehJS is being loaded, scheduling callback at", now()); return null; } if (js_urls == null || js_urls.length === 0) { run_callbacks(); return null; } console.debug("Bokeh: BokehJS not loaded, scheduling load and callback at", now()); root._bokeh_is_loading = css_urls.length + js_urls.length; function on_load() { root._bokeh_is_loading--; if (root._bokeh_is_loading === 0) { console.debug("Bokeh: all BokehJS libraries/stylesheets loaded"); run_callbacks() } } function on_error(url) { console.error("failed to load " + url); } for (let i = 0; i < css_urls.length; i++) { const url = css_urls[i]; const element = document.createElement("link"); element.onload = on_load; element.onerror = on_error.bind(null, url); element.rel = "stylesheet"; element.type = "text/css"; element.href = url; console.debug("Bokeh: injecting link tag for BokehJS stylesheet: ", url); document.body.appendChild(element); } const hashes = {"https://cdn.bokeh.org/bokeh/release/bokeh-2.3.2.min.js": "XypntL49z55iwGVUW4qsEu83zKL3XEcz0MjuGOQ9SlaaQ68X/g+k1FcioZi7oQAc", "https://cdn.bokeh.org/bokeh/release/bokeh-tables-2.3.2.min.js": "bEsM86IHGDTLCS0Zod8a8WM6Y4+lafAL/eSiyQcuPzinmWNgNO2/olUF0Z2Dkn5i", "https://cdn.bokeh.org/bokeh/release/bokeh-widgets-2.3.2.min.js": "TX0gSQTdXTTeScqxj6PVQxTiRW8DOoGVwinyi1D3kxv7wuxQ02XkOxv0xwiypcAH"}; for (let i = 0; i < js_urls.length; i++) { const url = js_urls[i]; const element = document.createElement('script'); element.onload = on_load; element.onerror = on_error.bind(null, url); element.async = false; element.src = url; if (url in hashes) { element.crossOrigin = "anonymous"; element.integrity = "sha384-" + hashes[url]; } console.debug("Bokeh: injecting script tag for BokehJS library: ", url); document.head.appendChild(element); } }; function inject_raw_css(css) { const element = document.createElement("style"); element.appendChild(document.createTextNode(css)); document.body.appendChild(element); } var js_urls = ["https://cdn.bokeh.org/bokeh/release/bokeh-2.3.2.min.js", "https://cdn.bokeh.org/bokeh/release/bokeh-widgets-2.3.2.min.js", "https://cdn.bokeh.org/bokeh/release/bokeh-tables-2.3.2.min.js"]; var css_urls = []; var inline_js = [ function(Bokeh) { Bokeh.set_log_level("info"); }, function(Bokeh) { (function() { var fn = function() { Bokeh.safely(function() { (function(root) { function embed_document(root) { var docs_json = '{"34820541-055c-4052-a314-1742cc2c85c2":{"defs":[],"roots":{"references":[{"attributes":{},"id":"1165","type":"LinearScale"},{"attributes":{},"id":"1161","type":"DataRange1d"},{"attributes":{"click_policy":"hide","items":[{"id":"1206"}]},"id":"1205","type":"Legend"},{"attributes":{"source":{"id":"1189"}},"id":"1194","type":"CDSView"},{"attributes":{"axis":{"id":"1171"},"dimension":1,"ticker":null},"id":"1174","type":"Grid"},{"attributes":{},"id":"1180","type":"HelpTool"},{"attributes":{"data":{"Energy (Wh)":{"__ndarray__":"ZDvfT40XSUBCYOXQIvtIQEJg5dAi+0hAtMh2vp+6SEC0yHa+n7pIQPCnxks3aUhA8KfGSzdpSEAv3SQGgRVIQC/dJAaBFUhAGy/dJAbBR0AbL90kBsFHQC2yne+nxkZALbKd76fGRkApXI/C9QhGQClcj8L1CEZAdZMYBFauRUB1kxgEVq5FQLTIdr6fWkVAtMh2vp9aRUDb+X5qvBRFQNv5fmq8FEVAdZMYBFbuREB1kxgEVu5EQGIQWDm0yERAYhBYObTIRECkcD0K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iR7Xw/NSRAaJHtfD81JEAfhetRuJ4jQB+F61G4niNAlkOLbOf7IkCWQ4ts5/siQIts5/upcSJAi2zn+6lxIkBCYOXQItshQEJg5dAi2yFASOF6FK5HIUBI4XoUrkchQJ7vp8ZLtyBAnu+nxku3IECBlUOLbGcgQIGVQ4tsZyBAgZVDi2xnIECBlUOLbGcgQIGVQ4tsZyBAgZVDi2xnIECBlUOLbGcgQIGVQ4tsZyBArBxaZDvfH0CsHFpkO98fQBkEVg4tsh5AGQRWDi2yHkDl0CLb+X4dQOXQItv5fh1A9P3UeOkmHED0/dR46SYcQKAaL90kBhtAoBov3SQGG0AMAiuHFtkZQAwCK4cW2RlAObTIdr6fGEA5tMh2vp8YQIXrUbgehRdAhetRuB6FF0AX2c73U+MVQKAaL90kBhVA5/up8dJNFECoxks3iUEUQCuHFtnO9xNAEFg5tMh2E0D2KFyPwvUSQLpJDAIrhxJA/Knx0k1iEkA/NV66SQwSQIGVQ4ts5xFAw/UoXI/CEUAv3SQGgZUQQG3n+6nx0g9A+FPjpZvEDkCLbOf7qfEMQCGwcmiR7QpAukkMAiuHCEAUrkfhehQGQB1aZDvfTwVAH4XrUbgeBUCq8dJNYhAEQA==","dtype":"float64","order":"little","shape":[287]},"__x__values":[0,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,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286],"__x__values_original":[0,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,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286]},"selected":{"id":"1204"},"selection_policy":{"id":"1203"}},"id":"1189","type":"ColumnDataSource"},{"attributes":{},"id":"1175","type":"PanTool"},{"attributes":{"label":{"value":" Energy (Wh)"},"renderers":[{"id":"1193"}]},"id":"1206","type":"LegendItem"},{"attributes":{},"id":"1176","type":"WheelZoomTool"},{"attributes":{},"id":"1172","type":"BasicTicker"},{"attributes":{},"id":"1200","type":"BasicTickFormatter"},{"attributes":{},"id":"1178","type":"SaveTool"},{"attributes":{"data_source":{"id":"1189"},"glyph":{"id":"1191"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1192"},"view":{"id":"1194"}},"id":"1193","type":"GlyphRenderer"},{"attributes":{},"id":"1197","type":"BasicTickFormatter"},{"attributes":{},"id":"1179","type":"ResetTool"},{"attributes":{},"id":"1196","type":"AllLabels"},{"attributes":{},"id":"1199","type":"AllLabels"},{"attributes":{"axis_label":"Energy (Wh)","formatter":{"id":"1200"},"major_label_policy":{"id":"1199"},"ticker":{"id":"1172"}},"id":"1171","type":"LinearAxis"},{"attributes":{},"id":"1203","type":"UnionRenderers"},{"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":"1181","type":"BoxAnnotation"},{"attributes":{},"id":"1163","type":"LinearScale"},{"attributes":{"line_color":"#1f77b4","line_width":2,"x":{"field":"__x__values"},"y":{"field":"Energy (Wh)"}},"id":"1191","type":"Line"},{"attributes":{"axis_label":"Duration (min)","formatter":{"id":"1197"},"major_label_policy":{"id":"1196"},"ticker":{"id":"1168"}},"id":"1167","type":"LinearAxis"},{"attributes":{},"id":"1168","type":"BasicTicker"},{"attributes":{},"id":"1204","type":"Selection"},{"attributes":{"overlay":{"id":"1181"}},"id":"1177","type":"BoxZoomTool"},{"attributes":{"axis":{"id":"1167"},"ticker":null},"id":"1170","type":"Grid"},{"attributes":{"text":"Librem 14v1 Battery Life - Qubes OS 4.0.4, Basic Use"},"id":"1157","type":"Title"},{"attributes":{"below":[{"id":"1167"}],"center":[{"id":"1170"},{"id":"1174"},{"id":"1205"}],"height":400,"left":[{"id":"1171"}],"output_backend":"webgl","renderers":[{"id":"1193"}],"sizing_mode":"fixed","title":{"id":"1157"},"toolbar":{"id":"1182"},"x_range":{"id":"1159"},"x_scale":{"id":"1163"},"y_range":{"id":"1161"},"y_scale":{"id":"1165"}},"id":"1156","subtype":"Figure","type":"Plot"},{"attributes":{"active_multi":null,"active_scroll":{"id":"1176"},"tools":[{"id":"1175"},{"id":"1176"},{"id":"1177"},{"id":"1178"},{"id":"1179"},{"id":"1180"},{"id":"1207"}]},"id":"1182","type":"Toolbar"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","line_width":2,"x":{"field":"__x__values"},"y":{"field":"Energy (Wh)"}},"id":"1192","type":"Line"},{"attributes":{},"id":"1159","type":"DataRange1d"},{"attributes":{"callback":null,"mode":"vline","renderers":[{"id":"1193"}],"tooltips":[["Duration (min)","@__x__values_original"],["Energy (Wh)","@{Energy (Wh)}"]]},"id":"1207","type":"HoverTool"}],"root_ids":["1156"]},"title":"Bokeh Application","version":"2.3.2"}}'; var render_items = [{"docid":"34820541-055c-4052-a314-1742cc2c85c2","root_ids":["1156"],"roots":{"1156":"37699f0a-0445-442a-8a61-d3111b265e31"}}]; 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); })(); }, function(Bokeh) { } ]; function run_inline_js() { for (var i = 0; i < inline_js.length; i++) { inline_js[i].call(root, root.Bokeh); } } if (root._bokeh_is_loading === 0) { console.debug("Bokeh: BokehJS loaded, going straight to plotting"); run_inline_js(); } else { load_libs(css_urls, js_urls, function() { console.debug("Bokeh: BokehJS plotting callback run at", now()); run_inline_js(); }); } }(window)); }; if (document.readyState != "loading") fn(); else document.addEventListener("DOMContentLoaded", fn); })();