(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("4e24d3e6-1de5-4812-b100-9dec9c149882");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid '4e24d3e6-1de5-4812-b100-9dec9c149882' 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 = {"a33b42bd-5992-4d05-b24e-fa2bf1ad2684":{"roots":{"references":[{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":5},"x":{"field":"x"},"y":{"field":"y"}},"id":"f88e310c-e1d5-48a4-9225-e719f70989fa","type":"Circle"},{"attributes":{"source":{"id":"8969c6ae-9a97-440b-bf56-639c684640bc","type":"ColumnDataSource"}},"id":"43193635-1eec-4bae-92b2-9e77874bf0f1","type":"CDSView"},{"attributes":{"callback":null,"overlay":{"id":"9e3acd38-8475-4c7a-a231-7b25a89eb34b","type":"PolyAnnotation"}},"id":"88d7c790-f2df-4e60-a213-0da0145fe67d","type":"LassoSelectTool"},{"attributes":{"plot":null,"text":"Select and Zoom"},"id":"18b187cb-fae4-4caf-8c46-7ac78cc3d76b","type":"Title"},{"attributes":{"callback":null,"column_names":["y","x"],"data":{"x":{"__ndarray__":"sPxl3KFM0D+2ad5pV4HePyjoKEEs/7o/fPhtkWh8zD/0tJSrR3TRP0BnEby7Tq0/sHHtsC/xqD/gMYOSGVneP7x3ARujsso/CAKUl6X15T/2LGfCcxrRPzsJjl+oT+w/HJDCZqETxj8oTiCNeAnjP4Dz9kHSgJI/nHtDaLfP5j8FEWtqTEnsP6xk7MXLMsA/YZqXdshU5j82yCMYXV3cP8Qp6hBlENA/gDy9crFV7T856r5pNy/qP422NPCqsu0/hqUOfJ5g0z9FAvRHUVPnPzhM7EE4pcg/rIl2Hcrz2z+x2aBt7brjP43W2bLl6+4/ftLQaSPA2z+IncN0eNOxPyAP6xLWNqg/F+dChdHz4D+wz7FfNVerPz03RPat/OA/vdMhBPIO6D95pyHRvuDqP8zOG2elx9I/Wskre/Yh3T8tOC0T+dDrPwx7BchO0+Y/2ouaSa/17D9eLUGkOMroP20rL0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TJB+E/AO6Bgj3Soz9Qam2ykSfZP/Z0pMbfDdQ/EDYdRtNjoD8MWXdkm1vbP5CQPapxULw/JLOAA1zexz/OoUF+faftPwDWYIpAEKI/BMYIp7psxj8o0TWgBzfvPzSkbOjxLtM/gLPOyetD3j/45uHMj5XMPzgjNIAs9Ns/noPSM2HB0j/A6+sIrqXUP04iUABUPes/JevnCa0/4D94SQKVJPDCP+oACczQTtw/3IZwA+Xo0T8YPVGnbguxP8SVd9XszcU/e84HGk7o5D9R+hb0b3HjP7qBPQdYhuE/8kBIZj2E5T8aiIvIPtviP3eAfZLHwug/X6A6cZeR5T/O5brneSLRPxJeNSxEB9E/AS3cCOml5D+EsIFMR+rUP3q2e92mbOM/rEBK1pygwz9WZIMxos7qPzWzLbXXE+Y/+ifhCxHd1j/AosdaJkyJP1AOFS5ohNY/gFMVVkFXeD8SdGSRFlnuPzLp6VnS2dQ/kW+TaNma5T+M+Gqpb4fGP46ZzzBxfO0/eErhzy3Kwj86DXt9PP/YP+Srr4rkNMo/KVusekq45D/u8unxUYXqP2VOWyzvJ+w/YsRt2AyT3T+QNNJ+vG+kPzajMJL/RtA/8gMB6X7q6T8U+w+zo+zvPw==","dtype":"float64","shape":[200]}}},"id":"8969c6ae-9a97-440b-bf56-639c684640bc","type":"ColumnDataSource"},{"attributes":{"fill_color":{"value":"#1f77b4"},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":5},"x":{"field":"x"},"y":{"field":"y"}},"id":"bdd1ea16-3cf8-4af6-8182-e69d32111d81","type":"Circle"},{"attributes":{},"id":"ed3ac99f-38f3-4837-ba61-ad7255aba2b2","type":"ResetTool"},{"attributes":{"callback":null,"overlay":{"id":"2327a847-207d-4f2a-9266-61754dc0ff1f","type":"BoxAnnotation"},"renderers":[{"id":"18254f7a-2157-418d-ac6a-20bba0b12d01","type":"GlyphRenderer"}]},"id":"04ebdc3e-8124-46e6-ab00-8c12776c92a9","type":"BoxSelectTool"},{"attributes":{"bottom_units":"screen","fill_alpha":{"value":0.5},"fill_color":{"value":null},"left_units":"screen","level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":"olive"},"line_dash":[],"line_width":{"value":8},"plot":null,"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"e4244e40-0062-41df-83ab-8d6ba8afbca7","type":"BoxAnnotation"},{"attributes":{},"id":"441f067b-6c61-4364-8f1e-f55a1823bcfa","type":"BasicTicker"},{"attributes":{"data_source":{"id":"8969c6ae-9a97-440b-bf56-639c684640bc","type":"ColumnDataSource"},"glyph":{"id":"bdd1ea16-3cf8-4af6-8182-e69d32111d81","type":"Circle"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"f88e310c-e1d5-48a4-9225-e719f70989fa","type":"Circle"},"selection_glyph":null,"view":{"id":"43193635-1eec-4bae-92b2-9e77874bf0f1","type":"CDSView"}},"id":"18254f7a-2157-418d-ac6a-20bba0b12d01","type":"GlyphRenderer"},{"attributes":{},"id":"bb0f2adc-4931-45ba-9e27-7f6958e73f4f","type":"LinearScale"},{"attributes":{"callback":null},"id":"89a16247-e710-444d-9286-be7c4dbac58b","type":"DataRange1d"},{"attributes":{"fill_alpha":{"value":0.5},"fill_color":{"value":"lightgrey"},"level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":"black"},"line_dash":[10,10],"line_width":{"value":2},"plot":null,"xs_units":"screen","ys_units":"screen"},"id":"9e3acd38-8475-4c7a-a231-7b25a89eb34b","type":"PolyAnnotation"},{"attributes":{},"id":"3a07cbd6-7590-4256-a7fd-bd573a2b12f3","type":"LinearScale"},{"attributes":{},"id":"8c78fc1f-7d6e-468e-882d-256c42990475","type":"BasicTicker"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"04ebdc3e-8124-46e6-ab00-8c12776c92a9","type":"BoxSelectTool"},{"id":"6e873c0f-c0bb-4b6a-9821-38bf0c652252","type":"BoxZoomTool"},{"id":"88d7c790-f2df-4e60-a213-0da0145fe67d","type":"LassoSelectTool"},{"id":"ed3ac99f-38f3-4837-ba61-ad7255aba2b2","type":"ResetTool"}]},"id":"afae6549-320c-45a6-a6a6-41e7c1b3a33d","type":"Toolbar"},{"attributes":{"bottom_units":"screen","fill_alpha":{"value":0.5},"fill_color":{"value":"firebrick"},"left_units":"screen","level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":null},"line_dash":[4,4],"line_width":{"value":2},"plot":null,"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"2327a847-207d-4f2a-9266-61754dc0ff1f","type":"BoxAnnotation"},{"attributes":{"overlay":{"id":"e4244e40-0062-41df-83ab-8d6ba8afbca7","type":"BoxAnnotation"}},"id":"6e873c0f-c0bb-4b6a-9821-38bf0c652252","type":"BoxZoomTool"},{"attributes":{"plot":{"id":"0afc05c7-ce5c-4e87-94c0-23dc6c8c73d8","subtype":"Figure","type":"Plot"},"ticker":{"id":"441f067b-6c61-4364-8f1e-f55a1823bcfa","type":"BasicTicker"}},"id":"a6f19090-25f5-4121-89e7-8c06c93dd202","type":"Grid"},{"attributes":{"formatter":{"id":"90539bae-4c52-42ce-9484-99707ed5f8ce","type":"BasicTickFormatter"},"plot":{"id":"0afc05c7-ce5c-4e87-94c0-23dc6c8c73d8","subtype":"Figure","type":"Plot"},"ticker":{"id":"8c78fc1f-7d6e-468e-882d-256c42990475","type":"BasicTicker"}},"id":"3d1793b2-a516-410f-9844-67b84edadf33","type":"LinearAxis"},{"attributes":{},"id":"fae3c4ab-fc84-47ad-b56a-b13df5ce7a65","type":"BasicTickFormatter"},{"attributes":{"dimension":1,"plot":{"id":"0afc05c7-ce5c-4e87-94c0-23dc6c8c73d8","subtype":"Figure","type":"Plot"},"ticker":{"id":"8c78fc1f-7d6e-468e-882d-256c42990475","type":"BasicTicker"}},"id":"56e897b0-97d0-47bc-be84-da855c426ea1","type":"Grid"},{"attributes":{},"id":"90539bae-4c52-42ce-9484-99707ed5f8ce","type":"BasicTickFormatter"},{"attributes":{"below":[{"id":"5d9f7938-525a-43d3-b95a-71d1eccafb5a","type":"LinearAxis"}],"left":[{"id":"3d1793b2-a516-410f-9844-67b84edadf33","type":"LinearAxis"}],"plot_height":400,"plot_width":400,"renderers":[{"id":"5d9f7938-525a-43d3-b95a-71d1eccafb5a","type":"LinearAxis"},{"id":"a6f19090-25f5-4121-89e7-8c06c93dd202","type":"Grid"},{"id":"3d1793b2-a516-410f-9844-67b84edadf33","type":"LinearAxis"},{"id":"56e897b0-97d0-47bc-be84-da855c426ea1","type":"Grid"},{"id":"2327a847-207d-4f2a-9266-61754dc0ff1f","type":"BoxAnnotation"},{"id":"e4244e40-0062-41df-83ab-8d6ba8afbca7","type":"BoxAnnotation"},{"id":"9e3acd38-8475-4c7a-a231-7b25a89eb34b","type":"PolyAnnotation"},{"id":"18254f7a-2157-418d-ac6a-20bba0b12d01","type":"GlyphRenderer"}],"title":{"id":"18b187cb-fae4-4caf-8c46-7ac78cc3d76b","type":"Title"},"toolbar":{"id":"afae6549-320c-45a6-a6a6-41e7c1b3a33d","type":"Toolbar"},"x_range":{"id":"33726de3-2437-4153-af25-1c36be6dee38","type":"DataRange1d"},"x_scale":{"id":"bb0f2adc-4931-45ba-9e27-7f6958e73f4f","type":"LinearScale"},"y_range":{"id":"89a16247-e710-444d-9286-be7c4dbac58b","type":"DataRange1d"},"y_scale":{"id":"3a07cbd6-7590-4256-a7fd-bd573a2b12f3","type":"LinearScale"}},"id":"0afc05c7-ce5c-4e87-94c0-23dc6c8c73d8","subtype":"Figure","type":"Plot"},{"attributes":{"callback":null},"id":"33726de3-2437-4153-af25-1c36be6dee38","type":"DataRange1d"},{"attributes":{"formatter":{"id":"fae3c4ab-fc84-47ad-b56a-b13df5ce7a65","type":"BasicTickFormatter"},"plot":{"id":"0afc05c7-ce5c-4e87-94c0-23dc6c8c73d8","subtype":"Figure","type":"Plot"},"ticker":{"id":"441f067b-6c61-4364-8f1e-f55a1823bcfa","type":"BasicTicker"}},"id":"5d9f7938-525a-43d3-b95a-71d1eccafb5a","type":"LinearAxis"}],"root_ids":["0afc05c7-ce5c-4e87-94c0-23dc6c8c73d8"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"a33b42bd-5992-4d05-b24e-fa2bf1ad2684","elementid":"4e24d3e6-1de5-4812-b100-9dec9c149882","modelid":"0afc05c7-ce5c-4e87-94c0-23dc6c8c73d8"}];
                
                    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);
})();
