(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("eeaded73-f032-4b09-abdd-90c1dc65e1bf");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid 'eeaded73-f032-4b09-abdd-90c1dc65e1bf' 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 = {"98e3aa5d-c841-45cc-8201-9b08f0b156fa":{"roots":{"references":[{"attributes":{"plot":null,"text":""},"id":"a1d03159-1b36-4764-affc-0d49ab2db2cc","type":"Title"},{"attributes":{},"id":"dff9cd9f-9889-4196-a1e0-9663b30ccfa3","type":"HelpTool"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"0080bec8-1c57-4aac-86ca-33e37ca73df6","type":"PanTool"},{"id":"ca095562-5644-4381-a800-948833b1c26c","type":"WheelZoomTool"},{"id":"e1e37dca-a7eb-4fd8-955a-7ec4e180d895","type":"BoxZoomTool"},{"id":"0a97145c-4aa9-4089-9830-b24e427de8f6","type":"SaveTool"},{"id":"e245179a-4ade-4899-9617-7eef7405f3a4","type":"ResetTool"},{"id":"dff9cd9f-9889-4196-a1e0-9663b30ccfa3","type":"HelpTool"}]},"id":"d329b18d-6258-412d-9a6f-87316db27449","type":"Toolbar"},{"attributes":{},"id":"cbdf09b3-1620-4bf7-a053-61bc9fb751fd","type":"BasicTickFormatter"},{"attributes":{"callback":null,"end":10},"id":"cf7789c8-6369-442e-a8e2-83c392d52a5f","type":"Range1d"},{"attributes":{},"id":"e7ea9f1c-d5a4-498f-985e-07baf44270f6","type":"BasicTicker"},{"attributes":{"source":{"id":"69526ca1-1c8f-411c-ab89-19e3591d7703","type":"ColumnDataSource"}},"id":"7355f968-a516-4d87-8523-3378ce20d23f","type":"CDSView"},{"attributes":{},"id":"ca095562-5644-4381-a800-948833b1c26c","type":"WheelZoomTool"},{"attributes":{},"id":"54a7e034-bf5c-460b-b77b-ecbd2e60f916","type":"LinearScale"},{"attributes":{"below":[{"id":"e4eaa03f-5f4b-4b15-8104-e4f9500e026a","type":"LinearAxis"}],"left":[{"id":"71dfbb6e-18e0-4904-ab50-84f56ab62ae4","type":"LinearAxis"}],"renderers":[{"id":"e4eaa03f-5f4b-4b15-8104-e4f9500e026a","type":"LinearAxis"},{"id":"8938c7bd-e994-4815-ac12-9f6748599d8d","type":"Grid"},{"id":"71dfbb6e-18e0-4904-ab50-84f56ab62ae4","type":"LinearAxis"},{"id":"440dca5e-dd80-44fc-9b89-dd031bd70938","type":"Grid"},{"id":"468ec293-57e5-4621-9d79-3bf3c6de2f4e","type":"BoxAnnotation"},{"id":"43db9175-475a-493c-9647-66ffaf9a0fce","type":"GlyphRenderer"}],"title":{"id":"a1d03159-1b36-4764-affc-0d49ab2db2cc","type":"Title"},"toolbar":{"id":"d329b18d-6258-412d-9a6f-87316db27449","type":"Toolbar"},"x_range":{"id":"f88e59d0-e159-4711-9abd-b0c26ffe7a48","type":"Range1d"},"x_scale":{"id":"54a7e034-bf5c-460b-b77b-ecbd2e60f916","type":"LinearScale"},"y_range":{"id":"cf7789c8-6369-442e-a8e2-83c392d52a5f","type":"Range1d"},"y_scale":{"id":"cde67e14-2d59-49bc-818d-35673f5e7970","type":"LinearScale"}},"id":"e7baa76c-f86b-4e19-92cf-5bb50c5d6399","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"b2067592-de22-4875-91e9-00b35d10f6b8","type":"BasicTickFormatter"},{"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":"468ec293-57e5-4621-9d79-3bf3c6de2f4e","type":"BoxAnnotation"},{"attributes":{},"id":"0080bec8-1c57-4aac-86ca-33e37ca73df6","type":"PanTool"},{"attributes":{},"id":"cde67e14-2d59-49bc-818d-35673f5e7970","type":"LinearScale"},{"attributes":{"plot":{"id":"e7baa76c-f86b-4e19-92cf-5bb50c5d6399","subtype":"Figure","type":"Plot"},"ticker":{"id":"e7ea9f1c-d5a4-498f-985e-07baf44270f6","type":"BasicTicker"}},"id":"8938c7bd-e994-4815-ac12-9f6748599d8d","type":"Grid"},{"attributes":{"formatter":{"id":"b2067592-de22-4875-91e9-00b35d10f6b8","type":"BasicTickFormatter"},"plot":{"id":"e7baa76c-f86b-4e19-92cf-5bb50c5d6399","subtype":"Figure","type":"Plot"},"ticker":{"id":"e7ea9f1c-d5a4-498f-985e-07baf44270f6","type":"BasicTicker"}},"id":"e4eaa03f-5f4b-4b15-8104-e4f9500e026a","type":"LinearAxis"},{"attributes":{"data_source":{"id":"69526ca1-1c8f-411c-ab89-19e3591d7703","type":"ColumnDataSource"},"glyph":{"id":"6dc3f2b5-4f63-4f89-a7c6-a553b76fdf2d","type":"ImageRGBA"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"13f54cf7-e271-450d-9831-f5e5f22eae25","type":"ImageRGBA"},"selection_glyph":null,"view":{"id":"7355f968-a516-4d87-8523-3378ce20d23f","type":"CDSView"}},"id":"43db9175-475a-493c-9647-66ffaf9a0fce","type":"GlyphRenderer"},{"attributes":{"dimension":1,"plot":{"id":"e7baa76c-f86b-4e19-92cf-5bb50c5d6399","subtype":"Figure","type":"Plot"},"ticker":{"id":"b4420723-07c3-462e-8a12-38a858df96bb","type":"BasicTicker"}},"id":"440dca5e-dd80-44fc-9b89-dd031bd70938","type":"Grid"},{"attributes":{"formatter":{"id":"cbdf09b3-1620-4bf7-a053-61bc9fb751fd","type":"BasicTickFormatter"},"plot":{"id":"e7baa76c-f86b-4e19-92cf-5bb50c5d6399","subtype":"Figure","type":"Plot"},"ticker":{"id":"b4420723-07c3-462e-8a12-38a858df96bb","type":"BasicTicker"}},"id":"71dfbb6e-18e0-4904-ab50-84f56ab62ae4","type":"LinearAxis"},{"attributes":{"dh":{"units":"data","value":10},"dw":{"units":"data","value":10},"image":{"field":"image"},"x":{"value":0},"y":{"value":0}},"id":"13f54cf7-e271-450d-9831-f5e5f22eae25","type":"ImageRGBA"},{"attributes":{},"id":"e245179a-4ade-4899-9617-7eef7405f3a4","type":"ResetTool"},{"attributes":{"callback":null,"end":10},"id":"f88e59d0-e159-4711-9abd-b0c26ffe7a48","type":"Range1d"},{"attributes":{"overlay":{"id":"468ec293-57e5-4621-9d79-3bf3c6de2f4e","type":"BoxAnnotation"}},"id":"e1e37dca-a7eb-4fd8-955a-7ec4e180d895","type":"BoxZoomTool"},{"attributes":{},"id":"0a97145c-4aa9-4089-9830-b24e427de8f6","type":"SaveTool"},{"attributes":{},"id":"b4420723-07c3-462e-8a12-38a858df96bb","type":"BasicTicker"},{"attributes":{"callback":null,"column_names":["image"],"data":{"image":[{"__ndarray__":"AJ4A/wCeDP8Anhn/AJ4m/wCeM/8Anj//AJ5M/wCeWf8Anmb/AJ5y/wCef/8Anoz/AJ6Z/wCepf8AnrL/AJ6//wCezP8Antj/AJ7l/wCe8v8MngD/DJ4M/wyeGf8Mnib/DJ4z/wyeP/8Mnkz/DJ5Z/wyeZv8MnnL/DJ5//wyejP8Mnpn/DJ6l/wyesv8Mnr//DJ7M/wye2P8MnuX/DJ7y/xmeAP8Zngz/GZ4Z/xmeJv8ZnjP/GZ4//xmeTP8Znln/GZ5m/xmecv8Znn//GZ6M/xmemf8ZnqX/GZ6y/xmev/8Znsz/GZ7Y/xme5f8ZnvL/Jp4A/yaeDP8mnhn/Jp4m/yaeM/8mnj//Jp5M/yaeWf8mnmb/Jp5y/yaef/8mnoz/Jp6Z/yaepf8mnrL/Jp6//yaezP8mntj/Jp7l/yae8v8zngD/M54M/zOeGf8znib/M54z/zOeP/8znkz/M55Z/zOeZv8znnL/M55//zOejP8znpn/M56l/zOesv8znr//M57M/zOe2P8znuX/M57y/z+eAP8/ngz/P54Z/z+eJv8/njP/P54//z+eTP8/nln/P55m/z+ecv8/nn//P56M/z+emf8/nqX/P56y/z+ev/8/nsz/P57Y/z+e5f8/nvL/TJ4A/0yeDP9Mnhn/TJ4m/0yeM/9Mnj//TJ5M/0yeWf9Mnmb/TJ5y/0yef/9Mnoz/TJ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/zJ5Z/8yeZv/MnnL/zJ5//8yejP/Mnpn/zJ6l/8yesv/Mnr//zJ7M/8ye2P/MnuX/zJ7y/9ieAP/Yngz/2J4Z/9ieJv/YnjP/2J4//9ieTP/Ynln/2J5m/9iecv/Ynn//2J6M/9iemf/YnqX/2J6y/9iev//Ynsz/2J7Y/9ie5f/YnvL/5Z4A/+WeDP/lnhn/5Z4m/+WeM//lnj//5Z5M/+WeWf/lnmb/5Z5y/+Wef//lnoz/5Z6Z/+Wepf/lnrL/5Z6//+WezP/lntj/5Z7l/+We8v/yngD/8p4M//KeGf/ynib/8p4z//KeP//ynkz/8p5Z//KeZv/ynnL/8p5///KejP/ynpn/8p6l//Kesv/ynr//8p7M//Ke2P/ynuX/8p7y/w==","dtype":"uint32","shape":[20,20]}]}},"id":"69526ca1-1c8f-411c-ab89-19e3591d7703","type":"ColumnDataSource"},{"attributes":{"dh":{"units":"data","value":10},"dw":{"units":"data","value":10},"image":{"field":"image"},"x":{"value":0},"y":{"value":0}},"id":"6dc3f2b5-4f63-4f89-a7c6-a553b76fdf2d","type":"ImageRGBA"}],"root_ids":["e7baa76c-f86b-4e19-92cf-5bb50c5d6399"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"98e3aa5d-c841-45cc-8201-9b08f0b156fa","elementid":"eeaded73-f032-4b09-abdd-90c1dc65e1bf","modelid":"e7baa76c-f86b-4e19-92cf-5bb50c5d6399"}];
                
                    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);
})();
