(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("c97f861c-d2ce-4649-ba07-dd3fdc650cdc");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid 'c97f861c-d2ce-4649-ba07-dd3fdc650cdc' 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 = {"71385968-f9c5-47ae-92d9-d41528a90494":{"roots":{"references":[{"attributes":{},"id":"cebf36c5-2872-466a-ba87-a8c7de983025","type":"BasicTicker"},{"attributes":{"num_minor_ticks":5,"tickers":[{"id":"bee506dd-881e-48ba-9002-a8f191e1492e","type":"AdaptiveTicker"},{"id":"67274fc5-c02a-4ae6-9156-e05ccf6d133f","type":"AdaptiveTicker"},{"id":"84a0c580-3053-4e1a-ab4b-b23daff27ccc","type":"AdaptiveTicker"},{"id":"acd3bd10-dd91-41fd-9f23-87f341150258","type":"DaysTicker"},{"id":"22e788e2-3120-44d5-9715-5b14e84b439d","type":"DaysTicker"},{"id":"745ef5fd-75aa-47dd-afae-48518d68e75e","type":"DaysTicker"},{"id":"acaea8be-202d-4882-8d52-e2dbc581614b","type":"DaysTicker"},{"id":"acc22918-83be-4c79-bdf8-34e121609a6d","type":"MonthsTicker"},{"id":"f7d84414-28d4-4671-a066-a4d93080c647","type":"MonthsTicker"},{"id":"e19f33ee-dde4-48a3-b13d-9931c3a69777","type":"MonthsTicker"},{"id":"6b3aa021-bef8-4d71-9fb0-9be1f68dbcdd","type":"MonthsTicker"},{"id":"fd509e71-cb42-4d05-b17e-e858a3b53c55","type":"YearsTicker"}]},"id":"da1b5516-d267-4169-ae80-486bba1f961d","type":"DatetimeTicker"},{"attributes":{"days":[1,4,7,10,13,16,19,22,25,28]},"id":"22e788e2-3120-44d5-9715-5b14e84b439d","type":"DaysTicker"},{"attributes":{"formatter":{"id":"f76b8e89-e477-495c-a2ec-41e6679d279d","type":"DatetimeTickFormatter"},"plot":{"id":"67c84a5a-76e2-4704-9ae7-e513b878cf9c","subtype":"Figure","type":"Plot"},"ticker":{"id":"da1b5516-d267-4169-ae80-486bba1f961d","type":"DatetimeTicker"}},"id":"dc6898c1-68ce-49f0-b20d-1ab55279d1e0","type":"DatetimeAxis"},{"attributes":{"callback":null},"id":"b2bd089a-da2a-4bd5-9240-c531f95e3dae","type":"DataRange1d"},{"attributes":{"base":60,"mantissas":[1,2,5,10,15,20,30],"max_interval":1800000.0,"min_interval":1000.0,"num_minor_ticks":0},"id":"67274fc5-c02a-4ae6-9156-e05ccf6d133f","type":"AdaptiveTicker"},{"attributes":{"callback":null},"id":"7a933af6-6f69-418c-8e16-46213f79c1d3","type":"DataRange1d"},{"attributes":{"dimension":1,"plot":{"id":"67c84a5a-76e2-4704-9ae7-e513b878cf9c","subtype":"Figure","type":"Plot"},"ticker":{"id":"cebf36c5-2872-466a-ba87-a8c7de983025","type":"BasicTicker"}},"id":"d94e8ba4-390b-45e9-80fc-1df8e722d5d0","type":"Grid"},{"attributes":{},"id":"d00c04e6-9db4-4aeb-9b56-f40c32e1d03c","type":"PanTool"},{"attributes":{},"id":"f76b8e89-e477-495c-a2ec-41e6679d279d","type":"DatetimeTickFormatter"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"d00c04e6-9db4-4aeb-9b56-f40c32e1d03c","type":"PanTool"},{"id":"1011441c-dddf-4839-a882-fc98eb1e3eeb","type":"WheelZoomTool"},{"id":"52387db0-f44d-4584-8fae-15d2fbe82b8a","type":"BoxZoomTool"},{"id":"d4688c2e-ad91-4ec1-b2e2-e81ff4a819b4","type":"SaveTool"},{"id":"58c9dfe7-839e-4a66-b608-58f86e44ee2c","type":"ResetTool"},{"id":"99c1d57d-a7b3-479d-9cab-0335166df228","type":"HelpTool"}]},"id":"9cb1449f-1d87-4cb1-9e33-9f2bd3a9d0fc","type":"Toolbar"},{"attributes":{"base":24,"mantissas":[1,2,4,6,8,12],"max_interval":43200000.0,"min_interval":3600000.0,"num_minor_ticks":0},"id":"84a0c580-3053-4e1a-ab4b-b23daff27ccc","type":"AdaptiveTicker"},{"attributes":{},"id":"eba7d711-cf0c-4e0e-b003-43b372f03b2b","type":"BasicTickFormatter"},{"attributes":{},"id":"99c1d57d-a7b3-479d-9cab-0335166df228","type":"HelpTool"},{"attributes":{"line_alpha":{"value":0.5},"line_color":{"value":"navy"},"x":{"field":"x"},"y":{"field":"y"}},"id":"891efee1-8eeb-47dc-ba62-8c5571be371d","type":"Line"},{"attributes":{},"id":"fd509e71-cb42-4d05-b17e-e858a3b53c55","type":"YearsTicker"},{"attributes":{},"id":"5d9a4554-7b17-4a85-8cf4-a8c3b325985b","type":"LinearScale"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"264ae604-1eb7-47d8-82d9-56b016857607","type":"Line"},{"attributes":{"months":[0,6]},"id":"6b3aa021-bef8-4d71-9fb0-9be1f68dbcdd","type":"MonthsTicker"},{"attributes":{"data_source":{"id":"8078aa85-4008-4d30-80ab-859b49f3a58a","type":"ColumnDataSource"},"glyph":{"id":"891efee1-8eeb-47dc-ba62-8c5571be371d","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"264ae604-1eb7-47d8-82d9-56b016857607","type":"Line"},"selection_glyph":null,"view":{"id":"e7a0b2e5-5862-476e-a220-7429259cbf55","type":"CDSView"}},"id":"c11efd1c-a68e-41ea-9d82-178817e37544","type":"GlyphRenderer"},{"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":"b8c65bc5-a6e8-41e1-84a8-3c108f4553a0","type":"BoxAnnotation"},{"attributes":{},"id":"58c9dfe7-839e-4a66-b608-58f86e44ee2c","type":"ResetTool"},{"attributes":{"days":[1,8,15,22]},"id":"745ef5fd-75aa-47dd-afae-48518d68e75e","type":"DaysTicker"},{"attributes":{"months":[0,4,8]},"id":"e19f33ee-dde4-48a3-b13d-9931c3a69777","type":"MonthsTicker"},{"attributes":{"months":[0,2,4,6,8,10]},"id":"f7d84414-28d4-4671-a066-a4d93080c647","type":"MonthsTicker"},{"attributes":{"months":[0,1,2,3,4,5,6,7,8,9,10,11]},"id":"acc22918-83be-4c79-bdf8-34e121609a6d","type":"MonthsTicker"},{"attributes":{"days":[1,15]},"id":"acaea8be-202d-4882-8d52-e2dbc581614b","type":"DaysTicker"},{"attributes":{"plot":{"id":"67c84a5a-76e2-4704-9ae7-e513b878cf9c","subtype":"Figure","type":"Plot"},"ticker":{"id":"da1b5516-d267-4169-ae80-486bba1f961d","type":"DatetimeTicker"}},"id":"04b10504-32bf-4afe-a209-28678ea7565b","type":"Grid"},{"attributes":{},"id":"3f8bccbe-ffa2-4c98-b19a-587d8f0db599","type":"LinearScale"},{"attributes":{"mantissas":[1,2,5],"max_interval":500.0,"num_minor_ticks":0},"id":"bee506dd-881e-48ba-9002-a8f191e1492e","type":"AdaptiveTicker"},{"attributes":{},"id":"d4688c2e-ad91-4ec1-b2e2-e81ff4a819b4","type":"SaveTool"},{"attributes":{"source":{"id":"8078aa85-4008-4d30-80ab-859b49f3a58a","type":"ColumnDataSource"}},"id":"e7a0b2e5-5862-476e-a220-7429259cbf55","type":"CDSView"},{"attributes":{"formatter":{"id":"eba7d711-cf0c-4e0e-b003-43b372f03b2b","type":"BasicTickFormatter"},"plot":{"id":"67c84a5a-76e2-4704-9ae7-e513b878cf9c","subtype":"Figure","type":"Plot"},"ticker":{"id":"cebf36c5-2872-466a-ba87-a8c7de983025","type":"BasicTicker"}},"id":"eda2dc83-ff2c-4407-b2ed-a6bdcab7d2a7","type":"LinearAxis"},{"attributes":{},"id":"1011441c-dddf-4839-a882-fc98eb1e3eeb","type":"WheelZoomTool"},{"attributes":{"overlay":{"id":"b8c65bc5-a6e8-41e1-84a8-3c108f4553a0","type":"BoxAnnotation"}},"id":"52387db0-f44d-4584-8fae-15d2fbe82b8a","type":"BoxZoomTool"},{"attributes":{"plot":null,"text":""},"id":"28f8d2c5-4b20-4d67-b085-6b95f39b0cfb","type":"Title"},{"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":"acd3bd10-dd91-41fd-9f23-87f341150258","type":"DaysTicker"},{"attributes":{"below":[{"id":"dc6898c1-68ce-49f0-b20d-1ab55279d1e0","type":"DatetimeAxis"}],"left":[{"id":"eda2dc83-ff2c-4407-b2ed-a6bdcab7d2a7","type":"LinearAxis"}],"plot_height":250,"plot_width":800,"renderers":[{"id":"dc6898c1-68ce-49f0-b20d-1ab55279d1e0","type":"DatetimeAxis"},{"id":"04b10504-32bf-4afe-a209-28678ea7565b","type":"Grid"},{"id":"eda2dc83-ff2c-4407-b2ed-a6bdcab7d2a7","type":"LinearAxis"},{"id":"d94e8ba4-390b-45e9-80fc-1df8e722d5d0","type":"Grid"},{"id":"b8c65bc5-a6e8-41e1-84a8-3c108f4553a0","type":"BoxAnnotation"},{"id":"c11efd1c-a68e-41ea-9d82-178817e37544","type":"GlyphRenderer"}],"title":{"id":"28f8d2c5-4b20-4d67-b085-6b95f39b0cfb","type":"Title"},"toolbar":{"id":"9cb1449f-1d87-4cb1-9e33-9f2bd3a9d0fc","type":"Toolbar"},"x_range":{"id":"b2bd089a-da2a-4bd5-9240-c531f95e3dae","type":"DataRange1d"},"x_scale":{"id":"3f8bccbe-ffa2-4c98-b19a-587d8f0db599","type":"LinearScale"},"y_range":{"id":"7a933af6-6f69-418c-8e16-46213f79c1d3","type":"DataRange1d"},"y_scale":{"id":"5d9a4554-7b17-4a85-8cf4-a8c3b325985b","type":"LinearScale"}},"id":"67c84a5a-76e2-4704-9ae7-e513b878cf9c","subtype":"Figure","type":"Plot"},{"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":"8078aa85-4008-4d30-80ab-859b49f3a58a","type":"ColumnDataSource"}],"root_ids":["67c84a5a-76e2-4704-9ae7-e513b878cf9c"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"71385968-f9c5-47ae-92d9-d41528a90494","elementid":"c97f861c-d2ce-4649-ba07-dd3fdc650cdc","modelid":"67c84a5a-76e2-4704-9ae7-e513b878cf9c"}];
                
                    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);
})();
