(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("819086cb-efa8-476e-a28d-c85935abb43a");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid '819086cb-efa8-476e-a28d-c85935abb43a' 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 = {"a329c621-a448-44d5-9c40-f92e9e87a21d":{"roots":{"references":[{"attributes":{},"id":"01d7e3fb-9b70-4020-a11a-bfde049cd0b7","type":"CategoricalScale"},{"attributes":{"callback":null,"factors":["3","4","5","6","8"]},"id":"7662d1b9-42c3-46c6-8710-d4160e050685","type":"FactorRange"},{"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":"da7e4eeb-f461-44f4-adc5-8fbf7e70c0b2","type":"VBar"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto"},"id":"54560276-f001-4a3e-bb20-f671eb835a1f","type":"Toolbar"},{"attributes":{"axis_label":"some stuff","formatter":{"id":"0b0aa038-85e1-4246-89b8-2a038119debd","type":"CategoricalTickFormatter"},"major_label_orientation":1.2,"plot":{"id":"280f8fb5-eff0-41e3-9eed-c2723caef6df","subtype":"Figure","type":"Plot"},"ticker":{"id":"8f148ba1-dd8a-4d17-9589-c689726dfe0b","type":"CategoricalTicker"}},"id":"920c52e3-5f37-4267-bec5-17e382b706e1","type":"CategoricalAxis"},{"attributes":{"callback":null,"start":0},"id":"99f0427e-2b71-4503-9e4c-b7e9d04dfacf","type":"DataRange1d"},{"attributes":{"formatter":{"id":"cb575a33-a7c8-4102-aba5-7709190d4f41","type":"BasicTickFormatter"},"plot":{"id":"280f8fb5-eff0-41e3-9eed-c2723caef6df","subtype":"Figure","type":"Plot"},"ticker":{"id":"2b30beaf-0f02-4d51-be28-979521037c33","type":"BasicTicker"}},"id":"4faab781-105c-4d43-b2d0-88fb09e79a41","type":"LinearAxis"},{"attributes":{"fill_color":{"field":"cyl","transform":{"id":"8d4ddcf6-b081-4dd3-934c-f2993f18b9b9","type":"CategoricalColorMapper"}},"line_color":{"field":"cyl","transform":{"id":"8d4ddcf6-b081-4dd3-934c-f2993f18b9b9","type":"CategoricalColorMapper"}},"top":{"field":"mpg_mean"},"width":{"value":1},"x":{"field":"cyl"}},"id":"e4f18aa2-71c0-4731-b1f9-65c8d8c5d283","type":"VBar"},{"attributes":{},"id":"4d9102d8-5629-4550-91b9-79a784bee2ef","type":"LinearScale"},{"attributes":{},"id":"8f148ba1-dd8a-4d17-9589-c689726dfe0b","type":"CategoricalTicker"},{"attributes":{"dimension":1,"plot":{"id":"280f8fb5-eff0-41e3-9eed-c2723caef6df","subtype":"Figure","type":"Plot"},"ticker":{"id":"2b30beaf-0f02-4d51-be28-979521037c33","type":"BasicTicker"}},"id":"672516e1-ba8d-4aee-894b-84c74232e724","type":"Grid"},{"attributes":{},"id":"cb575a33-a7c8-4102-aba5-7709190d4f41","type":"BasicTickFormatter"},{"attributes":{"factors":["3","4","5","6","8"],"palette":["#2b83ba","#abdda4","#ffffbf","#fdae61","#d7191c"]},"id":"8d4ddcf6-b081-4dd3-934c-f2993f18b9b9","type":"CategoricalColorMapper"},{"attributes":{},"id":"2b30beaf-0f02-4d51-be28-979521037c33","type":"BasicTicker"},{"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":"90d22920-e220-4330-ad22-e8006632e387","type":"ColumnDataSource"},{"attributes":{"plot":null,"text":"MPG by # Cylinders"},"id":"72b648ce-82c0-47bc-ab1d-8e2d5935b4e1","type":"Title"},{"attributes":{"below":[{"id":"920c52e3-5f37-4267-bec5-17e382b706e1","type":"CategoricalAxis"}],"left":[{"id":"4faab781-105c-4d43-b2d0-88fb09e79a41","type":"LinearAxis"}],"outline_line_color":{"value":null},"plot_height":350,"renderers":[{"id":"920c52e3-5f37-4267-bec5-17e382b706e1","type":"CategoricalAxis"},{"id":"db031f24-a258-4b4c-bb5b-9442528b1d71","type":"Grid"},{"id":"4faab781-105c-4d43-b2d0-88fb09e79a41","type":"LinearAxis"},{"id":"672516e1-ba8d-4aee-894b-84c74232e724","type":"Grid"},{"id":"e242298f-82a3-4c57-8f18-4fe2df7da3d4","type":"GlyphRenderer"}],"title":{"id":"72b648ce-82c0-47bc-ab1d-8e2d5935b4e1","type":"Title"},"toolbar":{"id":"54560276-f001-4a3e-bb20-f671eb835a1f","type":"Toolbar"},"toolbar_location":null,"x_range":{"id":"7662d1b9-42c3-46c6-8710-d4160e050685","type":"FactorRange"},"x_scale":{"id":"01d7e3fb-9b70-4020-a11a-bfde049cd0b7","type":"CategoricalScale"},"y_range":{"id":"99f0427e-2b71-4503-9e4c-b7e9d04dfacf","type":"DataRange1d"},"y_scale":{"id":"4d9102d8-5629-4550-91b9-79a784bee2ef","type":"LinearScale"}},"id":"280f8fb5-eff0-41e3-9eed-c2723caef6df","subtype":"Figure","type":"Plot"},{"attributes":{"source":{"id":"90d22920-e220-4330-ad22-e8006632e387","type":"ColumnDataSource"}},"id":"af68fe18-ff83-44c2-b332-7935765da85a","type":"CDSView"},{"attributes":{"grid_line_color":{"value":null},"plot":{"id":"280f8fb5-eff0-41e3-9eed-c2723caef6df","subtype":"Figure","type":"Plot"},"ticker":{"id":"8f148ba1-dd8a-4d17-9589-c689726dfe0b","type":"CategoricalTicker"}},"id":"db031f24-a258-4b4c-bb5b-9442528b1d71","type":"Grid"},{"attributes":{"data_source":{"id":"90d22920-e220-4330-ad22-e8006632e387","type":"ColumnDataSource"},"glyph":{"id":"e4f18aa2-71c0-4731-b1f9-65c8d8c5d283","type":"VBar"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"da7e4eeb-f461-44f4-adc5-8fbf7e70c0b2","type":"VBar"},"selection_glyph":null,"view":{"id":"af68fe18-ff83-44c2-b332-7935765da85a","type":"CDSView"}},"id":"e242298f-82a3-4c57-8f18-4fe2df7da3d4","type":"GlyphRenderer"},{"attributes":{},"id":"0b0aa038-85e1-4246-89b8-2a038119debd","type":"CategoricalTickFormatter"}],"root_ids":["280f8fb5-eff0-41e3-9eed-c2723caef6df"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"a329c621-a448-44d5-9c40-f92e9e87a21d","elementid":"819086cb-efa8-476e-a28d-c85935abb43a","modelid":"280f8fb5-eff0-41e3-9eed-c2723caef6df"}];
                
                    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);
})();
