(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("c75f769a-4edb-47c3-8826-91fcb2b29f2a");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid 'c75f769a-4edb-47c3-8826-91fcb2b29f2a' 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 = {"9cc766fb-3aab-424e-9ad0-0e99ba9206f6":{"roots":{"references":[{"attributes":{},"id":"f4ebc922-1b1b-4e32-9a89-847d12af9ed3","type":"LinearScale"},{"attributes":{},"id":"6516d795-aaa1-455b-b3c4-86a21efddfed","type":"CategoricalTickFormatter"},{"attributes":{"data_source":{"id":"4872290c-d3f6-4bfa-adda-fa055e1508ef","type":"ColumnDataSource"},"glyph":{"id":"11566a4a-de00-43a6-b097-bf3c6af11b1b","type":"VBar"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"fcbfda25-1ae2-40f7-8bf0-80bef15336ab","type":"VBar"},"selection_glyph":null,"view":{"id":"b58f6619-5e67-4e40-ae4d-44a7a2881a59","type":"CDSView"}},"id":"e154c030-d77e-4c89-b558-d2dbe5ad37a8","type":"GlyphRenderer"},{"attributes":{"callback":null,"factors":["3","4","5","6","8"]},"id":"aacb4173-25c8-49f6-9aa7-93ad9687658e","type":"FactorRange"},{"attributes":{},"id":"3a857d4b-b078-4689-af56-c8e1a59233e4","type":"BasicTicker"},{"attributes":{"axis_label":"some stuff","formatter":{"id":"6516d795-aaa1-455b-b3c4-86a21efddfed","type":"CategoricalTickFormatter"},"major_label_orientation":1.2,"plot":{"id":"229ef3cf-4eab-465d-a4fb-0d5cb1df8e3b","subtype":"Figure","type":"Plot"},"ticker":{"id":"f154ed77-f06a-4ef4-9a3a-31c252ecf169","type":"CategoricalTicker"}},"id":"fa25a31f-4973-4bff-8c41-a0f9ae0695fc","type":"CategoricalAxis"},{"attributes":{"grid_line_color":{"value":null},"plot":{"id":"229ef3cf-4eab-465d-a4fb-0d5cb1df8e3b","subtype":"Figure","type":"Plot"},"ticker":{"id":"f154ed77-f06a-4ef4-9a3a-31c252ecf169","type":"CategoricalTicker"}},"id":"c7fe996d-454a-4b40-846f-19203a1d1176","type":"Grid"},{"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":"4872290c-d3f6-4bfa-adda-fa055e1508ef","type":"ColumnDataSource"},{"attributes":{"below":[{"id":"fa25a31f-4973-4bff-8c41-a0f9ae0695fc","type":"CategoricalAxis"}],"left":[{"id":"f06bd56f-d1fd-41e5-8b06-72a88614ebac","type":"LinearAxis"}],"outline_line_color":{"value":null},"plot_height":350,"renderers":[{"id":"fa25a31f-4973-4bff-8c41-a0f9ae0695fc","type":"CategoricalAxis"},{"id":"c7fe996d-454a-4b40-846f-19203a1d1176","type":"Grid"},{"id":"f06bd56f-d1fd-41e5-8b06-72a88614ebac","type":"LinearAxis"},{"id":"b24ecaff-0faa-4c09-a7be-818fb7fa3546","type":"Grid"},{"id":"e154c030-d77e-4c89-b558-d2dbe5ad37a8","type":"GlyphRenderer"}],"title":{"id":"debee3ec-9733-4cec-9df1-f7748235e0b9","type":"Title"},"toolbar":{"id":"3bdc3a1e-580a-4cf0-9396-d0c22cb352b8","type":"Toolbar"},"toolbar_location":null,"x_range":{"id":"aacb4173-25c8-49f6-9aa7-93ad9687658e","type":"FactorRange"},"x_scale":{"id":"039519e0-1965-45fb-9b39-fd6e94f74c2c","type":"CategoricalScale"},"y_range":{"id":"04acf0c2-8976-4b81-acbe-0a3cf7e44865","type":"DataRange1d"},"y_scale":{"id":"f4ebc922-1b1b-4e32-9a89-847d12af9ed3","type":"LinearScale"}},"id":"229ef3cf-4eab-465d-a4fb-0d5cb1df8e3b","subtype":"Figure","type":"Plot"},{"attributes":{"plot":null,"text":"MPG by # Cylinders"},"id":"debee3ec-9733-4cec-9df1-f7748235e0b9","type":"Title"},{"attributes":{},"id":"6116593c-43a5-4633-9a51-1d1c090a5381","type":"BasicTickFormatter"},{"attributes":{"source":{"id":"4872290c-d3f6-4bfa-adda-fa055e1508ef","type":"ColumnDataSource"}},"id":"b58f6619-5e67-4e40-ae4d-44a7a2881a59","type":"CDSView"},{"attributes":{"factors":["3","4","5","6","8"],"palette":["#2b83ba","#abdda4","#ffffbf","#fdae61","#d7191c"]},"id":"94bf0b73-4217-46c2-a1c4-f279aa945c05","type":"CategoricalColorMapper"},{"attributes":{},"id":"039519e0-1965-45fb-9b39-fd6e94f74c2c","type":"CategoricalScale"},{"attributes":{"formatter":{"id":"6116593c-43a5-4633-9a51-1d1c090a5381","type":"BasicTickFormatter"},"plot":{"id":"229ef3cf-4eab-465d-a4fb-0d5cb1df8e3b","subtype":"Figure","type":"Plot"},"ticker":{"id":"3a857d4b-b078-4689-af56-c8e1a59233e4","type":"BasicTicker"}},"id":"f06bd56f-d1fd-41e5-8b06-72a88614ebac","type":"LinearAxis"},{"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":"fcbfda25-1ae2-40f7-8bf0-80bef15336ab","type":"VBar"},{"attributes":{"fill_color":{"field":"cyl","transform":{"id":"94bf0b73-4217-46c2-a1c4-f279aa945c05","type":"CategoricalColorMapper"}},"line_color":{"field":"cyl","transform":{"id":"94bf0b73-4217-46c2-a1c4-f279aa945c05","type":"CategoricalColorMapper"}},"top":{"field":"mpg_mean"},"width":{"value":1},"x":{"field":"cyl"}},"id":"11566a4a-de00-43a6-b097-bf3c6af11b1b","type":"VBar"},{"attributes":{},"id":"f154ed77-f06a-4ef4-9a3a-31c252ecf169","type":"CategoricalTicker"},{"attributes":{"callback":null,"start":0},"id":"04acf0c2-8976-4b81-acbe-0a3cf7e44865","type":"DataRange1d"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto"},"id":"3bdc3a1e-580a-4cf0-9396-d0c22cb352b8","type":"Toolbar"},{"attributes":{"dimension":1,"plot":{"id":"229ef3cf-4eab-465d-a4fb-0d5cb1df8e3b","subtype":"Figure","type":"Plot"},"ticker":{"id":"3a857d4b-b078-4689-af56-c8e1a59233e4","type":"BasicTicker"}},"id":"b24ecaff-0faa-4c09-a7be-818fb7fa3546","type":"Grid"}],"root_ids":["229ef3cf-4eab-465d-a4fb-0d5cb1df8e3b"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"9cc766fb-3aab-424e-9ad0-0e99ba9206f6","elementid":"c75f769a-4edb-47c3-8826-91fcb2b29f2a","modelid":"229ef3cf-4eab-465d-a4fb-0d5cb1df8e3b"}];
                
                    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);
})();
