(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("004d70f3-0345-4a3e-b503-5509c4ba3d58");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid '004d70f3-0345-4a3e-b503-5509c4ba3d58' 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 = {"b8b6142f-9a83-4562-94e8-74e01e094efd":{"roots":{"references":[{"attributes":{},"id":"94f0ddda-38c7-4ebc-8fb9-5967c084ed8f","type":"CategoricalTickFormatter"},{"attributes":{},"id":"b1cf6918-ff2a-4ea9-9f76-cfc2c2bc2662","type":"LinearScale"},{"attributes":{},"id":"c7bc66ff-dfe0-4030-a92d-0b7728e4cb9c","type":"CategoricalTicker"},{"attributes":{},"id":"2377e5f9-3060-485b-b3f2-48fed5e95469","type":"BasicTickFormatter"},{"attributes":{"data_source":{"id":"f1f102df-9f3b-4704-beed-62a7682dc570","type":"ColumnDataSource"},"glyph":{"id":"da101352-b6fc-4c97-96ea-202642d7c824","type":"VBar"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1572068a-6002-471e-b044-f40d71b84573","type":"VBar"},"selection_glyph":null,"view":{"id":"178f41e8-a6d0-4ee4-84f0-413e0d202fd5","type":"CDSView"}},"id":"e27e095c-3864-472b-a117-200c74acc6c9","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":"f1f102df-9f3b-4704-beed-62a7682dc570","type":"ColumnDataSource"},{"attributes":{"dimension":1,"plot":{"id":"b161eb5e-12c4-44e1-828d-15bbc6d06339","subtype":"Figure","type":"Plot"},"ticker":{"id":"0f87cdc5-1258-4d28-b833-d818b25a76f1","type":"BasicTicker"}},"id":"9d009701-6173-4a9a-a0e5-dd0282df897e","type":"Grid"},{"attributes":{"formatter":{"id":"2377e5f9-3060-485b-b3f2-48fed5e95469","type":"BasicTickFormatter"},"plot":{"id":"b161eb5e-12c4-44e1-828d-15bbc6d06339","subtype":"Figure","type":"Plot"},"ticker":{"id":"0f87cdc5-1258-4d28-b833-d818b25a76f1","type":"BasicTicker"}},"id":"7599d85e-9d62-405a-82f3-c0a0e245957c","type":"LinearAxis"},{"attributes":{"source":{"id":"f1f102df-9f3b-4704-beed-62a7682dc570","type":"ColumnDataSource"}},"id":"178f41e8-a6d0-4ee4-84f0-413e0d202fd5","type":"CDSView"},{"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":"1572068a-6002-471e-b044-f40d71b84573","type":"VBar"},{"attributes":{"axis_label":"some stuff","formatter":{"id":"94f0ddda-38c7-4ebc-8fb9-5967c084ed8f","type":"CategoricalTickFormatter"},"major_label_orientation":1.2,"plot":{"id":"b161eb5e-12c4-44e1-828d-15bbc6d06339","subtype":"Figure","type":"Plot"},"ticker":{"id":"c7bc66ff-dfe0-4030-a92d-0b7728e4cb9c","type":"CategoricalTicker"}},"id":"45cef763-64a8-4262-8c6e-a39bebd93866","type":"CategoricalAxis"},{"attributes":{"plot":null,"text":"MPG by # Cylinders"},"id":"37ccbb98-bee8-45a9-8b91-e274b2890117","type":"Title"},{"attributes":{"below":[{"id":"45cef763-64a8-4262-8c6e-a39bebd93866","type":"CategoricalAxis"}],"left":[{"id":"7599d85e-9d62-405a-82f3-c0a0e245957c","type":"LinearAxis"}],"outline_line_color":{"value":null},"plot_height":350,"renderers":[{"id":"45cef763-64a8-4262-8c6e-a39bebd93866","type":"CategoricalAxis"},{"id":"9d36d22d-58fd-485f-982f-5051290245c7","type":"Grid"},{"id":"7599d85e-9d62-405a-82f3-c0a0e245957c","type":"LinearAxis"},{"id":"9d009701-6173-4a9a-a0e5-dd0282df897e","type":"Grid"},{"id":"e27e095c-3864-472b-a117-200c74acc6c9","type":"GlyphRenderer"}],"title":{"id":"37ccbb98-bee8-45a9-8b91-e274b2890117","type":"Title"},"toolbar":{"id":"57ecb209-89d9-4676-950a-ae89d7d886cd","type":"Toolbar"},"toolbar_location":null,"x_range":{"id":"3c9b8329-c926-46c2-8781-49008249e350","type":"FactorRange"},"x_scale":{"id":"a7750ef0-7023-4e69-a431-c3e3f344e91f","type":"CategoricalScale"},"y_range":{"id":"6ca5f931-4b1b-4e6b-a2a6-b10f4dc7dccc","type":"DataRange1d"},"y_scale":{"id":"b1cf6918-ff2a-4ea9-9f76-cfc2c2bc2662","type":"LinearScale"}},"id":"b161eb5e-12c4-44e1-828d-15bbc6d06339","subtype":"Figure","type":"Plot"},{"attributes":{"grid_line_color":{"value":null},"plot":{"id":"b161eb5e-12c4-44e1-828d-15bbc6d06339","subtype":"Figure","type":"Plot"},"ticker":{"id":"c7bc66ff-dfe0-4030-a92d-0b7728e4cb9c","type":"CategoricalTicker"}},"id":"9d36d22d-58fd-485f-982f-5051290245c7","type":"Grid"},{"attributes":{"callback":null,"factors":["3","4","5","6","8"]},"id":"3c9b8329-c926-46c2-8781-49008249e350","type":"FactorRange"},{"attributes":{"callback":null,"start":0},"id":"6ca5f931-4b1b-4e6b-a2a6-b10f4dc7dccc","type":"DataRange1d"},{"attributes":{},"id":"a7750ef0-7023-4e69-a431-c3e3f344e91f","type":"CategoricalScale"},{"attributes":{"fill_color":{"field":"cyl","transform":{"id":"1186184a-d676-47b7-810d-3c9ad03dedc4","type":"CategoricalColorMapper"}},"line_color":{"field":"cyl","transform":{"id":"1186184a-d676-47b7-810d-3c9ad03dedc4","type":"CategoricalColorMapper"}},"top":{"field":"mpg_mean"},"width":{"value":1},"x":{"field":"cyl"}},"id":"da101352-b6fc-4c97-96ea-202642d7c824","type":"VBar"},{"attributes":{"factors":["3","4","5","6","8"],"palette":["#2b83ba","#abdda4","#ffffbf","#fdae61","#d7191c"]},"id":"1186184a-d676-47b7-810d-3c9ad03dedc4","type":"CategoricalColorMapper"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto"},"id":"57ecb209-89d9-4676-950a-ae89d7d886cd","type":"Toolbar"},{"attributes":{},"id":"0f87cdc5-1258-4d28-b833-d818b25a76f1","type":"BasicTicker"}],"root_ids":["b161eb5e-12c4-44e1-828d-15bbc6d06339"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"b8b6142f-9a83-4562-94e8-74e01e094efd","elementid":"004d70f3-0345-4a3e-b503-5509c4ba3d58","modelid":"b161eb5e-12c4-44e1-828d-15bbc6d06339"}];
                
                    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);
})();
