(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("c8181c30-5b9e-4757-95b0-695607998a53");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid 'c8181c30-5b9e-4757-95b0-695607998a53' 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 = {"950d16e7-66cd-47b0-9f1e-23fcf2cbafed":{"roots":{"references":[{"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":"0793aaca-bcb3-4370-81df-d82dfd6f7e0b","type":"ColumnDataSource"},{"attributes":{"plot":{"id":"7d62527c-75ce-4289-90a6-d1c47c644745","type":"Plot"},"ticker":{"id":"955ee255-e421-4f3f-996d-73e8a1869171","type":"BasicTicker"}},"id":"c10335ef-622c-415b-a822-003cfd9e7fc1","type":"Grid"},{"attributes":{"callback":null},"id":"3b1d5b14-acab-46d5-99fe-c4ecc0f7e266","type":"DataRange1d"},{"attributes":{},"id":"10b4c8ee-807d-4e65-9d8d-83de86aa8140","type":"LinearScale"},{"attributes":{"below":[{"id":"28997ea9-86fd-4204-a7d5-a455816ba4e8","type":"LinearAxis"}],"h_symmetry":false,"left":[{"id":"506a2db6-ca1d-4eca-a583-ad089de334bb","type":"LinearAxis"}],"min_border":0,"plot_height":300,"plot_width":300,"renderers":[{"id":"fd1d2de9-12b4-4ee3-a25d-e457fac9fde0","type":"GlyphRenderer"},{"id":"28997ea9-86fd-4204-a7d5-a455816ba4e8","type":"LinearAxis"},{"id":"506a2db6-ca1d-4eca-a583-ad089de334bb","type":"LinearAxis"},{"id":"c10335ef-622c-415b-a822-003cfd9e7fc1","type":"Grid"},{"id":"8824fffd-d731-44f0-9c91-994933d0814d","type":"Grid"}],"title":null,"toolbar":{"id":"c92261b9-c8de-47b3-a0f4-f4bb96605c84","type":"Toolbar"},"toolbar_location":null,"x_range":{"id":"3b1d5b14-acab-46d5-99fe-c4ecc0f7e266","type":"DataRange1d"},"x_scale":{"id":"cf1d92ab-b443-4642-a34b-028ce599dedb","type":"LinearScale"},"y_range":{"id":"c68066ca-0abb-41db-8775-9b4845d5dbd1","type":"DataRange1d"},"y_scale":{"id":"10b4c8ee-807d-4e65-9d8d-83de86aa8140","type":"LinearScale"}},"id":"7d62527c-75ce-4289-90a6-d1c47c644745","type":"Plot"},{"attributes":{"formatter":{"id":"d561d7f9-753e-4960-a799-519d4f78d2d5","type":"BasicTickFormatter"},"plot":{"id":"7d62527c-75ce-4289-90a6-d1c47c644745","type":"Plot"},"ticker":{"id":"955ee255-e421-4f3f-996d-73e8a1869171","type":"BasicTicker"}},"id":"28997ea9-86fd-4204-a7d5-a455816ba4e8","type":"LinearAxis"},{"attributes":{},"id":"d561d7f9-753e-4960-a799-519d4f78d2d5","type":"BasicTickFormatter"},{"attributes":{"formatter":{"id":"820b5716-6c7e-4878-81f8-ad576cfd5c65","type":"BasicTickFormatter"},"plot":{"id":"7d62527c-75ce-4289-90a6-d1c47c644745","type":"Plot"},"ticker":{"id":"751c2463-92c4-4c64-922c-869334395d1d","type":"BasicTicker"}},"id":"506a2db6-ca1d-4eca-a583-ad089de334bb","type":"LinearAxis"},{"attributes":{"dimension":1,"plot":{"id":"7d62527c-75ce-4289-90a6-d1c47c644745","type":"Plot"},"ticker":{"id":"751c2463-92c4-4c64-922c-869334395d1d","type":"BasicTicker"}},"id":"8824fffd-d731-44f0-9c91-994933d0814d","type":"Grid"},{"attributes":{"data_source":{"id":"0793aaca-bcb3-4370-81df-d82dfd6f7e0b","type":"ColumnDataSource"},"glyph":{"id":"a719d139-50ed-4cb8-b001-0ab1d5465d7f","type":"Patch"},"hover_glyph":null,"muted_glyph":null,"view":{"id":"911e2166-77ad-4c92-a6ba-e9af23580f29","type":"CDSView"}},"id":"fd1d2de9-12b4-4ee3-a25d-e457fac9fde0","type":"GlyphRenderer"},{"attributes":{"source":{"id":"0793aaca-bcb3-4370-81df-d82dfd6f7e0b","type":"ColumnDataSource"}},"id":"911e2166-77ad-4c92-a6ba-e9af23580f29","type":"CDSView"},{"attributes":{},"id":"751c2463-92c4-4c64-922c-869334395d1d","type":"BasicTicker"},{"attributes":{},"id":"820b5716-6c7e-4878-81f8-ad576cfd5c65","type":"BasicTickFormatter"},{"attributes":{"callback":null},"id":"c68066ca-0abb-41db-8775-9b4845d5dbd1","type":"DataRange1d"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto"},"id":"c92261b9-c8de-47b3-a0f4-f4bb96605c84","type":"Toolbar"},{"attributes":{},"id":"cf1d92ab-b443-4642-a34b-028ce599dedb","type":"LinearScale"},{"attributes":{"fill_color":{"value":"#a6cee3"},"x":{"field":"x"},"y":{"field":"y"}},"id":"a719d139-50ed-4cb8-b001-0ab1d5465d7f","type":"Patch"},{"attributes":{},"id":"955ee255-e421-4f3f-996d-73e8a1869171","type":"BasicTicker"}],"root_ids":["7d62527c-75ce-4289-90a6-d1c47c644745"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"950d16e7-66cd-47b0-9f1e-23fcf2cbafed","elementid":"c8181c30-5b9e-4757-95b0-695607998a53","modelid":"7d62527c-75ce-4289-90a6-d1c47c644745"}];
                
                    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);
})();
