(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("33729804-3365-47a7-9a1a-1dec9b449693");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid '33729804-3365-47a7-9a1a-1dec9b449693' 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 = {"38f8a342-ef73-4fd5-a490-05d5725ab386":{"roots":{"references":[{"attributes":{"factors":["3","4","5","6","8"],"palette":["#2b83ba","#abdda4","#ffffbf","#fdae61","#d7191c"]},"id":"1430f6b6-0e4c-4b67-ae25-b6620ccf3197","type":"CategoricalColorMapper"},{"attributes":{},"id":"edab4c13-18e4-4e5e-bc1e-e9d6db08979b","type":"BasicTicker"},{"attributes":{"data_source":{"id":"b163236f-7956-447c-87c1-84725102a9ba","type":"ColumnDataSource"},"glyph":{"id":"13a2d7bc-6d1c-4528-a7e8-c11c1746fb52","type":"VBar"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"0b3ae0ed-689c-476e-b630-30281390b516","type":"VBar"},"selection_glyph":null,"view":{"id":"ac80723a-f2f5-42af-954f-8e1718ff568d","type":"CDSView"}},"id":"cedd53fd-d96e-432d-bd2d-baf2cab78246","type":"GlyphRenderer"},{"attributes":{"callback":null,"column_names":["origin","mpg","displ","weight","index","hp","accel","yr"],"data":{"accel":{"__ndarray__":"AAAAAAAAEEAAAAAAAIAqQAAAAAAAAOA/AAAAAAAAKUAAAAAAAIAqQAAAAAAAACtAAAAAAAAAK0AAAAAAAAArQAAAAAAA4GhAkcQsBviUMECb1TA5wxADQDMzMzMzMydAmpmZmZmZLUAzMzMzMzMwQAAAAAAAADJAzczMzMzMOEAAAAAAAAAIQCIiIiIiojJA7WOs/Tf0AkDNzMzMzMwvQGZmZmZm5jFAZmZmZmbmM0AAAAAAAAA0QJqZmZmZGTRAAAAAAADAVEDt30tbFEEwQNErTOAUQQBAmpmZmZmZJkCamZmZmRkuQAAAAAAAADBAmpmZmZmZMUAAAAAAAAA1QAAAAAAAwFlAPiyNTCLpKUD/ZpysTswBQAAAAAAAACBAAAAAAAAAJ0AAAAAAAAAqQAAAAAAAACxAMzMzMzMzNkA=","dtype":"float64","shape":[40]},"displ":{"__ndarray__":"AAAAAAAAEEAAAAAAACBSQAAAAAAAABRAAAAAAACAUUAAAAAAAIBRQAAAAAAAgFFAAAAAAAAgUkAAAAAAAABUQAAAAAAA4GhA//bARu9qW0C8furRdmA1QAAAAAAAAFFAAAAAAADAVkAAAAAAAEBaQAAAAAAAQF5AAAAAAACAY0AAAAAAAAAIQAAAAAAAIGJAuZPha7CkQEAAAAAAAEBeQAAAAAAAgF9AAAAAAABgYEAAAAAAAKBjQAAAAAAA4GZAAAAAAADAVECaOr/2kEtrQE+AbwGwNkBAAAAAAAAgYkAAAAAAAPBoQAAAAAAA4GxAAAAAAABAb0AAAAAAAGBwQAAAAAAAwFlAyXlZxCeQdUDXs8ZGYGNHQAAAAAAAQHBAAAAAAAAQc0AAAAAAAOB1QAAAAAAAgHZAAAAAAABwfEA=","dtype":"float64","shape":[40]},"hp":{"__ndarray__":"AAAAAAAAEEAAAAAAANBYQLEyFiNsmiBAAAAAAACAVkAAAAAAANBXQAAAAAAAoFhAAAAAAACgWUAAAAAAAIBbQAAAAAAA4GhAdjynkgKSU0CGr0Go0wstQAAAAAAAAEdAAAAAAAAAUUAAAAAAAIBTQAAAAAAAAFZAAAAAAADAXEAAAAAAAAAIQFVVVVVVlVRAMqyPFkmVMkAAAAAAAMBQQAAAAAAAAFJAAAAAAABAU0AAAAAAAIBWQAAAAAAAwFlAAAAAAADAVECwPeSyYmBZQMWQMCL2nixAAAAAAAAAUkAAAAAAACBXQAAAAAAAAFlAAAAAAACAW0AAAAAAAKBkQAAAAAAAwFlAwn6rjaHJY0BQwZb3G3Q8QAAAAAAAgFZAAAAAAACAYUAAAAAAAMBiQAAAAAAA4GVAAAAAAADAbEA=","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/AAAAAAAA8D8AAAAAAAAAQAAAAAAAAAhAAAAAAAAACEAAAAAAAAAIQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAEAAAAAAAAAAQAAAAAAAAABAAAAAAADAVEB1fu0hlxXzPz0vVaWjo+E/AAAAAAAA8D8AAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8AAAAAAAAIQAAAAAAAwFlAAAAAAAAA8D8AAAAAAAAAAAAAAAAAAPA/AAAAAAAA8D8AAAAAAADwPwAAAAAAAPA/AAAAAAAA8D8=","dtype":"float64","shape":[40]},"weight":{"__ndarray__":"AAAAAAAAEEAAAAAAAL2iQLnYbOwd8m5AAAAAAACYoEAAAAAAAM2hQAAAAAAAjqJAAAAAAAB+o0AAAAAAAEClQAAAAAAA4GhALDJfmjgCokC6+VSg9G11QAAAAAAANJlAAAAAAAD+n0AAAAAAAGyhQAAAAAAABaRAAAAAAACMqUAAAAAAAAAIQKuqqqqqPqhAD2lJfoBld0AAAAAAABymQAAAAAAAlKZAAAAAAAAMp0AAAAAAAFCpQAAAAAAAlKtAAAAAAADAVECOps6vPQSpQHZnjYIixnRAAAAAAABQo0AAAAAAAAKnQAAAAAAAFKlAAAAAAADOqkAAAAAAAIauQAAAAAAAwFlAQ9Md7LcSsEC+UR6eVA18QAAAAAAAHKhAAAAAAACurUAAAAAAACywQAAAAACAM7FAAAAAAAAUtEA=","dtype":"float64","shape":[40]},"yr":{"__ndarray__":"AAAAAAAAEEAAAAAAAOBSQKdTELwjkw1AAAAAAAAAUkAAAAAAADBSQAAAAAAAwFJAAAAAAABwU0AAAAAAAABUQAAAAAAA4GhAxFht/e1BU0Ad5PLGXeYNQAAAAAAAgFFAAAAAAACAUkAAAAAAAEBTQAAAAAAAAFRAAAAAAACAVEAAAAAAAAAIQAAAAAAAwFNAAAAAAAAA8D8AAAAAAIBTQAAAAAAAoFNAAAAAAADAU0AAAAAAAOBTQAAAAAAAAFRAAAAAAADAVECCEt5o6vxSQKdDmPpzHQpAAAAAAACAUUAAAAAAAIBSQAAAAAAAAFNAAAAAAACAU0AAAAAAAIBUQAAAAAAAwFlAi/gEUsl5UkAEv1x2cisIQAAAAAAAgFFAAAAAAAAAUkAAAAAAAEBSQAAAAAAAAFNAAAAAAABAVEA=","dtype":"float64","shape":[40]}}},"id":"b163236f-7956-447c-87c1-84725102a9ba","type":"ColumnDataSource"},{"attributes":{"callback":null,"start":0},"id":"0caf54cc-5758-4068-9a7a-301b2d8cdd04","type":"DataRange1d"},{"attributes":{"fill_color":{"field":"cyl","transform":{"id":"1430f6b6-0e4c-4b67-ae25-b6620ccf3197","type":"CategoricalColorMapper"}},"line_color":{"field":"cyl","transform":{"id":"1430f6b6-0e4c-4b67-ae25-b6620ccf3197","type":"CategoricalColorMapper"}},"top":{"field":"mpg_mean"},"width":{"value":1},"x":{"field":"cyl"}},"id":"13a2d7bc-6d1c-4528-a7e8-c11c1746fb52","type":"VBar"},{"attributes":{"formatter":{"id":"d7759370-62da-46c3-a1c2-f9939d7329fd","type":"BasicTickFormatter"},"plot":{"id":"6c45a3c3-d2d8-482b-afed-fe3b04703675","subtype":"Figure","type":"Plot"},"ticker":{"id":"edab4c13-18e4-4e5e-bc1e-e9d6db08979b","type":"BasicTicker"}},"id":"c2341c55-5a99-4478-983b-0e65603516ef","type":"LinearAxis"},{"attributes":{"grid_line_color":{"value":null},"plot":{"id":"6c45a3c3-d2d8-482b-afed-fe3b04703675","subtype":"Figure","type":"Plot"},"ticker":{"id":"73f53503-3c06-4840-b236-a6efa9d1d4ab","type":"CategoricalTicker"}},"id":"52cf0c27-bd56-4a22-bc18-799def5ba828","type":"Grid"},{"attributes":{"plot":null,"text":"MPG by # Cylinders"},"id":"07f0a1fd-f7d5-4534-b897-891638be9b03","type":"Title"},{"attributes":{},"id":"e7935865-32b1-4ed4-8f3b-425ee6f813cc","type":"CategoricalScale"},{"attributes":{"callback":null,"factors":["3","4","5","6","8"]},"id":"45cee48b-7462-40ae-8d5b-b46be65db758","type":"FactorRange"},{"attributes":{},"id":"73f53503-3c06-4840-b236-a6efa9d1d4ab","type":"CategoricalTicker"},{"attributes":{"dimension":1,"plot":{"id":"6c45a3c3-d2d8-482b-afed-fe3b04703675","subtype":"Figure","type":"Plot"},"ticker":{"id":"edab4c13-18e4-4e5e-bc1e-e9d6db08979b","type":"BasicTicker"}},"id":"aa993f53-25b9-4518-8ee0-448337260fc2","type":"Grid"},{"attributes":{},"id":"d6247bf5-ac27-4157-b956-54a099095808","type":"LinearScale"},{"attributes":{},"id":"74068629-c1cf-4162-a288-647044c2c003","type":"CategoricalTickFormatter"},{"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":"0b3ae0ed-689c-476e-b630-30281390b516","type":"VBar"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto"},"id":"45b18487-416a-4753-a572-d97391f436a8","type":"Toolbar"},{"attributes":{"below":[{"id":"06479143-fccb-4467-8ad2-a89f26f68532","type":"CategoricalAxis"}],"left":[{"id":"c2341c55-5a99-4478-983b-0e65603516ef","type":"LinearAxis"}],"outline_line_color":{"value":null},"plot_height":350,"renderers":[{"id":"06479143-fccb-4467-8ad2-a89f26f68532","type":"CategoricalAxis"},{"id":"52cf0c27-bd56-4a22-bc18-799def5ba828","type":"Grid"},{"id":"c2341c55-5a99-4478-983b-0e65603516ef","type":"LinearAxis"},{"id":"aa993f53-25b9-4518-8ee0-448337260fc2","type":"Grid"},{"id":"cedd53fd-d96e-432d-bd2d-baf2cab78246","type":"GlyphRenderer"}],"title":{"id":"07f0a1fd-f7d5-4534-b897-891638be9b03","type":"Title"},"toolbar":{"id":"45b18487-416a-4753-a572-d97391f436a8","type":"Toolbar"},"toolbar_location":null,"x_range":{"id":"45cee48b-7462-40ae-8d5b-b46be65db758","type":"FactorRange"},"x_scale":{"id":"e7935865-32b1-4ed4-8f3b-425ee6f813cc","type":"CategoricalScale"},"y_range":{"id":"0caf54cc-5758-4068-9a7a-301b2d8cdd04","type":"DataRange1d"},"y_scale":{"id":"d6247bf5-ac27-4157-b956-54a099095808","type":"LinearScale"}},"id":"6c45a3c3-d2d8-482b-afed-fe3b04703675","subtype":"Figure","type":"Plot"},{"attributes":{"axis_label":"some stuff","formatter":{"id":"74068629-c1cf-4162-a288-647044c2c003","type":"CategoricalTickFormatter"},"major_label_orientation":1.2,"plot":{"id":"6c45a3c3-d2d8-482b-afed-fe3b04703675","subtype":"Figure","type":"Plot"},"ticker":{"id":"73f53503-3c06-4840-b236-a6efa9d1d4ab","type":"CategoricalTicker"}},"id":"06479143-fccb-4467-8ad2-a89f26f68532","type":"CategoricalAxis"},{"attributes":{},"id":"d7759370-62da-46c3-a1c2-f9939d7329fd","type":"BasicTickFormatter"},{"attributes":{"source":{"id":"b163236f-7956-447c-87c1-84725102a9ba","type":"ColumnDataSource"}},"id":"ac80723a-f2f5-42af-954f-8e1718ff568d","type":"CDSView"}],"root_ids":["6c45a3c3-d2d8-482b-afed-fe3b04703675"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"38f8a342-ef73-4fd5-a490-05d5725ab386","elementid":"33729804-3365-47a7-9a1a-1dec9b449693","modelid":"6c45a3c3-d2d8-482b-afed-fe3b04703675"}];
                
                    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);
})();
