(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("e04ae544-198f-4002-bfbb-b9380ee68974"); if (element == null) { console.warn("Bokeh: autoload.js configured with elementid 'e04ae544-198f-4002-bfbb-b9380ee68974' 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 = '{"67b99b0d-5c64-4709-aa2a-f08e85350aea":{"defs":[],"roots":{"references":[{"attributes":{"data_source":{"id":"1837"},"glyph":{"id":"1838"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1839"},"view":{"id":"1841"}},"id":"1840","type":"GlyphRenderer"},{"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":"1829","type":"BoxAnnotation"},{"attributes":{},"id":"1844","type":"AllLabels"},{"attributes":{"axis_label":"Wh (Navy), W (Firebrick)","formatter":{"id":"1843"},"major_label_policy":{"id":"1844"},"ticker":{"id":"1820"}},"id":"1819","type":"LinearAxis"},{"attributes":{"data":{"line_color":["navy","firebrick"],"xs":[[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,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305],[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,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305]],"ys":[["6.078","6.078","6.426","6.426","6.78","6.78","7.134","7.134","7.482","7.482","7.83","7.83","8.184","8.184","8.538","8.538","8.886","8.886","9.24","9.24","9.588","9.588","9.942","9.942","10.29","10.29","10.644","10.644","10.992","10.992","11.346","11.346","11.694","11.694","12.048","12.048","12.402","12.402","12.756","12.756","13.104","13.104","13.458","13.458","13.806","13.806","14.154","14.154","14.508","14.508","14.856","14.856","15.21","15.21","15.564","15.564","15.912","15.912","16.26","16.26","16.614","16.614","16.968","16.968","17.322","17.322","17.67","17.67","18.024","18.024","18.372","18.372","18.726","18.726","19.074","19.074","19.422","19.422","19.776","19.776","20.13","20.13","20.484","20.484","20.826","20.826","21.18","21.18","21.534","21.534","21.882","21.882","22.236","22.236","22.59","22.59","22.938","22.938","23.286","23.286","23.64","23.64","23.994","23.994","24.348","24.348","24.696","24.696","25.05","25.05","25.398","25.398","25.752","25.752","26.1","26.1","26.454","26.454","26.808","26.808","27.15","27.15","27.504","27.504","27.858","27.858","28.212","28.212","28.56","28.56","28.914","28.914","29.262","29.262","29.616","29.616","29.97","29.97","30.324","30.324","30.672","30.672","31.026","31.026","31.38","31.38","31.734","31.734","32.076","32.076","32.43","32.43","32.784","32.784","33.138","33.138","33.486","33.486","33.84","33.84","34.188","34.188","34.536","34.536","34.89","34.89","35.238","35.238","35.592","35.592","35.946","35.946","36.294","36.294","36.642","36.642","37.002","37.002","37.344","37.344","37.704","37.704","38.052","38.052","38.406","38.406","38.754","38.754","39.102","39.102","39.45","39.45","39.798","39.798","40.146","40.146","40.488","40.488","40.83","40.83","41.172","41.172","41.508","41.508","41.844","41.844","42.168","42.168","42.486","42.486","42.786","42.786","43.086","43.086","43.362","43.362","43.632","43.632","43.884","43.884","44.13","44.13","44.358","44.358","44.58","44.58","44.79","44.79","44.994","44.994","45.186","45.186","45.372","45.372","45.552","45.552","45.72","45.72","45.882","45.882","46.038","46.038","46.182","46.182","46.326","46.326","46.464","46.464","46.59","46.59","46.716","46.716","46.836","46.836","46.95","46.95","47.058","47.058","47.166","47.166","47.268","47.268","47.364","47.364","47.454","47.454","47.55","47.55","47.634","47.634","47.718","47.718","47.796","47.796","47.874","47.874","47.946","47.946","48.018","48.018","48.084","48.084","48.15","48.15","48.216","48.216","48.276","48.276","48.336","48.336","48.39","48.39","48.444","48.444","48.498","48.498","48.552","48.552","48.6","48.6","48.642","48.642","48.69","48.69","48.732","48.732"],["10.512","10.512","10.512","10.512","10.512","10.512","10.506","10.506","10.506","10.506","10.506","10.506","10.506","10.506","10.512","10.512","10.512","10.512","10.512","10.512","10.506","10.506","10.512","10.512","10.512","10.512","10.506","10.506","10.512","10.512","10.512","10.512","10.506","10.506","10.506","10.506","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.506","10.506","10.506","10.506","10.506","10.506","10.506","10.506","10.506","10.506","10.506","10.506","10.506","10.506","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.518","10.518","10.518","10.518","10.506","10.506","10.512","10.512","10.518","10.518","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.506","10.506","10.512","10.512","10.506","10.506","10.506","10.506","10.506","10.506","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.518","10.518","10.518","10.518","10.518","10.518","10.518","10.518","10.518","10.518","10.518","10.518","10.518","10.518","10.518","10.518","10.518","10.518","10.518","10.518","10.518","10.518","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.512","10.506","10.506","10.506","10.506","10.5","10.5","10.5","10.5","10.494","10.494","10.482","10.482","10.47","10.47","10.458","10.458","10.44","10.44","10.416","10.416","10.392","10.392","10.35","10.35","10.302","10.302","10.236","10.236","10.158","10.158","10.056","10.056","9.918","9.918","9.744","9.744","9.498","9.498","9.174","9.174","8.796","8.796","8.406","8.406","8.034","8.034","7.662","7.662","7.32","7.32","6.984","6.984","6.672","6.672","6.366","6.366","6.084","6.084","5.814","5.814","5.556","5.556","5.316","5.316","5.076","5.076","4.86","4.86","4.65","4.65","4.452","4.452","4.254","4.254","4.08","4.08","3.912","3.912","3.75","3.75","3.594","3.594","3.45","3.45","3.306","3.306","3.174","3.174","3.048","3.048","2.928","2.928","2.808","2.808","2.694","2.694","2.586","2.586","2.49","2.49","2.394","2.394","2.298","2.298","2.214","2.214","2.13","2.13","2.052","2.052","1.974","1.974","1.902","1.902","1.83","1.83","1.764","1.764","1.698","1.698","1.638","1.638","1.572","1.572","1.524","1.524","1.464","1.464","1.416","1.416","1.236","1.236","1.272","1.272","1.224","1.224"]]},"selected":{"id":"1850"},"selection_policy":{"id":"1849"}},"id":"1837","type":"ColumnDataSource"},{"attributes":{},"id":"1850","type":"Selection"},{"attributes":{},"id":"1824","type":"WheelZoomTool"},{"attributes":{},"id":"1816","type":"BasicTicker"},{"attributes":{},"id":"1826","type":"SaveTool"},{"attributes":{},"id":"1843","type":"BasicTickFormatter"},{"attributes":{},"id":"1811","type":"LinearScale"},{"attributes":{"axis":{"id":"1819"},"dimension":1,"ticker":null},"id":"1822","type":"Grid"},{"attributes":{"axis_label":"Time (m)","formatter":{"id":"1846"},"major_label_policy":{"id":"1847"},"ticker":{"id":"1816"}},"id":"1815","type":"LinearAxis"},{"attributes":{"line_color":{"field":"line_color"},"xs":{"field":"xs"},"ys":{"field":"ys"}},"id":"1838","type":"MultiLine"},{"attributes":{},"id":"1823","type":"PanTool"},{"attributes":{"text":"Librem 14 Charging Profile"},"id":"1805","type":"Title"},{"attributes":{"axis":{"id":"1815"},"ticker":null},"id":"1818","type":"Grid"},{"attributes":{},"id":"1820","type":"BasicTicker"},{"attributes":{"source":{"id":"1837"}},"id":"1841","type":"CDSView"},{"attributes":{},"id":"1813","type":"LinearScale"},{"attributes":{},"id":"1828","type":"HelpTool"},{"attributes":{},"id":"1827","type":"ResetTool"},{"attributes":{"below":[{"id":"1815"}],"center":[{"id":"1818"},{"id":"1822"}],"left":[{"id":"1819"}],"renderers":[{"id":"1840"}],"title":{"id":"1805"},"toolbar":{"id":"1830"},"x_range":{"id":"1807"},"x_scale":{"id":"1811"},"y_range":{"id":"1809"},"y_scale":{"id":"1813"}},"id":"1804","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"1809","type":"DataRange1d"},{"attributes":{},"id":"1847","type":"AllLabels"},{"attributes":{"active_multi":null,"tools":[{"id":"1823"},{"id":"1824"},{"id":"1825"},{"id":"1826"},{"id":"1827"},{"id":"1828"}]},"id":"1830","type":"Toolbar"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"field":"line_color"},"xs":{"field":"xs"},"ys":{"field":"ys"}},"id":"1839","type":"MultiLine"},{"attributes":{},"id":"1846","type":"BasicTickFormatter"},{"attributes":{},"id":"1849","type":"UnionRenderers"},{"attributes":{"overlay":{"id":"1829"}},"id":"1825","type":"BoxZoomTool"},{"attributes":{},"id":"1807","type":"DataRange1d"}],"root_ids":["1804"]},"title":"Bokeh Application","version":"2.3.2"}}'; var render_items = [{"docid":"67b99b0d-5c64-4709-aa2a-f08e85350aea","root_ids":["1804"],"roots":{"1804":"e04ae544-198f-4002-bfbb-b9380ee68974"}}]; 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); })();