(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("7bb0ed8b-8466-464d-954d-4398c2e4eb40");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid '7bb0ed8b-8466-464d-954d-4398c2e4eb40' 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 = {"70936737-3c44-4093-b58d-9961e7ec7bc7":{"roots":{"references":[{"attributes":{"grid_line_color":{"value":null},"plot":{"id":"92badd94-fdfe-42f3-aa8a-9a36ad0e05c4","subtype":"Figure","type":"Plot"},"ticker":{"id":"d5bfecd4-cccd-4096-b307-9930e39ce59e","type":"CategoricalTicker"}},"id":"5856a903-bc4b-43f5-a483-d38a8e30a924","type":"Grid"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"top":{"field":"mpg_mean"},"width":{"value":1},"x":{"field":"cyl"}},"id":"15e1a33e-c877-41b9-b4b7-1fe13055009c","type":"VBar"},{"attributes":{"formatter":{"id":"7286d094-4555-40ab-8eff-8332496e2e45","type":"BasicTickFormatter"},"plot":{"id":"92badd94-fdfe-42f3-aa8a-9a36ad0e05c4","subtype":"Figure","type":"Plot"},"ticker":{"id":"d7633859-3214-4fe1-bbef-f7934d5c051f","type":"BasicTicker"}},"id":"5806439c-92a0-4c6b-8fe4-bac057701c12","type":"LinearAxis"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto"},"id":"38da21c8-b71b-4700-9e03-d395354af2eb","type":"Toolbar"},{"attributes":{"callback":null,"column_names":["origin","mpg","displ","weight","index","hp","accel","yr"],"data":{"accel":{"__ndarray__":"AAAAAAAAEEAAAAAAAIAqQAAAAAAAAOA/AAAAAAAAKUAAAAAAAIAqQAAAAAAAACtAAAAAAAAAK0AAAAAAAAArQAAAAAAA4GhAkcQsBviUMECb1TA5wxADQDMzMzMzMydAmpmZmZmZLUAzMzMzMzMwQAAAAAAAADJAzczMzMzMOEAAAAAAAAAIQCIiIiIiojJA7WOs/Tf0AkDNzMzMzMwvQGZmZmZm5jFAZmZmZmbmM0AAAAAAAAA0QJqZmZm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AAAAAAAMBiQAAAAAAA4GVAAAAAAADAbEA=","dtype":"float64","shape":[40]},"index":[["3","count"],["3","mean"],["3","std"],["3","min"],["3","25%"],["3","50%"],["3","75%"],["3","max"],["4","count"],["4","mean"],["4","std"],["4","min"],["4","25%"],["4","50%"],["4","75%"],["4","max"],["5","count"],["5","mean"],["5","std"],["5","min"],["5","25%"],["5","50%"],["5","75%"],["5","max"],["6","count"],["6","mean"],["6","std"],["6","min"],["6","25%"],["6","50%"],["6","75%"],["6","max"],["8","count"],["8","mean"],["8","std"],["8","min"],["8","25%"],["8","50%"],["8","75%"],["8","max"]],"mpg":{"__ndarray__":"AAAAAAAAEEDNzMzMzIw0QHGvXjsZhARAAAAAAAAAMkAAAAAAAMAyQAAAAAAAQDRAzczMzMwMNkAzMzMzM7M3QAAAAAAA4GhAcA9s9K5IPUCNLXOmo64WQAAAAAAAADJAAAAAAAAAOUBmZmZmZmY8QJqZmZmZeUBAzczMzMxMR0AAAAAAAAAIQN3d3d3dXTtA5YbVF9d0IEDNzMzMzEw0QJqZmZmZ2TZAZmZmZmZmOUBmZmZmZuY+QDMzMzMzM0JAAAAAAADAVEDqW7XmNvkzQC1ESn9moQ5AAAAAAAAALkAAAAAAAAAyQAAAAAAAADNAAAAAAAAANUAAAAAAAABDQAAAAAAAwFlAYMB/VRztLUC0cW7BtbAGQAAAAAAAACJAAAAAAAAAKkAAAAAAAAAsQAAAAAAAADBAmpmZmZmZOkA=","dtype":"float64","shape":[40]},"origin":{"__ndarray__":"AAAAAAAAEEAAAAAAAAAIQAAAAAAAAAAAAAAAAAAACEAAAAAAAAAIQAAAAAAAAAhAAAAAAAAACEAAAAAAAAAIQAAAAAAA4GhAAAAAAAAAAECo00pJEbfqPwAAAAAAAPA/AAAAAAAA8D8AAAAAAAAAQAAAAAAAAAhAAAAAAAAACEAAAAAAAAAIQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAEAAAAAAAAAAQAAAAAAAAABAA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SQAAAAAAAAFNAAAAAAABAVEA=","dtype":"float64","shape":[40]}}},"id":"409f96a4-bb2c-4e15-8895-667b387c3694","type":"ColumnDataSource"},{"attributes":{"data_source":{"id":"409f96a4-bb2c-4e15-8895-667b387c3694","type":"ColumnDataSource"},"glyph":{"id":"4056c2e7-4f2b-4e6e-885c-2c3e6eb89103","type":"VBar"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"15e1a33e-c877-41b9-b4b7-1fe13055009c","type":"VBar"},"selection_glyph":null,"view":{"id":"f5b9fdfa-6f30-4d5a-88fb-b1f95fa8b65c","type":"CDSView"}},"id":"a8815a7b-bc85-4714-8968-fcbb949b08f5","type":"GlyphRenderer"},{"attributes":{"callback":null,"start":0},"id":"5c460b82-72b6-423f-a110-8134ef223bea","type":"DataRange1d"},{"attributes":{},"id":"7286d094-4555-40ab-8eff-8332496e2e45","type":"BasicTickFormatter"},{"attributes":{"callback":null,"factors":["3","4","5","6","8"]},"id":"2cbb8c6b-46fa-4f6e-afb4-fa357f511dd1","type":"FactorRange"},{"attributes":{"plot":null,"text":"MPG by # Cylinders"},"id":"b49fd95d-633f-4bf7-8ed2-135f7708279c","type":"Title"},{"attributes":{},"id":"e3826f09-4b44-41ed-821c-a468927196d5","type":"CategoricalScale"},{"attributes":{"below":[{"id":"7088c4c3-2030-4c42-9414-185243f7d237","type":"CategoricalAxis"}],"left":[{"id":"5806439c-92a0-4c6b-8fe4-bac057701c12","type":"LinearAxis"}],"outline_line_color":{"value":null},"plot_height":350,"renderers":[{"id":"7088c4c3-2030-4c42-9414-185243f7d237","type":"CategoricalAxis"},{"id":"5856a903-bc4b-43f5-a483-d38a8e30a924","type":"Grid"},{"id":"5806439c-92a0-4c6b-8fe4-bac057701c12","type":"LinearAxis"},{"id":"fc9a9773-760c-4970-8d95-c4707d3966b4","type":"Grid"},{"id":"a8815a7b-bc85-4714-8968-fcbb949b08f5","type":"GlyphRenderer"}],"title":{"id":"b49fd95d-633f-4bf7-8ed2-135f7708279c","type":"Title"},"toolbar":{"id":"38da21c8-b71b-4700-9e03-d395354af2eb","type":"Toolbar"},"toolbar_location":null,"x_range":{"id":"2cbb8c6b-46fa-4f6e-afb4-fa357f511dd1","type":"FactorRange"},"x_scale":{"id":"e3826f09-4b44-41ed-821c-a468927196d5","type":"CategoricalScale"},"y_range":{"id":"5c460b82-72b6-423f-a110-8134ef223bea","type":"DataRange1d"},"y_scale":{"id":"6268a43d-c2ed-41a7-bea8-6694ea13783d","type":"LinearScale"}},"id":"92badd94-fdfe-42f3-aa8a-9a36ad0e05c4","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"6268a43d-c2ed-41a7-bea8-6694ea13783d","type":"LinearScale"},{"attributes":{"fill_color":{"field":"cyl","transform":{"id":"9949cea9-5f1b-4ef3-9548-6e53cbc4f8bd","type":"CategoricalColorMapper"}},"line_color":{"field":"cyl","transform":{"id":"9949cea9-5f1b-4ef3-9548-6e53cbc4f8bd","type":"CategoricalColorMapper"}},"top":{"field":"mpg_mean"},"width":{"value":1},"x":{"field":"cyl"}},"id":"4056c2e7-4f2b-4e6e-885c-2c3e6eb89103","type":"VBar"},{"attributes":{"dimension":1,"plot":{"id":"92badd94-fdfe-42f3-aa8a-9a36ad0e05c4","subtype":"Figure","type":"Plot"},"ticker":{"id":"d7633859-3214-4fe1-bbef-f7934d5c051f","type":"BasicTicker"}},"id":"fc9a9773-760c-4970-8d95-c4707d3966b4","type":"Grid"},{"attributes":{},"id":"d5bfecd4-cccd-4096-b307-9930e39ce59e","type":"CategoricalTicker"},{"attributes":{"factors":["3","4","5","6","8"],"palette":["#2b83ba","#abdda4","#ffffbf","#fdae61","#d7191c"]},"id":"9949cea9-5f1b-4ef3-9548-6e53cbc4f8bd","type":"CategoricalColorMapper"},{"attributes":{},"id":"c46e12ff-8053-4de1-9e4b-f956e44f127b","type":"CategoricalTickFormatter"},{"attributes":{"axis_label":"some stuff","formatter":{"id":"c46e12ff-8053-4de1-9e4b-f956e44f127b","type":"CategoricalTickFormatter"},"major_label_orientation":1.2,"plot":{"id":"92badd94-fdfe-42f3-aa8a-9a36ad0e05c4","subtype":"Figure","type":"Plot"},"ticker":{"id":"d5bfecd4-cccd-4096-b307-9930e39ce59e","type":"CategoricalTicker"}},"id":"7088c4c3-2030-4c42-9414-185243f7d237","type":"CategoricalAxis"},{"attributes":{"source":{"id":"409f96a4-bb2c-4e15-8895-667b387c3694","type":"ColumnDataSource"}},"id":"f5b9fdfa-6f30-4d5a-88fb-b1f95fa8b65c","type":"CDSView"},{"attributes":{},"id":"d7633859-3214-4fe1-bbef-f7934d5c051f","type":"BasicTicker"}],"root_ids":["92badd94-fdfe-42f3-aa8a-9a36ad0e05c4"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"70936737-3c44-4093-b58d-9961e7ec7bc7","elementid":"7bb0ed8b-8466-464d-954d-4398c2e4eb40","modelid":"92badd94-fdfe-42f3-aa8a-9a36ad0e05c4"}];
                
                    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);
})();
