(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;
      }
    
      
      
    
      
      
    
      function run_callbacks() {
        try {
          root._bokeh_onload_callbacks.forEach(function(callback) { callback() });
        }
        finally {
          delete root._bokeh_onload_callbacks
        }
        console.info("Bokeh: all callbacks have finished");
      }
    
      function load_libs(js_urls, callback) {
        root._bokeh_onload_callbacks.push(callback);
        if (root._bokeh_is_loading > 0) {
          console.log("Bokeh: BokehJS is being loaded, scheduling callback at", now());
          return null;
        }
        if (js_urls == null || js_urls.length === 0) {
          run_callbacks();
          return null;
        }
        console.log("Bokeh: BokehJS not loaded, scheduling load and callback at", now());
        root._bokeh_is_loading = js_urls.length;
        for (var i = 0; i < js_urls.length; i++) {
          var url = js_urls[i];
          var s = document.createElement('script');
          s.src = url;
          s.async = false;
          s.onreadystatechange = s.onload = function() {
            root._bokeh_is_loading--;
            if (root._bokeh_is_loading === 0) {
              console.log("Bokeh: all BokehJS libraries loaded");
              run_callbacks()
            }
          };
          s.onerror = function() {
            console.warn("failed to load library " + url);
          };
          console.log("Bokeh: injecting script tag for BokehJS library: ", url);
          document.getElementsByTagName("head")[0].appendChild(s);
        }
      };var element = document.getElementById("8cca4ad5-ec62-4dbb-973e-b623282d26c0");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid '8cca4ad5-ec62-4dbb-973e-b623282d26c0' but no matching script tag was found. ")
        return false;
      }
    
      var js_urls = ["https://cdn.pydata.org/bokeh/release/bokeh-0.12.9.min.js", "https://cdn.pydata.org/bokeh/release/bokeh-widgets-0.12.9.min.js", "https://cdn.pydata.org/bokeh/release/bokeh-tables-0.12.9.min.js", "https://cdn.pydata.org/bokeh/release/bokeh-gl-0.12.9.min.js"];
    
      var inline_js = [
        function(Bokeh) {
          Bokeh.set_log_level("info");
        },
        
        function(Bokeh) {
          
        },
        
        function(Bokeh) {
          (function() {
            var fn = function() {
              Bokeh.safely(function() {
                (function(root) {
                  function embed_document(root) {
                    var docs_json = {"35df889d-b26b-4b9d-9357-3e1687d2eb4f":{"roots":{"references":[{"attributes":{"line_alpha":{"value":0.8},"line_color":{"value":"#2b83ba"},"line_width":{"value":2},"x":{"field":"x"},"y":{"field":"y"}},"id":"72a8334e-9b30-4f5e-816a-37c33167bce2","type":"Line"},{"attributes":{"days":[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]},"id":"948b69b5-fd45-4667-8aca-4ea931fac617","type":"DaysTicker"},{"attributes":{"callback":null},"id":"14ab0c05-3cb4-446c-93df-ed7ef734cff4","type":"DataRange1d"},{"attributes":{"label":{"value":"GOOG"},"renderers":[{"id":"2cbe0798-5a51-4f06-8ac0-a6e1e3f9d6f4","type":"GlyphRenderer"}]},"id":"f6ea580e-c82b-4066-9980-f507c9b2c249","type":"LegendItem"},{"attributes":{"data_source":{"id":"d2224191-c400-4066-bb0e-425ad9d68ff8","type":"ColumnDataSource"},"glyph":{"id":"b5d3499c-1d93-40cb-bd19-d558e2399497","type":"Line"},"hover_glyph":null,"muted_glyph":{"id":"222d3ba7-32cb-41b7-9271-39b8a501c229","type":"Line"},"nonselection_glyph":{"id":"9937d2a5-a5af-497f-b06e-a2a9f6536f23","type":"Line"},"selection_glyph":null,"view":{"id":"c5113ae9-dea2-46a6-8762-f6c9974b4e09","type":"CDSView"}},"id":"2d4c1181-aad9-4d80-a50d-166ff1fc78e8","type":"GlyphRenderer"},{"attributes":{"callback":null,"column_names":["y","x"],"data":{"x":{"__ndarray__":"[encoded data, 34880 characters]","dtype":"float64","shape":[3270]},"y":{"__ndarray__":"[encoded data, 34880 characters]","dtype":"float64","shape":[3270]}}},"id":"5fea30ca-8778-4aaa-87dd-b93551269939","type":"ColumnDataSource"},{"attributes":{"source":{"id":"32c1cd8b-2383-4b51-91e6-e76c144653a8","type":"ColumnDataSource"}},"id":"14492d47-17cf-4a36-a374-667747e047d7","type":"CDSView"},{"attributes":{"line_alpha":{"value":0.2},"line_color":{"value":"#fdae61"},"line_width":{"value":2},"x":{"field":"x"},"y":{"field":"y"}},"id":"6a21c24d-f4f2-4aa7-b045-1cd68bc77044","type":"Line"},{"attributes":{"line_alpha":{"value":0.2},"line_color":{"value":"#2b83ba"},"line_width":{"value":2},"x":{"field":"x"},"y":{"field":"y"}},"id":"184e9c0f-9672-4c72-bc27-1909d667589c","type":"Line"},{"attributes":{"data_source":{"id":"cad66008-e106-4245-9b90-b379bb4f7e82","type":"ColumnDataSource"},"glyph":{"id":"14c3c541-89b8-40e8-b703-b340889ead6f","type":"Line"},"hover_glyph":null,"muted_glyph":{"id":"9e19a28d-632c-42b8-b967-3bd6cb78b5e5","type":"Line"},"nonselection_glyph":{"id":"1fe29c8f-8162-42da-91db-9a9e789b3ddc","type":"Line"},"selection_glyph":null,"view":{"id":"f1d59c49-304e-4fdc-bb14-d9163576516c","type":"CDSView"}},"id":"2cbe0798-5a51-4f06-8ac0-a6e1e3f9d6f4","type":"GlyphRenderer"},{"attributes":{"click_policy":"mute","items":[{"id":"830b1be3-8e68-4144-8d02-c8143e4b7e10","type":"LegendItem"},{"id":"b15aae02-be28-4dab-b9cf-cc9d438db423","type":"LegendItem"},{"id":"13b8286a-a63b-4d49-a3fb-e0ffca256e34","type":"LegendItem"},{"id":"f6ea580e-c82b-4066-9980-f507c9b2c249","type":"LegendItem"}],"location":"top_left","plot":{"id":"cb63d052-f769-475d-8356-77c3675dbe94","subtype":"Figure","type":"Plot"}},"id":"d9a09e03-be5e-480d-90f3-e5204564911d","type":"Legend"},{"attributes":{},"id":"1ba4578a-5460-4a66-ae1d-7b385be22de5","type":"LinearScale"},{"attributes":{"dimension":1,"plot":{"id":"cb63d052-f769-475d-8356-77c3675dbe94","subtype":"Figure","type":"Plot"},"ticker":{"id":"b31fa2ba-1b8c-43fc-8026-24d5bfef25b8","type":"BasicTicker"}},"id":"a91db538-16ef-483b-b495-bb9a0969b85d","type":"Grid"},{"attributes":{"line_alpha":{"value":0.8},"line_color":{"value":"#fdae61"},"line_width":{"value":2},"x":{"field":"x"},"y":{"field":"y"}},"id":"bf552898-282c-444e-8a88-d7bdf1b7fe82","type":"Line"},{"attributes":{"formatter":{"id":"bce1e57a-5df8-4294-badd-726d072de96d","type":"DatetimeTickFormatter"},"plot":{"id":"cb63d052-f769-475d-8356-77c3675dbe94","subtype":"Figure","type":"Plot"},"ticker":{"id":"a980ee92-30be-4bf8-af9a-327812a339e1","type":"DatetimeTicker"}},"id":"35b3a9a5-8681-4593-bd37-b2094751a1ac","type":"DatetimeAxis"},{"attributes":{},"id":"8f4939ed-ad9f-4345-97fd-2447e1c2dbe6","type":"SaveTool"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"line_width":{"value":2},"x":{"field":"x"},"y":{"field":"y"}},"id":"9937d2a5-a5af-497f-b06e-a2a9f6536f23","type":"Line"},{"attributes":{},"id":"bce1e57a-5df8-4294-badd-726d072de96d","type":"DatetimeTickFormatter"},{"attributes":{"days":[1,8,15,22]},"id":"82d41e69-574b-4138-8437-121e24b79ca5","type":"DaysTicker"},{"attributes":{},"id":"8fed46c7-b1e5-4505-97c7-e8f9ebc10f69","type":"BasicTickFormatter"},{"attributes":{},"id":"b31fa2ba-1b8c-43fc-8026-24d5bfef25b8","type":"BasicTicker"},{"attributes":{"label":{"value":"MSFT"},"renderers":[{"id":"ed5d12c6-9026-4f16-a255-d6044be6c61b","type":"GlyphRenderer"}]},"id":"13b8286a-a63b-4d49-a3fb-e0ffca256e34","type":"LegendItem"},{"attributes":{"line_alpha":{"value":0.2},"line_color":{"value":"#abdda4"},"line_width":{"value":2},"x":{"field":"x"},"y":{"field":"y"}},"id":"222d3ba7-32cb-41b7-9271-39b8a501c229","type":"Line"},{"attributes":{"base":60,"mantissas":[1,2,5,10,15,20,30],"max_interval":1800000.0,"min_interval":1000.0,"num_minor_ticks":0},"id":"927da0e6-fa29-486e-8f83-b8dede8b44aa","type":"AdaptiveTicker"},{"attributes":{"mantissas":[1,2,5],"max_interval":500.0,"num_minor_ticks":0},"id":"72fb7ebb-cff8-426b-aa8d-c05cd6995492","type":"AdaptiveTicker"},{"attributes":{"callback":null,"column_names":["y","x"],"data":{"x":{"__ndarray__":"[encoded data, 34880 characters]","dtype":"float64","shape":[3270]},"y":{"__ndarray__":"[encoded data, 34880 characters]","dtype":"float64","shape":[3270]}}},"id":"32c1cd8b-2383-4b51-91e6-e76c144653a8","type":"ColumnDataSource"},{"attributes":{"line_alpha":{"value":0.2},"line_color":{"value":"#d7191c"},"line_width":{"value":2},"x":{"field":"x"},"y":{"field":"y"}},"id":"9e19a28d-632c-42b8-b967-3bd6cb78b5e5","type":"Line"},{"attributes":{},"id":"cf8a80b1-6e28-4942-8007-a970ab8848a5","type":"HelpTool"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"line_width":{"value":2},"x":{"field":"x"},"y":{"field":"y"}},"id":"1fe29c8f-8162-42da-91db-9a9e789b3ddc","type":"Line"},{"attributes":{"data_source":{"id":"32c1cd8b-2383-4b51-91e6-e76c144653a8","type":"ColumnDataSource"},"glyph":{"id":"72a8334e-9b30-4f5e-816a-37c33167bce2","type":"Line"},"hover_glyph":null,"muted_glyph":{"id":"184e9c0f-9672-4c72-bc27-1909d667589c","type":"Line"},"nonselection_glyph":{"id":"11d0ae4e-cd7b-4bc5-a428-61c4775de24b","type":"Line"},"selection_glyph":null,"view":{"id":"14492d47-17cf-4a36-a374-667747e047d7","type":"CDSView"}},"id":"036973dc-0d8c-4f93-aea8-5ad2777afb83","type":"GlyphRenderer"},{"attributes":{},"id":"ce02b30d-d682-441b-8904-c60fa91625b5","type":"PanTool"},{"attributes":{},"id":"8e234535-b516-40fc-9e29-9051a69e3842","type":"YearsTicker"},{"attributes":{"source":{"id":"d2224191-c400-4066-bb0e-425ad9d68ff8","type":"ColumnDataSource"}},"id":"c5113ae9-dea2-46a6-8762-f6c9974b4e09","type":"CDSView"},{"attributes":{"line_alpha":{"value":0.8},"line_color":{"value":"#d7191c"},"line_width":{"value":2},"x":{"field":"x"},"y":{"field":"y"}},"id":"14c3c541-89b8-40e8-b703-b340889ead6f","type":"Line"},{"attributes":{"months":[0,4,8]},"id":"482ca8a5-58bd-4219-8a48-690b09d0e9d6","type":"MonthsTicker"},{"attributes":{"overlay":{"id":"40bd0479-f34a-407f-ba43-bdcfebab35bf","type":"BoxAnnotation"}},"id":"b027a5c6-621c-416d-a628-c3ad039134f5","type":"BoxZoomTool"},{"attributes":{"base":24,"mantissas":[1,2,4,6,8,12],"max_interval":43200000.0,"min_interval":3600000.0,"num_minor_ticks":0},"id":"1407f60a-6820-44e4-86af-0f4137b511ed","type":"AdaptiveTicker"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"line_width":{"value":2},"x":{"field":"x"},"y":{"field":"y"}},"id":"11d0ae4e-cd7b-4bc5-a428-61c4775de24b","type":"Line"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"line_width":{"value":2},"x":{"field":"x"},"y":{"field":"y"}},"id":"38b92d4e-4134-46d8-a4d1-01c8486da942","type":"Line"},{"attributes":{"source":{"id":"5fea30ca-8778-4aaa-87dd-b93551269939","type":"ColumnDataSource"}},"id":"dc9b2a9d-1916-48bb-96c0-498caf838440","type":"CDSView"},{"attributes":{"callback":null,"column_names":["y","x"],"data":{"x":{"__ndarray__":"[encoded data, 34880 characters]","dtype":"float64","shape":[3270]},"y":{"__ndarray__":"[encoded data, 34880 characters]","dtype":"float64","shape":[3270]}}},"id":"d2224191-c400-4066-bb0e-425ad9d68ff8","type":"ColumnDataSource"},{"attributes":{},"id":"70c9ae79-7186-4a4f-8636-81e4fc0337b5","type":"ResetTool"},{"attributes":{"label":{"value":"AAPL"},"renderers":[{"id":"036973dc-0d8c-4f93-aea8-5ad2777afb83","type":"GlyphRenderer"}]},"id":"830b1be3-8e68-4144-8d02-c8143e4b7e10","type":"LegendItem"},{"attributes":{"formatter":{"id":"8fed46c7-b1e5-4505-97c7-e8f9ebc10f69","type":"BasicTickFormatter"},"plot":{"id":"cb63d052-f769-475d-8356-77c3675dbe94","subtype":"Figure","type":"Plot"},"ticker":{"id":"b31fa2ba-1b8c-43fc-8026-24d5bfef25b8","type":"BasicTicker"}},"id":"f18a5cae-c839-4463-a834-b7892ea4ff8f","type":"LinearAxis"},{"attributes":{"line_alpha":{"value":0.8},"line_color":{"value":"#abdda4"},"line_width":{"value":2},"x":{"field":"x"},"y":{"field":"y"}},"id":"b5d3499c-1d93-40cb-bd19-d558e2399497","type":"Line"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"ce02b30d-d682-441b-8904-c60fa91625b5","type":"PanTool"},{"id":"71fd0025-0ca8-4c8c-bf05-71ba2468412c","type":"WheelZoomTool"},{"id":"b027a5c6-621c-416d-a628-c3ad039134f5","type":"BoxZoomTool"},{"id":"8f4939ed-ad9f-4345-97fd-2447e1c2dbe6","type":"SaveTool"},{"id":"70c9ae79-7186-4a4f-8636-81e4fc0337b5","type":"ResetTool"},{"id":"cf8a80b1-6e28-4942-8007-a970ab8848a5","type":"HelpTool"}]},"id":"d3fb97f9-4a41-46e4-8fe9-727e41589f17","type":"Toolbar"},{"attributes":{"callback":null},"id":"48cfefb0-7bd9-467b-ad18-e326a68d5eb5","type":"DataRange1d"},{"attributes":{"bottom_units":"screen","fill_alpha":{"value":0.5},"fill_color":{"value":"lightgrey"},"left_units":"screen","level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":"black"},"line_dash":[4,4],"line_width":{"value":2},"plot":null,"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"40bd0479-f34a-407f-ba43-bdcfebab35bf","type":"BoxAnnotation"},{"attributes":{"months":[0,1,2,3,4,5,6,7,8,9,10,11]},"id":"ee216110-f28a-451a-ac37-061425ccf241","type":"MonthsTicker"},{"attributes":{"plot":{"id":"cb63d052-f769-475d-8356-77c3675dbe94","subtype":"Figure","type":"Plot"},"ticker":{"id":"a980ee92-30be-4bf8-af9a-327812a339e1","type":"DatetimeTicker"}},"id":"c7604651-5006-4d87-8a3f-6fa26bd05630","type":"Grid"},{"attributes":{"months":[0,2,4,6,8,10]},"id":"c573f4f2-3456-4ba5-9940-ef0497267050","type":"MonthsTicker"},{"attributes":{"num_minor_ticks":5,"tickers":[{"id":"72fb7ebb-cff8-426b-aa8d-c05cd6995492","type":"AdaptiveTicker"},{"id":"927da0e6-fa29-486e-8f83-b8dede8b44aa","type":"AdaptiveTicker"},{"id":"1407f60a-6820-44e4-86af-0f4137b511ed","type":"AdaptiveTicker"},{"id":"948b69b5-fd45-4667-8aca-4ea931fac617","type":"DaysTicker"},{"id":"7649d7a1-ce9f-412b-bafd-32a75cc68eb9","type":"DaysTicker"},{"id":"82d41e69-574b-4138-8437-121e24b79ca5","type":"DaysTicker"},{"id":"99efcc89-5484-4be0-ac67-2ea481f5aea3","type":"DaysTicker"},{"id":"ee216110-f28a-451a-ac37-061425ccf241","type":"MonthsTicker"},{"id":"c573f4f2-3456-4ba5-9940-ef0497267050","type":"MonthsTicker"},{"id":"482ca8a5-58bd-4219-8a48-690b09d0e9d6","type":"MonthsTicker"},{"id":"3341a1ac-b14b-4fb1-97a5-e7f22668d742","type":"MonthsTicker"},{"id":"8e234535-b516-40fc-9e29-9051a69e3842","type":"YearsTicker"}]},"id":"a980ee92-30be-4bf8-af9a-327812a339e1","type":"DatetimeTicker"},{"attributes":{},"id":"09bdd0ee-fb96-4b03-b472-1449b23620a9","type":"LinearScale"},{"attributes":{"days":[1,15]},"id":"99efcc89-5484-4be0-ac67-2ea481f5aea3","type":"DaysTicker"},{"attributes":{"callback":null,"column_names":["y","x"],"data":{"x":{"__ndarray__":"[encoded data, 22912 characters]","dtype":"float64","shape":[2148]},"y":{"__ndarray__":"[encoded data, 22912 characters]","dtype":"float64","shape":[2148]}}},"id":"cad66008-e106-4245-9b90-b379bb4f7e82","type":"ColumnDataSource"},{"attributes":{"months":[0,6]},"id":"3341a1ac-b14b-4fb1-97a5-e7f22668d742","type":"MonthsTicker"},{"attributes":{"below":[{"id":"35b3a9a5-8681-4593-bd37-b2094751a1ac","type":"DatetimeAxis"}],"left":[{"id":"f18a5cae-c839-4463-a834-b7892ea4ff8f","type":"LinearAxis"}],"plot_height":250,"plot_width":800,"renderers":[{"id":"35b3a9a5-8681-4593-bd37-b2094751a1ac","type":"DatetimeAxis"},{"id":"c7604651-5006-4d87-8a3f-6fa26bd05630","type":"Grid"},{"id":"f18a5cae-c839-4463-a834-b7892ea4ff8f","type":"LinearAxis"},{"id":"a91db538-16ef-483b-b495-bb9a0969b85d","type":"Grid"},{"id":"40bd0479-f34a-407f-ba43-bdcfebab35bf","type":"BoxAnnotation"},{"id":"d9a09e03-be5e-480d-90f3-e5204564911d","type":"Legend"},{"id":"036973dc-0d8c-4f93-aea8-5ad2777afb83","type":"GlyphRenderer"},{"id":"2d4c1181-aad9-4d80-a50d-166ff1fc78e8","type":"GlyphRenderer"},{"id":"ed5d12c6-9026-4f16-a255-d6044be6c61b","type":"GlyphRenderer"},{"id":"2cbe0798-5a51-4f06-8ac0-a6e1e3f9d6f4","type":"GlyphRenderer"}],"title":{"id":"dbc4c970-65fb-4a68-b008-e455c34c3426","type":"Title"},"toolbar":{"id":"d3fb97f9-4a41-46e4-8fe9-727e41589f17","type":"Toolbar"},"x_range":{"id":"48cfefb0-7bd9-467b-ad18-e326a68d5eb5","type":"DataRange1d"},"x_scale":{"id":"1ba4578a-5460-4a66-ae1d-7b385be22de5","type":"LinearScale"},"y_range":{"id":"14ab0c05-3cb4-446c-93df-ed7ef734cff4","type":"DataRange1d"},"y_scale":{"id":"09bdd0ee-fb96-4b03-b472-1449b23620a9","type":"LinearScale"}},"id":"cb63d052-f769-475d-8356-77c3675dbe94","subtype":"Figure","type":"Plot"},{"attributes":{"days":[1,4,7,10,13,16,19,22,25,28]},"id":"7649d7a1-ce9f-412b-bafd-32a75cc68eb9","type":"DaysTicker"},{"attributes":{},"id":"71fd0025-0ca8-4c8c-bf05-71ba2468412c","type":"WheelZoomTool"},{"attributes":{"data_source":{"id":"5fea30ca-8778-4aaa-87dd-b93551269939","type":"ColumnDataSource"},"glyph":{"id":"bf552898-282c-444e-8a88-d7bdf1b7fe82","type":"Line"},"hover_glyph":null,"muted_glyph":{"id":"6a21c24d-f4f2-4aa7-b045-1cd68bc77044","type":"Line"},"nonselection_glyph":{"id":"38b92d4e-4134-46d8-a4d1-01c8486da942","type":"Line"},"selection_glyph":null,"view":{"id":"dc9b2a9d-1916-48bb-96c0-498caf838440","type":"CDSView"}},"id":"ed5d12c6-9026-4f16-a255-d6044be6c61b","type":"GlyphRenderer"},{"attributes":{"source":{"id":"cad66008-e106-4245-9b90-b379bb4f7e82","type":"ColumnDataSource"}},"id":"f1d59c49-304e-4fdc-bb14-d9163576516c","type":"CDSView"},{"attributes":{"plot":null,"text":"Click on legend entries to mute the corresponding lines"},"id":"dbc4c970-65fb-4a68-b008-e455c34c3426","type":"Title"},{"attributes":{"label":{"value":"IBM"},"renderers":[{"id":"2d4c1181-aad9-4d80-a50d-166ff1fc78e8","type":"GlyphRenderer"}]},"id":"b15aae02-be28-4dab-b9cf-cc9d438db423","type":"LegendItem"}],"root_ids":["cb63d052-f769-475d-8356-77c3675dbe94"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"35df889d-b26b-4b9d-9357-3e1687d2eb4f","elementid":"8cca4ad5-ec62-4dbb-973e-b623282d26c0","modelid":"cb63d052-f769-475d-8356-77c3675dbe94"}];
                
                    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) {
                        embed_document(root);
                        clearInterval(timer);
                      }
                      attempts++;
                      if (attempts > 100) {
                        console.log("Bokeh: ERROR: Unable to embed document because BokehJS library is missing")
                        clearInterval(timer);
                      }
                    }, 10, root)
                  }
                })(window);
              });
            };
            if (document.readyState != "loading") fn();
            else document.addEventListener("DOMContentLoaded", fn);
          })();
        },
        function(Bokeh) {
          console.log("Bokeh: injecting CSS: https://cdn.pydata.org/bokeh/release/bokeh-0.12.9.min.css");
          Bokeh.embed.inject_css("https://cdn.pydata.org/bokeh/release/bokeh-0.12.9.min.css");
          console.log("Bokeh: injecting CSS: https://cdn.pydata.org/bokeh/release/bokeh-widgets-0.12.9.min.css");
          Bokeh.embed.inject_css("https://cdn.pydata.org/bokeh/release/bokeh-widgets-0.12.9.min.css");
          console.log("Bokeh: injecting CSS: https://cdn.pydata.org/bokeh/release/bokeh-tables-0.12.9.min.css");
          Bokeh.embed.inject_css("https://cdn.pydata.org/bokeh/release/bokeh-tables-0.12.9.min.css");
        }
      ];
    
      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.log("Bokeh: BokehJS loaded, going straight to plotting");
        run_inline_js();
      } else {
        load_libs(js_urls, function() {
          console.log("Bokeh: BokehJS plotting callback run at", now());
          run_inline_js();
        });
      }
    }(window));
  };
  if (document.readyState != "loading") fn();
  else document.addEventListener("DOMContentLoaded", fn);
})();
