(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("0b96301d-0c28-43d5-a54c-2be458a9d78d");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid '0b96301d-0c28-43d5-a54c-2be458a9d78d' 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 = {"a591fd4e-a0f9-46c8-876b-eb1aef51dd45":{"roots":{"references":[{"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":"1a4063be-9173-4018-9c8d-4e2b15de3930","type":"ColumnDataSource"},{"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":"c5bdb26d-1c11-46c3-8f12-82fedfe4dfb9","type":"DaysTicker"},{"attributes":{"source":{"id":"1a4063be-9173-4018-9c8d-4e2b15de3930","type":"ColumnDataSource"}},"id":"64205738-2ee1-4114-807f-7fbae0121496","type":"CDSView"},{"attributes":{},"id":"905c71f9-0642-4faa-a501-fc026aad3423","type":"PanTool"},{"attributes":{},"id":"510c4261-41a0-4bcd-9712-b53a4bd12f9b","type":"LinearScale"},{"attributes":{"callback":null},"id":"0acfc9d0-9c61-4b2c-a537-e3d25dc26069","type":"DataRange1d"},{"attributes":{"months":[0,2,4,6,8,10]},"id":"564690c7-5473-4cb9-b611-8231cfea641b","type":"MonthsTicker"},{"attributes":{"line_alpha":{"value":0.5},"line_color":{"value":"navy"},"x":{"field":"x"},"y":{"field":"y"}},"id":"b15592b6-2ec9-44c9-bff6-b4666b50746c","type":"Line"},{"attributes":{"mantissas":[1,2,5],"max_interval":500.0,"num_minor_ticks":0},"id":"f6c131ad-c1fc-4121-99ff-4b04b8a205f9","type":"AdaptiveTicker"},{"attributes":{"base":24,"mantissas":[1,2,4,6,8,12],"max_interval":43200000.0,"min_interval":3600000.0,"num_minor_ticks":0},"id":"8228a543-fde4-4d12-8f1b-a5c920aefbb9","type":"AdaptiveTicker"},{"attributes":{},"id":"b9e3a752-c3d2-4873-a3a1-485fb54bfcfe","type":"SaveTool"},{"attributes":{"callback":null},"id":"ee328aff-c8fa-4c7c-b127-0484e38a7d43","type":"DataRange1d"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"abeb7e0e-7d15-4a0f-9889-2c3e94a2b437","type":"Line"},{"attributes":{},"id":"e4e41e75-1b70-4bb5-9064-80f686471256","type":"BasicTicker"},{"attributes":{"dimension":1,"plot":{"id":"5eb6c25e-b828-4059-aa03-4e92db9401a6","subtype":"Figure","type":"Plot"},"ticker":{"id":"e4e41e75-1b70-4bb5-9064-80f686471256","type":"BasicTicker"}},"id":"df86af40-13ff-4fdc-bd82-042a2ef95249","type":"Grid"},{"attributes":{"data_source":{"id":"1a4063be-9173-4018-9c8d-4e2b15de3930","type":"ColumnDataSource"},"glyph":{"id":"b15592b6-2ec9-44c9-bff6-b4666b50746c","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"abeb7e0e-7d15-4a0f-9889-2c3e94a2b437","type":"Line"},"selection_glyph":null,"view":{"id":"64205738-2ee1-4114-807f-7fbae0121496","type":"CDSView"}},"id":"9046365c-346c-4ba5-925b-69ebcbdbab2d","type":"GlyphRenderer"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"905c71f9-0642-4faa-a501-fc026aad3423","type":"PanTool"},{"id":"5659bdd2-5271-4858-96e7-5cb102146566","type":"WheelZoomTool"},{"id":"169e4783-80b8-4763-bcde-30965d4ff5ac","type":"BoxZoomTool"},{"id":"b9e3a752-c3d2-4873-a3a1-485fb54bfcfe","type":"SaveTool"},{"id":"db518a82-6b2e-4f93-b0fb-e8d5e0a81a88","type":"ResetTool"},{"id":"8cb52857-4b82-4848-90b4-3b6585394bb0","type":"HelpTool"}]},"id":"aefb6f36-9ec7-4b91-ba12-8d65335e9224","type":"Toolbar"},{"attributes":{"formatter":{"id":"849961e5-9e43-4002-a3b8-acf22d294d92","type":"BasicTickFormatter"},"plot":{"id":"5eb6c25e-b828-4059-aa03-4e92db9401a6","subtype":"Figure","type":"Plot"},"ticker":{"id":"e4e41e75-1b70-4bb5-9064-80f686471256","type":"BasicTicker"}},"id":"c51b8c11-1a19-47e8-afb0-8bf4358905ec","type":"LinearAxis"},{"attributes":{},"id":"db518a82-6b2e-4f93-b0fb-e8d5e0a81a88","type":"ResetTool"},{"attributes":{"days":[1,8,15,22]},"id":"f68c2133-66a9-4e6e-ba17-36b4516a45cb","type":"DaysTicker"},{"attributes":{"plot":{"id":"5eb6c25e-b828-4059-aa03-4e92db9401a6","subtype":"Figure","type":"Plot"},"ticker":{"id":"209e0523-e119-41d4-9af0-7496323b04b5","type":"DatetimeTicker"}},"id":"75fcdf1d-56a8-4d6e-a38d-5450689a3e5c","type":"Grid"},{"attributes":{"plot":null,"text":""},"id":"3f00ad06-7687-411f-b34a-6ad1764edaa8","type":"Title"},{"attributes":{"formatter":{"id":"ea7b5186-86b6-4108-a24d-a5badbbe8413","type":"DatetimeTickFormatter"},"plot":{"id":"5eb6c25e-b828-4059-aa03-4e92db9401a6","subtype":"Figure","type":"Plot"},"ticker":{"id":"209e0523-e119-41d4-9af0-7496323b04b5","type":"DatetimeTicker"}},"id":"ab1bee0b-e4fe-4982-8b0d-e485d133ee21","type":"DatetimeAxis"},{"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":"57dd4104-bf0c-416e-b953-8f951478eeac","type":"BoxAnnotation"},{"attributes":{},"id":"5659bdd2-5271-4858-96e7-5cb102146566","type":"WheelZoomTool"},{"attributes":{},"id":"be5e2f8f-32ec-462a-bffb-fbf9cdc0ec0f","type":"YearsTicker"},{"attributes":{"months":[0,1,2,3,4,5,6,7,8,9,10,11]},"id":"e287c26f-7b02-492b-a779-02d35f813e37","type":"MonthsTicker"},{"attributes":{"days":[1,15]},"id":"910146a6-304b-4b1f-8b84-f7ae7b129cf1","type":"DaysTicker"},{"attributes":{"days":[1,4,7,10,13,16,19,22,25,28]},"id":"9e079f82-dc79-4874-bab4-c5c89affc986","type":"DaysTicker"},{"attributes":{},"id":"3656ddef-4a5d-4369-922a-8c2e2cc067b9","type":"LinearScale"},{"attributes":{},"id":"849961e5-9e43-4002-a3b8-acf22d294d92","type":"BasicTickFormatter"},{"attributes":{"months":[0,6]},"id":"71b7cd02-c9d2-4f2f-860c-75c09a50ee4a","type":"MonthsTicker"},{"attributes":{"below":[{"id":"ab1bee0b-e4fe-4982-8b0d-e485d133ee21","type":"DatetimeAxis"}],"left":[{"id":"c51b8c11-1a19-47e8-afb0-8bf4358905ec","type":"LinearAxis"}],"plot_height":250,"plot_width":800,"renderers":[{"id":"ab1bee0b-e4fe-4982-8b0d-e485d133ee21","type":"DatetimeAxis"},{"id":"75fcdf1d-56a8-4d6e-a38d-5450689a3e5c","type":"Grid"},{"id":"c51b8c11-1a19-47e8-afb0-8bf4358905ec","type":"LinearAxis"},{"id":"df86af40-13ff-4fdc-bd82-042a2ef95249","type":"Grid"},{"id":"57dd4104-bf0c-416e-b953-8f951478eeac","type":"BoxAnnotation"},{"id":"9046365c-346c-4ba5-925b-69ebcbdbab2d","type":"GlyphRenderer"}],"title":{"id":"3f00ad06-7687-411f-b34a-6ad1764edaa8","type":"Title"},"toolbar":{"id":"aefb6f36-9ec7-4b91-ba12-8d65335e9224","type":"Toolbar"},"x_range":{"id":"0acfc9d0-9c61-4b2c-a537-e3d25dc26069","type":"DataRange1d"},"x_scale":{"id":"3656ddef-4a5d-4369-922a-8c2e2cc067b9","type":"LinearScale"},"y_range":{"id":"ee328aff-c8fa-4c7c-b127-0484e38a7d43","type":"DataRange1d"},"y_scale":{"id":"510c4261-41a0-4bcd-9712-b53a4bd12f9b","type":"LinearScale"}},"id":"5eb6c25e-b828-4059-aa03-4e92db9401a6","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"8cb52857-4b82-4848-90b4-3b6585394bb0","type":"HelpTool"},{"attributes":{"overlay":{"id":"57dd4104-bf0c-416e-b953-8f951478eeac","type":"BoxAnnotation"}},"id":"169e4783-80b8-4763-bcde-30965d4ff5ac","type":"BoxZoomTool"},{"attributes":{"months":[0,4,8]},"id":"2e13fc8a-7a27-40f8-9311-7bc178f83881","type":"MonthsTicker"},{"attributes":{"num_minor_ticks":5,"tickers":[{"id":"f6c131ad-c1fc-4121-99ff-4b04b8a205f9","type":"AdaptiveTicker"},{"id":"73ca8396-85a9-406c-b3be-2f1248afa028","type":"AdaptiveTicker"},{"id":"8228a543-fde4-4d12-8f1b-a5c920aefbb9","type":"AdaptiveTicker"},{"id":"c5bdb26d-1c11-46c3-8f12-82fedfe4dfb9","type":"DaysTicker"},{"id":"9e079f82-dc79-4874-bab4-c5c89affc986","type":"DaysTicker"},{"id":"f68c2133-66a9-4e6e-ba17-36b4516a45cb","type":"DaysTicker"},{"id":"910146a6-304b-4b1f-8b84-f7ae7b129cf1","type":"DaysTicker"},{"id":"e287c26f-7b02-492b-a779-02d35f813e37","type":"MonthsTicker"},{"id":"564690c7-5473-4cb9-b611-8231cfea641b","type":"MonthsTicker"},{"id":"2e13fc8a-7a27-40f8-9311-7bc178f83881","type":"MonthsTicker"},{"id":"71b7cd02-c9d2-4f2f-860c-75c09a50ee4a","type":"MonthsTicker"},{"id":"be5e2f8f-32ec-462a-bffb-fbf9cdc0ec0f","type":"YearsTicker"}]},"id":"209e0523-e119-41d4-9af0-7496323b04b5","type":"DatetimeTicker"},{"attributes":{"base":60,"mantissas":[1,2,5,10,15,20,30],"max_interval":1800000.0,"min_interval":1000.0,"num_minor_ticks":0},"id":"73ca8396-85a9-406c-b3be-2f1248afa028","type":"AdaptiveTicker"},{"attributes":{},"id":"ea7b5186-86b6-4108-a24d-a5badbbe8413","type":"DatetimeTickFormatter"}],"root_ids":["5eb6c25e-b828-4059-aa03-4e92db9401a6"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"a591fd4e-a0f9-46c8-876b-eb1aef51dd45","elementid":"0b96301d-0c28-43d5-a54c-2be458a9d78d","modelid":"5eb6c25e-b828-4059-aa03-4e92db9401a6"}];
                
                    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);
})();
