(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("1536056d-15c8-4f16-86fd-d58722e4101f");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid '1536056d-15c8-4f16-86fd-d58722e4101f' 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 = {"b34ea184-01b9-4558-8ef1-76fd83a83a48":{"roots":{"references":[{"attributes":{},"id":"d3abd84e-ac8f-42e6-8152-28c5ae68fa43","type":"BasicTickFormatter"},{"attributes":{},"id":"52848f45-ef94-4ee3-85ae-84d0a95d4513","type":"BasicTicker"},{"attributes":{"callback":null},"id":"cc32f5a9-dc73-4083-afa3-a64347e60977","type":"DataRange1d"},{"attributes":{},"id":"539bbf9a-54f4-470b-a4dd-d02df33f3de0","type":"BasicTicker"},{"attributes":{},"id":"aa07c3fd-a5bf-4640-9ecd-4af56a271fc2","type":"LinearScale"},{"attributes":{"plot":{"id":"97e66e68-c562-4bb9-ac89-7a284bbfea75","type":"Plot"},"ticker":{"id":"539bbf9a-54f4-470b-a4dd-d02df33f3de0","type":"BasicTicker"}},"id":"56e3d716-7cda-4c7a-9b8f-cbc267498ff4","type":"Grid"},{"attributes":{"formatter":{"id":"d3abd84e-ac8f-42e6-8152-28c5ae68fa43","type":"BasicTickFormatter"},"plot":{"id":"97e66e68-c562-4bb9-ac89-7a284bbfea75","type":"Plot"},"ticker":{"id":"52848f45-ef94-4ee3-85ae-84d0a95d4513","type":"BasicTicker"}},"id":"e782fa99-98f4-4db2-b01b-c89c7812c02c","type":"LinearAxis"},{"attributes":{"fill_color":{"value":"#a6cee3"},"x":{"field":"x"},"y":{"field":"y"}},"id":"564c3234-20d1-4c1d-a458-6c1722d8c586","type":"Patch"},{"attributes":{},"id":"b993ad97-14ff-4d99-b564-e6b3d610dfa0","type":"LinearScale"},{"attributes":{},"id":"719db797-013a-4b8a-969a-5c27c384b844","type":"BasicTickFormatter"},{"attributes":{"data_source":{"id":"91bd9e65-59b5-4279-80f0-c9e06b96816f","type":"ColumnDataSource"},"glyph":{"id":"564c3234-20d1-4c1d-a458-6c1722d8c586","type":"Patch"},"hover_glyph":null,"muted_glyph":null,"view":{"id":"51f75583-208b-4d41-8942-90dce21ca374","type":"CDSView"}},"id":"059337c9-f009-4d77-9b87-22cc00c8cea0","type":"GlyphRenderer"},{"attributes":{"dimension":1,"plot":{"id":"97e66e68-c562-4bb9-ac89-7a284bbfea75","type":"Plot"},"ticker":{"id":"52848f45-ef94-4ee3-85ae-84d0a95d4513","type":"BasicTicker"}},"id":"bd6aaa33-d702-4174-9137-b23aafc0c6ac","type":"Grid"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto"},"id":"32b93af4-e3bb-415a-854c-904bcf0553e1","type":"Toolbar"},{"attributes":{"formatter":{"id":"719db797-013a-4b8a-969a-5c27c384b844","type":"BasicTickFormatter"},"plot":{"id":"97e66e68-c562-4bb9-ac89-7a284bbfea75","type":"Plot"},"ticker":{"id":"539bbf9a-54f4-470b-a4dd-d02df33f3de0","type":"BasicTicker"}},"id":"fc5a336d-ef69-4217-978f-752a6436d7c4","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":"91bd9e65-59b5-4279-80f0-c9e06b96816f","type":"ColumnDataSource"},{"attributes":{"below":[{"id":"fc5a336d-ef69-4217-978f-752a6436d7c4","type":"LinearAxis"}],"h_symmetry":false,"left":[{"id":"e782fa99-98f4-4db2-b01b-c89c7812c02c","type":"LinearAxis"}],"min_border":0,"plot_height":300,"plot_width":300,"renderers":[{"id":"059337c9-f009-4d77-9b87-22cc00c8cea0","type":"GlyphRenderer"},{"id":"fc5a336d-ef69-4217-978f-752a6436d7c4","type":"LinearAxis"},{"id":"e782fa99-98f4-4db2-b01b-c89c7812c02c","type":"LinearAxis"},{"id":"56e3d716-7cda-4c7a-9b8f-cbc267498ff4","type":"Grid"},{"id":"bd6aaa33-d702-4174-9137-b23aafc0c6ac","type":"Grid"}],"title":null,"toolbar":{"id":"32b93af4-e3bb-415a-854c-904bcf0553e1","type":"Toolbar"},"toolbar_location":null,"x_range":{"id":"94cfb33f-8cf3-4f0c-82ee-f1dad6583afa","type":"DataRange1d"},"x_scale":{"id":"aa07c3fd-a5bf-4640-9ecd-4af56a271fc2","type":"LinearScale"},"y_range":{"id":"cc32f5a9-dc73-4083-afa3-a64347e60977","type":"DataRange1d"},"y_scale":{"id":"b993ad97-14ff-4d99-b564-e6b3d610dfa0","type":"LinearScale"}},"id":"97e66e68-c562-4bb9-ac89-7a284bbfea75","type":"Plot"},{"attributes":{"callback":null},"id":"94cfb33f-8cf3-4f0c-82ee-f1dad6583afa","type":"DataRange1d"},{"attributes":{"source":{"id":"91bd9e65-59b5-4279-80f0-c9e06b96816f","type":"ColumnDataSource"}},"id":"51f75583-208b-4d41-8942-90dce21ca374","type":"CDSView"}],"root_ids":["97e66e68-c562-4bb9-ac89-7a284bbfea75"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"b34ea184-01b9-4558-8ef1-76fd83a83a48","elementid":"1536056d-15c8-4f16-86fd-d58722e4101f","modelid":"97e66e68-c562-4bb9-ac89-7a284bbfea75"}];
                
                    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);
})();
