(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("9fd9e234-5ab3-4731-a5fe-c33adc7d34a7");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid '9fd9e234-5ab3-4731-a5fe-c33adc7d34a7' 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 = {"c83e2028-82ca-44c1-89f1-233aab5f5c42":{"roots":{"references":[{"attributes":{},"id":"ebf7c1ed-96b9-4cb2-876f-6e84810c345d","type":"LinearScale"},{"attributes":{"callback":null},"id":"ae221d49-2ed8-43fb-9e63-540da621a95a","type":"DataRange1d"},{"attributes":{"callback":null},"id":"ac8360ea-4275-4e0d-ab63-232854ed22ac","type":"DataRange1d"},{"attributes":{},"id":"91ba4c64-d0f3-4f11-8beb-48b8ad7320e9","type":"LinearScale"},{"attributes":{"source":{"id":"34862899-369a-475f-9fce-bcf782384155","type":"ColumnDataSource"}},"id":"8f82508d-9c63-4a00-84e5-00a4193955d5","type":"CDSView"},{"attributes":{"formatter":{"id":"5aa0062e-2fbe-4b25-9906-8c28067a2461","type":"BasicTickFormatter"},"plot":{"id":"34181015-e39e-4eda-990f-b06778c75e62","type":"Plot"},"ticker":{"id":"e812a9b8-f190-4db0-8a51-aaf590af0c46","type":"BasicTicker"}},"id":"83308be7-269a-4027-a8e7-adc9a349b1d6","type":"LinearAxis"},{"attributes":{"callback":null,"column_names":["y","x"],"data":{"x":{"__ndarray__":"AAAAAAAAAMCNsNzTCMv9vxphuacRlvu/qBGWexph+b81wnJPIyz3v8JyTyMs9/S/UCMs9zTC8r/d0wjLPY3wv9QIyz2NsOy/7mmE5Z5G6L8Iyz2NsNzjv0hY7mmE5d6/fBphuacR1r9guacRlnvKv6B7GmG5p7G/oHsaYbmnsT9guacRlnvKP3gaYbmnEdY/SFjuaYTl3j8Iyz2NsNzjP/BphOWeRug/1AjLPY2w7D/c0wjLPY3wP1AjLPc0wvI/wnJPIyz39D80wnJPIyz3P6gRlnsaYfk/GmG5pxGW+z+MsNzTCMv9PwAAAAAAAABAAAAAAAAAAECMsNzTCMv9PxphuacRlvs/qBGWexph+T80wnJPIyz3P8JyTyMs9/Q/UCMs9zTC8j/c0wjLPY3wP9QIyz2NsOw/8GmE5Z5G6D8Iyz2NsNzjP0hY7mmE5d4/eBphuacR1j9guacRlnvKP6B7GmG5p7E/oHsaYbmnsb9guacRlnvKv3waYbmnEda/SFjuaYTl3r8Iyz2NsNzjv+5phOWeRui/1AjLPY2w7L/d0wjLPY3wv1AjLPc0wvK/wnJPIyz39L81wnJPIyz3v6gRlnsaYfm/GmG5pxGW+7+NsNzTCMv9vwAAAAAAAADA","dtype":"float64","shape":[60]},"y":{"__ndarray__":"AAAAAAAAEEBpbwI4CL0LQG77lpD9xwdAE6S9CeAgBEBTaXajr8cAQF+WgrvYePs/VpM8cSz+9T+EyRpoWh/xP9lxOkDFuOk/HsOHMopq4j+xDTtOB6jYPyT07nfG1M0/XC0TuaBwvj8rDBgpseqlP1onhyRIe3M/WieHJEh7cz8rDBgpseqlP1EtE7mgcL4/JPTud8bUzT+xDTtOB6jYPyHDhzKKauI/2XE6QMW46T+CyRpoWh/xP1aTPHEs/vU/X5aCu9h4+z9RaXajr8cAQBOkvQngIARAbvuWkP3HB0BnbwI4CL0LQAAAAAAAABBAZmZmZmZmIECkMMUdEx4eQMqiBv9PlhtAQCORcIM1GUACsmRyrfsWQBVPgQTO6BRAdvrmJuX8EkAktJXZ8jcRQEX4GjnuMw9A3qSc3+NFDEASbrCmxqUJQOVTVo6WUwdAVFaOllNPBUBhdVi//ZgDQAuxtAiVMAJAUQmjchkWAUA1fiP9ikkAQGsfbFDTlf8/pnu152o0/z8cESPA3G7/P+Zv2myUIgBA23M1mqfbAEBulCLop+IBQJ3RoVaVNwNAaCuz5W/aBEDSoVaVN8sGQNk0jGXsCQlAe+RTVo6WC0C8sK1nHXEOQM3MzMzMzBBA","dtype":"float64","shape":[60]}}},"id":"34862899-369a-475f-9fce-bcf782384155","type":"ColumnDataSource"},{"attributes":{},"id":"b89d19d4-2d31-443b-bfe6-b8fd8a951c79","type":"BasicTicker"},{"attributes":{"dimension":1,"plot":{"id":"34181015-e39e-4eda-990f-b06778c75e62","type":"Plot"},"ticker":{"id":"e812a9b8-f190-4db0-8a51-aaf590af0c46","type":"BasicTicker"}},"id":"a518a23e-6158-4d6c-bf96-3e6ccd73ff92","type":"Grid"},{"attributes":{},"id":"5aa0062e-2fbe-4b25-9906-8c28067a2461","type":"BasicTickFormatter"},{"attributes":{"formatter":{"id":"2d6943ae-2aec-44bf-9310-3265669bde74","type":"BasicTickFormatter"},"plot":{"id":"34181015-e39e-4eda-990f-b06778c75e62","type":"Plot"},"ticker":{"id":"b89d19d4-2d31-443b-bfe6-b8fd8a951c79","type":"BasicTicker"}},"id":"e9c7981c-4c53-4c24-a5b9-d19142eed443","type":"LinearAxis"},{"attributes":{"plot":{"id":"34181015-e39e-4eda-990f-b06778c75e62","type":"Plot"},"ticker":{"id":"b89d19d4-2d31-443b-bfe6-b8fd8a951c79","type":"BasicTicker"}},"id":"38a47c3f-07cd-4845-aab1-6e7daab9d192","type":"Grid"},{"attributes":{},"id":"e812a9b8-f190-4db0-8a51-aaf590af0c46","type":"BasicTicker"},{"attributes":{},"id":"2d6943ae-2aec-44bf-9310-3265669bde74","type":"BasicTickFormatter"},{"attributes":{"data_source":{"id":"34862899-369a-475f-9fce-bcf782384155","type":"ColumnDataSource"},"glyph":{"id":"407bba16-581e-46e5-befd-86a2110729ca","type":"Patch"},"hover_glyph":null,"muted_glyph":null,"view":{"id":"8f82508d-9c63-4a00-84e5-00a4193955d5","type":"CDSView"}},"id":"9954761a-85fd-4ef0-9ae8-f6fd360c65fc","type":"GlyphRenderer"},{"attributes":{"fill_color":{"value":"#a6cee3"},"x":{"field":"x"},"y":{"field":"y"}},"id":"407bba16-581e-46e5-befd-86a2110729ca","type":"Patch"},{"attributes":{"below":[{"id":"e9c7981c-4c53-4c24-a5b9-d19142eed443","type":"LinearAxis"}],"h_symmetry":false,"left":[{"id":"83308be7-269a-4027-a8e7-adc9a349b1d6","type":"LinearAxis"}],"min_border":0,"plot_height":300,"plot_width":300,"renderers":[{"id":"9954761a-85fd-4ef0-9ae8-f6fd360c65fc","type":"GlyphRenderer"},{"id":"e9c7981c-4c53-4c24-a5b9-d19142eed443","type":"LinearAxis"},{"id":"83308be7-269a-4027-a8e7-adc9a349b1d6","type":"LinearAxis"},{"id":"38a47c3f-07cd-4845-aab1-6e7daab9d192","type":"Grid"},{"id":"a518a23e-6158-4d6c-bf96-3e6ccd73ff92","type":"Grid"}],"title":null,"toolbar":{"id":"7668075a-eb53-4c2b-898f-5b620cbee0db","type":"Toolbar"},"toolbar_location":null,"x_range":{"id":"ae221d49-2ed8-43fb-9e63-540da621a95a","type":"DataRange1d"},"x_scale":{"id":"ebf7c1ed-96b9-4cb2-876f-6e84810c345d","type":"LinearScale"},"y_range":{"id":"ac8360ea-4275-4e0d-ab63-232854ed22ac","type":"DataRange1d"},"y_scale":{"id":"91ba4c64-d0f3-4f11-8beb-48b8ad7320e9","type":"LinearScale"}},"id":"34181015-e39e-4eda-990f-b06778c75e62","type":"Plot"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto"},"id":"7668075a-eb53-4c2b-898f-5b620cbee0db","type":"Toolbar"}],"root_ids":["34181015-e39e-4eda-990f-b06778c75e62"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"c83e2028-82ca-44c1-89f1-233aab5f5c42","elementid":"9fd9e234-5ab3-4731-a5fe-c33adc7d34a7","modelid":"34181015-e39e-4eda-990f-b06778c75e62"}];
                
                    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);
})();
