(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("09946219-4962-44ca-bf4d-30577e0a9d71");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid '09946219-4962-44ca-bf4d-30577e0a9d71' 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 = {"048e2b6b-ce3c-488b-9cbc-9c5f5761ea4c":{"roots":{"references":[{"attributes":{"days":[1,4,7,10,13,16,19,22,25,28]},"id":"980cdb6e-fe09-4904-a695-9187bf85a2d6","type":"DaysTicker"},{"attributes":{"mantissas":[1,2,5],"max_interval":500.0,"num_minor_ticks":0},"id":"f7044fa0-8a72-4fa7-8bb7-8257ec6369ca","type":"AdaptiveTicker"},{"attributes":{"overlay":{"id":"e033d29a-6aed-40fc-bcd3-81823daed449","type":"BoxAnnotation"}},"id":"c2c8afbf-f74d-4dc7-85b2-7072fb09420c","type":"BoxZoomTool"},{"attributes":{},"id":"66117241-a14d-4885-acf5-f7bcb634bd48","type":"BasicTickFormatter"},{"attributes":{"base":24,"mantissas":[1,2,4,6,8,12],"max_interval":43200000.0,"min_interval":3600000.0,"num_minor_ticks":0},"id":"1c284f29-c93f-474c-9fc9-de50261d49b1","type":"AdaptiveTicker"},{"attributes":{},"id":"5307d77f-3e36-4e31-9601-0fbf2039cc32","type":"DatetimeTickFormatter"},{"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":"d88caaef-3220-4bf7-bf84-05783eafa38c","type":"DaysTicker"},{"attributes":{},"id":"71aca916-c352-48ad-8f8f-dcd421a679e8","type":"LinearScale"},{"attributes":{"below":[{"id":"3d03861c-09bb-4215-9651-d43301f1b4e0","type":"DatetimeAxis"}],"left":[{"id":"da118e74-bc1f-4997-a2f5-47cfbafff8cf","type":"LinearAxis"}],"plot_height":250,"plot_width":800,"renderers":[{"id":"3d03861c-09bb-4215-9651-d43301f1b4e0","type":"DatetimeAxis"},{"id":"4c6e02ff-3854-41da-a15c-4380117569cc","type":"Grid"},{"id":"da118e74-bc1f-4997-a2f5-47cfbafff8cf","type":"LinearAxis"},{"id":"5b76c005-d30f-4a37-8070-0b9cd74050b5","type":"Grid"},{"id":"e033d29a-6aed-40fc-bcd3-81823daed449","type":"BoxAnnotation"},{"id":"b9234ed0-385a-4347-8557-e3d91a321a81","type":"GlyphRenderer"}],"title":{"id":"22bd2174-84d2-4bf7-bc4a-ea3755e11fd5","type":"Title"},"toolbar":{"id":"9ba41a92-9c79-4d48-a489-46139b2fb1c6","type":"Toolbar"},"x_range":{"id":"e64edb76-4276-4243-80be-a510721c4cb9","type":"DataRange1d"},"x_scale":{"id":"854c465c-9290-44a2-9112-721e399a717c","type":"LinearScale"},"y_range":{"id":"52e04ebd-496f-4afa-a975-853c006a0ef7","type":"DataRange1d"},"y_scale":{"id":"71aca916-c352-48ad-8f8f-dcd421a679e8","type":"LinearScale"}},"id":"e7a415ca-482c-4105-a677-b2a0eedbdf65","subtype":"Figure","type":"Plot"},{"attributes":{"callback":null},"id":"e64edb76-4276-4243-80be-a510721c4cb9","type":"DataRange1d"},{"attributes":{"plot":{"id":"e7a415ca-482c-4105-a677-b2a0eedbdf65","subtype":"Figure","type":"Plot"},"ticker":{"id":"a43aa49f-6cbb-43c7-8f8c-a5ccfa07470b","type":"DatetimeTicker"}},"id":"4c6e02ff-3854-41da-a15c-4380117569cc","type":"Grid"},{"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":"e033d29a-6aed-40fc-bcd3-81823daed449","type":"BoxAnnotation"},{"attributes":{},"id":"73e9f86c-0975-4805-a3f4-e18f26e15d30","type":"HelpTool"},{"attributes":{},"id":"e1d5d7c6-aec9-4677-bc9f-dd754bd43b4d","type":"YearsTicker"},{"attributes":{},"id":"30a4198a-9d6a-49fb-a863-d38146eb70aa","type":"SaveTool"},{"attributes":{"months":[0,2,4,6,8,10]},"id":"9bc635bd-4b13-4cf1-a169-2e1de762d1c5","type":"MonthsTicker"},{"attributes":{"months":[0,4,8]},"id":"6cde5b8e-64e9-499c-bfe4-63ba0eed29ec","type":"MonthsTicker"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"68cfb8b0-8a2e-4e43-b9ef-98bef94ed3d1","type":"PanTool"},{"id":"67ac7647-4f94-4a99-ab7c-8fcd66066a9c","type":"WheelZoomTool"},{"id":"c2c8afbf-f74d-4dc7-85b2-7072fb09420c","type":"BoxZoomTool"},{"id":"30a4198a-9d6a-49fb-a863-d38146eb70aa","type":"SaveTool"},{"id":"d2d918bc-d220-4cd5-bdd3-6d8e03b6af7d","type":"ResetTool"},{"id":"73e9f86c-0975-4805-a3f4-e18f26e15d30","type":"HelpTool"}]},"id":"9ba41a92-9c79-4d48-a489-46139b2fb1c6","type":"Toolbar"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"50bb594f-398e-44eb-b003-792460155d7a","type":"Line"},{"attributes":{"callback":null},"id":"52e04ebd-496f-4afa-a975-853c006a0ef7","type":"DataRange1d"},{"attributes":{},"id":"0609403f-61b6-4a9d-8657-27db8c07841a","type":"BasicTicker"},{"attributes":{},"id":"68cfb8b0-8a2e-4e43-b9ef-98bef94ed3d1","type":"PanTool"},{"attributes":{"days":[1,8,15,22]},"id":"4a01f206-31ff-4672-9803-089e3e3016dc","type":"DaysTicker"},{"attributes":{},"id":"d2d918bc-d220-4cd5-bdd3-6d8e03b6af7d","type":"ResetTool"},{"attributes":{"days":[1,15]},"id":"6d1e1e73-8304-46b1-befa-89a5e6430e1e","type":"DaysTicker"},{"attributes":{"months":[0,1,2,3,4,5,6,7,8,9,10,11]},"id":"50666472-9517-4717-a5de-1b48726ec31e","type":"MonthsTicker"},{"attributes":{"base":60,"mantissas":[1,2,5,10,15,20,30],"max_interval":1800000.0,"min_interval":1000.0,"num_minor_ticks":0},"id":"40edb2dc-99c1-4847-83ec-56c38b0955ee","type":"AdaptiveTicker"},{"attributes":{"formatter":{"id":"5307d77f-3e36-4e31-9601-0fbf2039cc32","type":"DatetimeTickFormatter"},"plot":{"id":"e7a415ca-482c-4105-a677-b2a0eedbdf65","subtype":"Figure","type":"Plot"},"ticker":{"id":"a43aa49f-6cbb-43c7-8f8c-a5ccfa07470b","type":"DatetimeTicker"}},"id":"3d03861c-09bb-4215-9651-d43301f1b4e0","type":"DatetimeAxis"},{"attributes":{},"id":"67ac7647-4f94-4a99-ab7c-8fcd66066a9c","type":"WheelZoomTool"},{"attributes":{"months":[0,6]},"id":"f9820247-bb91-4001-83ff-c758aff7d53c","type":"MonthsTicker"},{"attributes":{"data_source":{"id":"51d55c13-9b0c-4b6c-9b7a-f598594c37b3","type":"ColumnDataSource"},"glyph":{"id":"19d134fe-2385-4823-ba21-dd4f7368d801","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"50bb594f-398e-44eb-b003-792460155d7a","type":"Line"},"selection_glyph":null,"view":{"id":"d686e505-a104-4843-95f0-703e098fe101","type":"CDSView"}},"id":"b9234ed0-385a-4347-8557-e3d91a321a81","type":"GlyphRenderer"},{"attributes":{"line_alpha":{"value":0.5},"line_color":{"value":"navy"},"x":{"field":"x"},"y":{"field":"y"}},"id":"19d134fe-2385-4823-ba21-dd4f7368d801","type":"Line"},{"attributes":{"dimension":1,"plot":{"id":"e7a415ca-482c-4105-a677-b2a0eedbdf65","subtype":"Figure","type":"Plot"},"ticker":{"id":"0609403f-61b6-4a9d-8657-27db8c07841a","type":"BasicTicker"}},"id":"5b76c005-d30f-4a37-8070-0b9cd74050b5","type":"Grid"},{"attributes":{"num_minor_ticks":5,"tickers":[{"id":"f7044fa0-8a72-4fa7-8bb7-8257ec6369ca","type":"AdaptiveTicker"},{"id":"40edb2dc-99c1-4847-83ec-56c38b0955ee","type":"AdaptiveTicker"},{"id":"1c284f29-c93f-474c-9fc9-de50261d49b1","type":"AdaptiveTicker"},{"id":"d88caaef-3220-4bf7-bf84-05783eafa38c","type":"DaysTicker"},{"id":"980cdb6e-fe09-4904-a695-9187bf85a2d6","type":"DaysTicker"},{"id":"4a01f206-31ff-4672-9803-089e3e3016dc","type":"DaysTicker"},{"id":"6d1e1e73-8304-46b1-befa-89a5e6430e1e","type":"DaysTicker"},{"id":"50666472-9517-4717-a5de-1b48726ec31e","type":"MonthsTicker"},{"id":"9bc635bd-4b13-4cf1-a169-2e1de762d1c5","type":"MonthsTicker"},{"id":"6cde5b8e-64e9-499c-bfe4-63ba0eed29ec","type":"MonthsTicker"},{"id":"f9820247-bb91-4001-83ff-c758aff7d53c","type":"MonthsTicker"},{"id":"e1d5d7c6-aec9-4677-bc9f-dd754bd43b4d","type":"YearsTicker"}]},"id":"a43aa49f-6cbb-43c7-8f8c-a5ccfa07470b","type":"DatetimeTicker"},{"attributes":{"source":{"id":"51d55c13-9b0c-4b6c-9b7a-f598594c37b3","type":"ColumnDataSource"}},"id":"d686e505-a104-4843-95f0-703e098fe101","type":"CDSView"},{"attributes":{"plot":null,"text":""},"id":"22bd2174-84d2-4bf7-bc4a-ea3755e11fd5","type":"Title"},{"attributes":{"formatter":{"id":"66117241-a14d-4885-acf5-f7bcb634bd48","type":"BasicTickFormatter"},"plot":{"id":"e7a415ca-482c-4105-a677-b2a0eedbdf65","subtype":"Figure","type":"Plot"},"ticker":{"id":"0609403f-61b6-4a9d-8657-27db8c07841a","type":"BasicTicker"}},"id":"da118e74-bc1f-4997-a2f5-47cfbafff8cf","type":"LinearAxis"},{"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":"51d55c13-9b0c-4b6c-9b7a-f598594c37b3","type":"ColumnDataSource"},{"attributes":{},"id":"854c465c-9290-44a2-9112-721e399a717c","type":"LinearScale"}],"root_ids":["e7a415ca-482c-4105-a677-b2a0eedbdf65"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"048e2b6b-ce3c-488b-9cbc-9c5f5761ea4c","elementid":"09946219-4962-44ca-bf4d-30577e0a9d71","modelid":"e7a415ca-482c-4105-a677-b2a0eedbdf65"}];
                
                    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);
})();
