(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("750b0669-63ba-491d-bf28-7b6abce06e66");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid '750b0669-63ba-491d-bf28-7b6abce06e66' 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 = {"89e1ee52-86cb-4ca3-b12a-6635e36c8aab":{"roots":{"references":[{"attributes":{},"id":"93f434e5-4fe9-4b91-9a5a-42dc80391715","type":"LinearScale"},{"attributes":{"source":{"id":"baa68fcd-9dbc-4e4f-8983-0fcb1bc27d72","type":"ColumnDataSource"}},"id":"9065b57c-a0cd-4854-bda4-93e926b57d07","type":"CDSView"},{"attributes":{"dimension":1,"plot":{"id":"5ff7afde-43c1-4150-bb53-279473b0e300","subtype":"Figure","type":"Plot"},"ticker":{"id":"3f8e21ba-3c0e-42dc-9680-d0422065c01a","type":"BasicTicker"}},"id":"8513c35d-378b-4c8c-889b-9a157d122fb2","type":"Grid"},{"attributes":{"plot":{"id":"5ff7afde-43c1-4150-bb53-279473b0e300","subtype":"Figure","type":"Plot"},"ticker":{"id":"f46a8cad-92da-46a3-9f57-6c9b944858cb","type":"BasicTicker"}},"id":"8ea20b8b-f6d8-43ec-9bed-ea9f5c75d620","type":"Grid"},{"attributes":{},"id":"b6bfb778-c6ae-4a1e-ba20-092816baea9e","type":"ResetTool"},{"attributes":{},"id":"095f6848-9741-4736-a8f4-e429df3f57c8","type":"SaveTool"},{"attributes":{"color_mapper":{"id":"470498da-a3c5-43a3-a608-65d8d93ae2a4","type":"LinearColorMapper"},"dh":{"units":"data","value":10},"dw":{"units":"data","value":10},"image":{"field":"image"},"x":{"value":0},"y":{"value":0}},"id":"c0a2f2d9-b6ab-4434-ad8f-6109c0b327ab","type":"Image"},{"attributes":{},"id":"765a1bfe-dcb0-4b41-809f-8071ced25229","type":"BasicTickFormatter"},{"attributes":{"color_mapper":{"id":"b24a0f49-b38a-446f-94fd-e21d954cc747","type":"LinearColorMapper"},"dh":{"units":"data","value":10},"dw":{"units":"data","value":10},"image":{"field":"image"},"x":{"value":0},"y":{"value":0}},"id":"3c5e6a31-c745-4e2d-a7e3-f2d891794a95","type":"Image"},{"attributes":{},"id":"faac0b5a-16a1-4541-a05c-3b7b60cb1e09","type":"HelpTool"},{"attributes":{"callback":null,"column_names":["image"],"data":{"image":[{"__ndarray__":"[encoded data, 2666668 characters]","dtype":"float64","shape":[500,500]}]}},"id":"baa68fcd-9dbc-4e4f-8983-0fcb1bc27d72","type":"ColumnDataSource"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"7c25c3be-f003-4213-9cb6-b936d75246ad","type":"PanTool"},{"id":"51399fbd-f766-49ca-ac82-927cbe4e1adc","type":"WheelZoomTool"},{"id":"e020220e-27eb-4f2b-8284-a90e3e44af04","type":"BoxZoomTool"},{"id":"095f6848-9741-4736-a8f4-e429df3f57c8","type":"SaveTool"},{"id":"b6bfb778-c6ae-4a1e-ba20-092816baea9e","type":"ResetTool"},{"id":"faac0b5a-16a1-4541-a05c-3b7b60cb1e09","type":"HelpTool"}]},"id":"e4f37104-8c4c-407d-9149-1465696c7a17","type":"Toolbar"},{"attributes":{"plot":null,"text":""},"id":"130bf2aa-ca19-4bf9-b4a5-d2676bfcccb2","type":"Title"},{"attributes":{"below":[{"id":"9db51c87-e64e-4120-9750-02e0a75b0c0e","type":"LinearAxis"}],"left":[{"id":"f11c8e38-76b9-44f1-b824-b7ad64e709cc","type":"LinearAxis"}],"renderers":[{"id":"9db51c87-e64e-4120-9750-02e0a75b0c0e","type":"LinearAxis"},{"id":"8ea20b8b-f6d8-43ec-9bed-ea9f5c75d620","type":"Grid"},{"id":"f11c8e38-76b9-44f1-b824-b7ad64e709cc","type":"LinearAxis"},{"id":"8513c35d-378b-4c8c-889b-9a157d122fb2","type":"Grid"},{"id":"5d454418-da03-4294-beeb-aedd70327890","type":"BoxAnnotation"},{"id":"50bdb16c-4ca5-4d0d-a4f1-98a0b8421ecb","type":"GlyphRenderer"}],"title":{"id":"130bf2aa-ca19-4bf9-b4a5-d2676bfcccb2","type":"Title"},"toolbar":{"id":"e4f37104-8c4c-407d-9149-1465696c7a17","type":"Toolbar"},"x_range":{"id":"ce23d15c-17f0-41c8-80ba-28f9f08c1f61","type":"Range1d"},"x_scale":{"id":"93f434e5-4fe9-4b91-9a5a-42dc80391715","type":"LinearScale"},"y_range":{"id":"0fec988d-f2c1-42cc-9500-f4c8998933a4","type":"Range1d"},"y_scale":{"id":"52b224a4-6e85-4922-9197-f649822d8f22","type":"LinearScale"}},"id":"5ff7afde-43c1-4150-bb53-279473b0e300","subtype":"Figure","type":"Plot"},{"attributes":{"formatter":{"id":"765a1bfe-dcb0-4b41-809f-8071ced25229","type":"BasicTickFormatter"},"plot":{"id":"5ff7afde-43c1-4150-bb53-279473b0e300","subtype":"Figure","type":"Plot"},"ticker":{"id":"f46a8cad-92da-46a3-9f57-6c9b944858cb","type":"BasicTicker"}},"id":"9db51c87-e64e-4120-9750-02e0a75b0c0e","type":"LinearAxis"},{"attributes":{},"id":"52b224a4-6e85-4922-9197-f649822d8f22","type":"LinearScale"},{"attributes":{"formatter":{"id":"bb5316ed-59a3-4bc9-b4aa-00a1b6c3c342","type":"BasicTickFormatter"},"plot":{"id":"5ff7afde-43c1-4150-bb53-279473b0e300","subtype":"Figure","type":"Plot"},"ticker":{"id":"3f8e21ba-3c0e-42dc-9680-d0422065c01a","type":"BasicTicker"}},"id":"f11c8e38-76b9-44f1-b824-b7ad64e709cc","type":"LinearAxis"},{"attributes":{"callback":null,"end":10},"id":"ce23d15c-17f0-41c8-80ba-28f9f08c1f61","type":"Range1d"},{"attributes":{},"id":"f46a8cad-92da-46a3-9f57-6c9b944858cb","type":"BasicTicker"},{"attributes":{},"id":"3f8e21ba-3c0e-42dc-9680-d0422065c01a","type":"BasicTicker"},{"attributes":{"callback":null,"end":10},"id":"0fec988d-f2c1-42cc-9500-f4c8998933a4","type":"Range1d"},{"attributes":{"palette":["#5e4fa2","#3288bd","#66c2a5","#abdda4","#e6f598","#ffffbf","#fee08b","#fdae61","#f46d43","#d53e4f","#9e0142"]},"id":"b24a0f49-b38a-446f-94fd-e21d954cc747","type":"LinearColorMapper"},{"attributes":{},"id":"bb5316ed-59a3-4bc9-b4aa-00a1b6c3c342","type":"BasicTickFormatter"},{"attributes":{},"id":"51399fbd-f766-49ca-ac82-927cbe4e1adc","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":"5d454418-da03-4294-beeb-aedd70327890","type":"BoxAnnotation"},{"attributes":{},"id":"7c25c3be-f003-4213-9cb6-b936d75246ad","type":"PanTool"},{"attributes":{"overlay":{"id":"5d454418-da03-4294-beeb-aedd70327890","type":"BoxAnnotation"}},"id":"e020220e-27eb-4f2b-8284-a90e3e44af04","type":"BoxZoomTool"},{"attributes":{"palette":["#5e4fa2","#3288bd","#66c2a5","#abdda4","#e6f598","#ffffbf","#fee08b","#fdae61","#f46d43","#d53e4f","#9e0142"]},"id":"470498da-a3c5-43a3-a608-65d8d93ae2a4","type":"LinearColorMapper"},{"attributes":{"data_source":{"id":"baa68fcd-9dbc-4e4f-8983-0fcb1bc27d72","type":"ColumnDataSource"},"glyph":{"id":"c0a2f2d9-b6ab-4434-ad8f-6109c0b327ab","type":"Image"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"3c5e6a31-c745-4e2d-a7e3-f2d891794a95","type":"Image"},"selection_glyph":null,"view":{"id":"9065b57c-a0cd-4854-bda4-93e926b57d07","type":"CDSView"}},"id":"50bdb16c-4ca5-4d0d-a4f1-98a0b8421ecb","type":"GlyphRenderer"}],"root_ids":["5ff7afde-43c1-4150-bb53-279473b0e300"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"89e1ee52-86cb-4ca3-b12a-6635e36c8aab","elementid":"750b0669-63ba-491d-bf28-7b6abce06e66","modelid":"5ff7afde-43c1-4150-bb53-279473b0e300"}];
                
                    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);
})();
