(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("7e4a5ad8-9722-478b-8e02-7c4ca88a58ed");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid '7e4a5ad8-9722-478b-8e02-7c4ca88a58ed' 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 = {"8c29ee19-6eb1-4b5d-b844-f2a532a57d91":{"roots":{"references":[{"attributes":{"callback":null},"id":"3d982e19-0635-41e9-89d0-48dec2cb95b8","type":"DataRange1d"},{"attributes":{"dimension":1,"plot":{"id":"873e7062-6e0a-45e1-b3ee-cdf1c3afde50","subtype":"Figure","type":"Plot"},"ticker":{"id":"a96b480d-a513-40db-b09d-617aa16b569e","type":"BasicTicker"}},"id":"c72dd490-21f7-4794-be11-f8b57c1f0033","type":"Grid"},{"attributes":{},"id":"4f901c21-f934-4c0d-b8e3-3201eaae3bb9","type":"ResetTool"},{"attributes":{},"id":"e2237251-ecfd-4812-92d1-440ecc6ffce7","type":"WheelZoomTool"},{"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":"5fa2625c-58e9-49e9-b0c8-b96bacad01ad","type":"BoxAnnotation"},{"attributes":{},"id":"5f167cbc-429c-4a0d-b450-a7d5fe5e454c","type":"HelpTool"},{"attributes":{"plot":null,"text":""},"id":"5d8a791f-7138-4eda-82c8-25abb02a428f","type":"Title"},{"attributes":{},"id":"c35a9297-b589-4468-810b-39e00aeae241","type":"SaveTool"},{"attributes":{},"id":"ae8ed5fc-5915-4012-bb77-2b871fffe61b","type":"LinearScale"},{"attributes":{"source":{"id":"058e00f9-cf49-4605-b404-86dbc5915540","type":"ColumnDataSource"}},"id":"cc5bf2bf-9675-45fb-a0fa-f857125a2482","type":"CDSView"},{"attributes":{"data_source":{"id":"058e00f9-cf49-4605-b404-86dbc5915540","type":"ColumnDataSource"},"glyph":{"id":"89aaef1b-bc81-46ca-aca3-a3ed43c3c4ff","type":"Circle"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"84874af2-eabd-45f6-88e1-42bdfff40642","type":"Circle"},"selection_glyph":null,"view":{"id":"cc5bf2bf-9675-45fb-a0fa-f857125a2482","type":"CDSView"}},"id":"82be7fcf-7fcd-41b6-932b-4442ea1de4b2","type":"GlyphRenderer"},{"attributes":{},"id":"a96b480d-a513-40db-b09d-617aa16b569e","type":"BasicTicker"},{"attributes":{"callback":null,"column_names":["y","x"],"data":{"x":{"__ndarray__":"[encoded data, 106668 characters]","dtype":"float64","shape":[10000]},"y":{"__ndarray__":"[encoded data, 106668 characters]","dtype":"float64","shape":[10000]}}},"id":"058e00f9-cf49-4605-b404-86dbc5915540","type":"ColumnDataSource"},{"attributes":{},"id":"34800e0d-cccb-4fd2-8f8f-ea5bba48f63e","type":"PanTool"},{"attributes":{"below":[{"id":"5bcd2413-cbe6-4237-ad56-0dbb1e95a810","type":"LinearAxis"}],"left":[{"id":"9be4c7b6-22df-4aed-add7-54fb733e7b1f","type":"LinearAxis"}],"renderers":[{"id":"5bcd2413-cbe6-4237-ad56-0dbb1e95a810","type":"LinearAxis"},{"id":"34e49c13-f682-4674-aa75-ed81bd5994b7","type":"Grid"},{"id":"9be4c7b6-22df-4aed-add7-54fb733e7b1f","type":"LinearAxis"},{"id":"c72dd490-21f7-4794-be11-f8b57c1f0033","type":"Grid"},{"id":"5fa2625c-58e9-49e9-b0c8-b96bacad01ad","type":"BoxAnnotation"},{"id":"82be7fcf-7fcd-41b6-932b-4442ea1de4b2","type":"GlyphRenderer"}],"title":{"id":"5d8a791f-7138-4eda-82c8-25abb02a428f","type":"Title"},"toolbar":{"id":"55f7c4a3-0ea2-47b1-8fae-1dd1ddb0e778","type":"Toolbar"},"x_range":{"id":"3d982e19-0635-41e9-89d0-48dec2cb95b8","type":"DataRange1d"},"x_scale":{"id":"3590944d-cee1-4875-81b5-74295a6aead8","type":"LinearScale"},"y_range":{"id":"4b4c26ff-1b4a-4027-a05b-d482b51e518f","type":"DataRange1d"},"y_scale":{"id":"ae8ed5fc-5915-4012-bb77-2b871fffe61b","type":"LinearScale"}},"id":"873e7062-6e0a-45e1-b3ee-cdf1c3afde50","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"f20edc67-1bd7-4ee8-ab91-72a2100eb5fc","type":"BasicTickFormatter"},{"attributes":{"plot":{"id":"873e7062-6e0a-45e1-b3ee-cdf1c3afde50","subtype":"Figure","type":"Plot"},"ticker":{"id":"1736039f-188f-45da-a9c7-7ea9dc5f74d3","type":"BasicTicker"}},"id":"34e49c13-f682-4674-aa75-ed81bd5994b7","type":"Grid"},{"attributes":{"formatter":{"id":"67fe18d0-1ca2-4377-aafa-6ded7cbdb460","type":"BasicTickFormatter"},"plot":{"id":"873e7062-6e0a-45e1-b3ee-cdf1c3afde50","subtype":"Figure","type":"Plot"},"ticker":{"id":"a96b480d-a513-40db-b09d-617aa16b569e","type":"BasicTicker"}},"id":"9be4c7b6-22df-4aed-add7-54fb733e7b1f","type":"LinearAxis"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"89aaef1b-bc81-46ca-aca3-a3ed43c3c4ff","type":"Circle"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"34800e0d-cccb-4fd2-8f8f-ea5bba48f63e","type":"PanTool"},{"id":"e2237251-ecfd-4812-92d1-440ecc6ffce7","type":"WheelZoomTool"},{"id":"37097aa5-f435-499c-8657-fbaa510f2f21","type":"BoxZoomTool"},{"id":"c35a9297-b589-4468-810b-39e00aeae241","type":"SaveTool"},{"id":"4f901c21-f934-4c0d-b8e3-3201eaae3bb9","type":"ResetTool"},{"id":"5f167cbc-429c-4a0d-b450-a7d5fe5e454c","type":"HelpTool"}]},"id":"55f7c4a3-0ea2-47b1-8fae-1dd1ddb0e778","type":"Toolbar"},{"attributes":{},"id":"3590944d-cee1-4875-81b5-74295a6aead8","type":"LinearScale"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"84874af2-eabd-45f6-88e1-42bdfff40642","type":"Circle"},{"attributes":{},"id":"1736039f-188f-45da-a9c7-7ea9dc5f74d3","type":"BasicTicker"},{"attributes":{"formatter":{"id":"f20edc67-1bd7-4ee8-ab91-72a2100eb5fc","type":"BasicTickFormatter"},"plot":{"id":"873e7062-6e0a-45e1-b3ee-cdf1c3afde50","subtype":"Figure","type":"Plot"},"ticker":{"id":"1736039f-188f-45da-a9c7-7ea9dc5f74d3","type":"BasicTicker"}},"id":"5bcd2413-cbe6-4237-ad56-0dbb1e95a810","type":"LinearAxis"},{"attributes":{"callback":null},"id":"4b4c26ff-1b4a-4027-a05b-d482b51e518f","type":"DataRange1d"},{"attributes":{},"id":"67fe18d0-1ca2-4377-aafa-6ded7cbdb460","type":"BasicTickFormatter"},{"attributes":{"overlay":{"id":"5fa2625c-58e9-49e9-b0c8-b96bacad01ad","type":"BoxAnnotation"}},"id":"37097aa5-f435-499c-8657-fbaa510f2f21","type":"BoxZoomTool"}],"root_ids":["873e7062-6e0a-45e1-b3ee-cdf1c3afde50"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"8c29ee19-6eb1-4b5d-b844-f2a532a57d91","elementid":"7e4a5ad8-9722-478b-8e02-7c4ca88a58ed","modelid":"873e7062-6e0a-45e1-b3ee-cdf1c3afde50"}];
                
                    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);
})();
