(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("3ddb4816-8ed3-44f5-94c6-d80782d66e2b");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid '3ddb4816-8ed3-44f5-94c6-d80782d66e2b' 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 = {"d9b1bf97-d8b3-4330-b8ff-c65d379144b2":{"roots":{"references":[{"attributes":{"days":[1,4,7,10,13,16,19,22,25,28]},"id":"a1b2e40f-4f3b-4e36-9a5b-3285f20bc75f","type":"DaysTicker"},{"attributes":{"dimension":1,"plot":{"id":"81d3e04d-3bb4-4af0-9c03-5965f3d37af8","subtype":"Figure","type":"Plot"},"ticker":{"id":"cebf4dd5-50f0-42a1-b271-5bab207aa863","type":"BasicTicker"}},"id":"196887b2-32ac-4cd6-94d4-e52d681e077f","type":"Grid"},{"attributes":{"formatter":{"id":"13413d8b-50fc-45c2-82d3-49dcc05b5004","type":"DatetimeTickFormatter"},"plot":{"id":"81d3e04d-3bb4-4af0-9c03-5965f3d37af8","subtype":"Figure","type":"Plot"},"ticker":{"id":"07bff3c2-9801-4d5b-b003-20e84989156c","type":"DatetimeTicker"}},"id":"93686870-7670-4351-a497-7805cd1db591","type":"DatetimeAxis"},{"attributes":{"callback":null},"id":"cc315d1b-9ebb-4993-a4c7-62f0972f06a6","type":"DataRange1d"},{"attributes":{},"id":"de38296a-4187-464a-aa1a-0688b9d04ca8","type":"WheelZoomTool"},{"attributes":{},"id":"2155157d-0965-4488-9990-2932206c1768","type":"SaveTool"},{"attributes":{},"id":"24877dfa-d721-4ef8-b15d-7de47acf01c5","type":"BasicTickFormatter"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"21e27ad4-e567-4993-83b5-fe2c58ac59d0","type":"Line"},{"attributes":{},"id":"c34ee7e0-8196-43e2-8786-ac2f7f932a37","type":"ResetTool"},{"attributes":{"source":{"id":"30f3db45-375a-4ace-a41b-be64ec87bef0","type":"ColumnDataSource"}},"id":"0a511865-470f-4650-9fc8-f1e3cf2df762","type":"CDSView"},{"attributes":{"days":[1,15]},"id":"35b3dda9-d791-4b50-9853-a6b30154dc8a","type":"DaysTicker"},{"attributes":{"overlay":{"id":"193d767e-8bdd-4612-b965-bb9a6315bcff","type":"BoxAnnotation"}},"id":"1d069508-5924-475c-9646-9e4a62d875da","type":"BoxZoomTool"},{"attributes":{"base":60,"mantissas":[1,2,5,10,15,20,30],"max_interval":1800000.0,"min_interval":1000.0,"num_minor_ticks":0},"id":"649ec71c-5d54-47d2-a70b-a19bf209978e","type":"AdaptiveTicker"},{"attributes":{},"id":"96d91459-7a0b-4c94-a62c-1dc2e1b64d36","type":"LinearScale"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"bfdb6345-2651-4909-b8c6-b3cd2270ffa4","type":"PanTool"},{"id":"de38296a-4187-464a-aa1a-0688b9d04ca8","type":"WheelZoomTool"},{"id":"1d069508-5924-475c-9646-9e4a62d875da","type":"BoxZoomTool"},{"id":"2155157d-0965-4488-9990-2932206c1768","type":"SaveTool"},{"id":"c34ee7e0-8196-43e2-8786-ac2f7f932a37","type":"ResetTool"},{"id":"4e2e9b6f-9dfd-4697-83cb-99081cc366c5","type":"HelpTool"}]},"id":"eee33217-7554-44d8-8e6e-684dbba2e898","type":"Toolbar"},{"attributes":{},"id":"fd71c372-cddf-4050-a4b3-7a42c6ea9f95","type":"LinearScale"},{"attributes":{"months":[0,2,4,6,8,10]},"id":"e608d845-7bf9-47a6-8acf-e706720e5d7d","type":"MonthsTicker"},{"attributes":{"num_minor_ticks":5,"tickers":[{"id":"9b4779c0-075e-4978-b151-31aa06636240","type":"AdaptiveTicker"},{"id":"649ec71c-5d54-47d2-a70b-a19bf209978e","type":"AdaptiveTicker"},{"id":"42a19802-44a6-420d-a365-e21826e4f0f0","type":"AdaptiveTicker"},{"id":"7f816acc-ee0a-460a-9a35-a8fce578b421","type":"DaysTicker"},{"id":"a1b2e40f-4f3b-4e36-9a5b-3285f20bc75f","type":"DaysTicker"},{"id":"4b39f5df-0eec-4341-87bf-6f3d32d89dcb","type":"DaysTicker"},{"id":"35b3dda9-d791-4b50-9853-a6b30154dc8a","type":"DaysTicker"},{"id":"5a531327-699d-4e04-9f73-16fb9ac82ccb","type":"MonthsTicker"},{"id":"e608d845-7bf9-47a6-8acf-e706720e5d7d","type":"MonthsTicker"},{"id":"5e611681-0a56-47c5-bcfa-1d59c0049ebc","type":"MonthsTicker"},{"id":"8245cf59-4842-4bf1-b078-613d001c792b","type":"MonthsTicker"},{"id":"69496546-0c32-42f4-a136-7a0128330c80","type":"YearsTicker"}]},"id":"07bff3c2-9801-4d5b-b003-20e84989156c","type":"DatetimeTicker"},{"attributes":{"plot":{"id":"81d3e04d-3bb4-4af0-9c03-5965f3d37af8","subtype":"Figure","type":"Plot"},"ticker":{"id":"07bff3c2-9801-4d5b-b003-20e84989156c","type":"DatetimeTicker"}},"id":"9bcaa5ad-c322-4167-8837-f87cb2ca1bbd","type":"Grid"},{"attributes":{"plot":null,"text":""},"id":"13f0fd25-93db-4889-b4e0-dad7d1862669","type":"Title"},{"attributes":{"months":[0,1,2,3,4,5,6,7,8,9,10,11]},"id":"5a531327-699d-4e04-9f73-16fb9ac82ccb","type":"MonthsTicker"},{"attributes":{},"id":"13413d8b-50fc-45c2-82d3-49dcc05b5004","type":"DatetimeTickFormatter"},{"attributes":{"line_alpha":{"value":0.5},"line_color":{"value":"navy"},"x":{"field":"x"},"y":{"field":"y"}},"id":"527181ed-5fba-41b9-bb96-1c685cbe423b","type":"Line"},{"attributes":{},"id":"69496546-0c32-42f4-a136-7a0128330c80","type":"YearsTicker"},{"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":"30f3db45-375a-4ace-a41b-be64ec87bef0","type":"ColumnDataSource"},{"attributes":{"days":[1,8,15,22]},"id":"4b39f5df-0eec-4341-87bf-6f3d32d89dcb","type":"DaysTicker"},{"attributes":{},"id":"4e2e9b6f-9dfd-4697-83cb-99081cc366c5","type":"HelpTool"},{"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":"7f816acc-ee0a-460a-9a35-a8fce578b421","type":"DaysTicker"},{"attributes":{"months":[0,6]},"id":"8245cf59-4842-4bf1-b078-613d001c792b","type":"MonthsTicker"},{"attributes":{"months":[0,4,8]},"id":"5e611681-0a56-47c5-bcfa-1d59c0049ebc","type":"MonthsTicker"},{"attributes":{"below":[{"id":"93686870-7670-4351-a497-7805cd1db591","type":"DatetimeAxis"}],"left":[{"id":"77ffbb8b-c6af-4ddb-8d8d-96fe1283eb58","type":"LinearAxis"}],"plot_height":250,"plot_width":800,"renderers":[{"id":"93686870-7670-4351-a497-7805cd1db591","type":"DatetimeAxis"},{"id":"9bcaa5ad-c322-4167-8837-f87cb2ca1bbd","type":"Grid"},{"id":"77ffbb8b-c6af-4ddb-8d8d-96fe1283eb58","type":"LinearAxis"},{"id":"196887b2-32ac-4cd6-94d4-e52d681e077f","type":"Grid"},{"id":"193d767e-8bdd-4612-b965-bb9a6315bcff","type":"BoxAnnotation"},{"id":"2fbdd525-bdff-4857-ad1b-490129a0800d","type":"GlyphRenderer"}],"title":{"id":"13f0fd25-93db-4889-b4e0-dad7d1862669","type":"Title"},"toolbar":{"id":"eee33217-7554-44d8-8e6e-684dbba2e898","type":"Toolbar"},"x_range":{"id":"ecde1678-107b-480c-a150-7b7428769592","type":"DataRange1d"},"x_scale":{"id":"96d91459-7a0b-4c94-a62c-1dc2e1b64d36","type":"LinearScale"},"y_range":{"id":"cc315d1b-9ebb-4993-a4c7-62f0972f06a6","type":"DataRange1d"},"y_scale":{"id":"fd71c372-cddf-4050-a4b3-7a42c6ea9f95","type":"LinearScale"}},"id":"81d3e04d-3bb4-4af0-9c03-5965f3d37af8","subtype":"Figure","type":"Plot"},{"attributes":{"callback":null},"id":"ecde1678-107b-480c-a150-7b7428769592","type":"DataRange1d"},{"attributes":{"data_source":{"id":"30f3db45-375a-4ace-a41b-be64ec87bef0","type":"ColumnDataSource"},"glyph":{"id":"527181ed-5fba-41b9-bb96-1c685cbe423b","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"21e27ad4-e567-4993-83b5-fe2c58ac59d0","type":"Line"},"selection_glyph":null,"view":{"id":"0a511865-470f-4650-9fc8-f1e3cf2df762","type":"CDSView"}},"id":"2fbdd525-bdff-4857-ad1b-490129a0800d","type":"GlyphRenderer"},{"attributes":{},"id":"bfdb6345-2651-4909-b8c6-b3cd2270ffa4","type":"PanTool"},{"attributes":{"formatter":{"id":"24877dfa-d721-4ef8-b15d-7de47acf01c5","type":"BasicTickFormatter"},"plot":{"id":"81d3e04d-3bb4-4af0-9c03-5965f3d37af8","subtype":"Figure","type":"Plot"},"ticker":{"id":"cebf4dd5-50f0-42a1-b271-5bab207aa863","type":"BasicTicker"}},"id":"77ffbb8b-c6af-4ddb-8d8d-96fe1283eb58","type":"LinearAxis"},{"attributes":{"mantissas":[1,2,5],"max_interval":500.0,"num_minor_ticks":0},"id":"9b4779c0-075e-4978-b151-31aa06636240","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":"42a19802-44a6-420d-a365-e21826e4f0f0","type":"AdaptiveTicker"},{"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":"193d767e-8bdd-4612-b965-bb9a6315bcff","type":"BoxAnnotation"},{"attributes":{},"id":"cebf4dd5-50f0-42a1-b271-5bab207aa863","type":"BasicTicker"}],"root_ids":["81d3e04d-3bb4-4af0-9c03-5965f3d37af8"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"d9b1bf97-d8b3-4330-b8ff-c65d379144b2","elementid":"3ddb4816-8ed3-44f5-94c6-d80782d66e2b","modelid":"81d3e04d-3bb4-4af0-9c03-5965f3d37af8"}];
                
                    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);
})();
