(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("d84527b1-ca9f-4a0c-a93b-f8f9515a638c");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid 'd84527b1-ca9f-4a0c-a93b-f8f9515a638c' 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 = {"ac7264ae-72c4-4911-9951-2643d323fd0c":{"roots":{"references":[{"attributes":{"axis_label":"some stuff","formatter":{"id":"e612e4fe-8ec9-4b05-9a6a-dade6c54b153","type":"CategoricalTickFormatter"},"major_label_orientation":1.2,"plot":{"id":"a1548ebd-1e56-4413-a3b8-ef7feff1806a","subtype":"Figure","type":"Plot"},"ticker":{"id":"8579d711-e09a-4fc5-aa73-ebe726f50949","type":"CategoricalTicker"}},"id":"4e86c1c3-8557-4360-9854-9af19d298a76","type":"CategoricalAxis"},{"attributes":{"plot":null,"text":"MPG by # Cylinders"},"id":"cfc509e7-3003-433c-af92-53436f9bb2d2","type":"Title"},{"attributes":{"fill_color":{"field":"cyl","transform":{"id":"fd828e3e-94c1-4f51-9364-d6f28950f51b","type":"CategoricalColorMapper"}},"line_color":{"field":"cyl","transform":{"id":"fd828e3e-94c1-4f51-9364-d6f28950f51b","type":"CategoricalColorMapper"}},"top":{"field":"mpg_mean"},"width":{"value":1},"x":{"field":"cyl"}},"id":"ccdb70dd-b8c0-42f4-9ac1-98d60a4d76ed","type":"VBar"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto"},"id":"da2e0397-d538-4aec-b6f7-60e2a396bf70","type":"Toolbar"},{"attributes":{"below":[{"id":"4e86c1c3-8557-4360-9854-9af19d298a76","type":"CategoricalAxis"}],"left":[{"id":"1a425263-3c62-483d-8b65-8e6148c0522d","type":"LinearAxis"}],"outline_line_color":{"value":null},"plot_height":350,"renderers":[{"id":"4e86c1c3-8557-4360-9854-9af19d298a76","type":"CategoricalAxis"},{"id":"1b27f928-1adb-424a-83de-394219224aa4","type":"Grid"},{"id":"1a425263-3c62-483d-8b65-8e6148c0522d","type":"LinearAxis"},{"id":"dc55e81b-06c9-4019-8267-cf918b11442f","type":"Grid"},{"id":"80ab59d8-a512-430a-ac8f-8cf7f36ca17b","type":"GlyphRenderer"}],"title":{"id":"cfc509e7-3003-433c-af92-53436f9bb2d2","type":"Title"},"toolbar":{"id":"da2e0397-d538-4aec-b6f7-60e2a396bf70","type":"Toolbar"},"toolbar_location":null,"x_range":{"id":"e0f40a04-409a-422f-87fa-53158c8b45a0","type":"FactorRange"},"x_scale":{"id":"f635e32f-f0bd-4758-90d1-0615b8095558","type":"CategoricalScale"},"y_range":{"id":"00f18339-e7ef-4bb8-ba0c-153c7a7411e2","type":"DataRange1d"},"y_scale":{"id":"53029c23-3c92-480e-b900-37fb654ab71a","type":"LinearScale"}},"id":"a1548ebd-1e56-4413-a3b8-ef7feff1806a","subtype":"Figure","type":"Plot"},{"attributes":{"callback":null,"start":0},"id":"00f18339-e7ef-4bb8-ba0c-153c7a7411e2","type":"DataRange1d"},{"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":"94f0a08d-61f3-45d4-82ed-e3ff79b5286c","type":"VBar"},{"attributes":{},"id":"ff77a448-c009-478f-987a-ba8ddc864e38","type":"BasicTicker"},{"attributes":{},"id":"f635e32f-f0bd-4758-90d1-0615b8095558","type":"CategoricalScale"},{"attributes":{},"id":"e612e4fe-8ec9-4b05-9a6a-dade6c54b153","type":"CategoricalTickFormatter"},{"attributes":{"callback":null,"factors":["3","4","5","6","8"]},"id":"e0f40a04-409a-422f-87fa-53158c8b45a0","type":"FactorRange"},{"attributes":{"source":{"id":"4ba1dbda-7ed8-4efb-a9f9-e9d62e2ae5ef","type":"ColumnDataSource"}},"id":"78abe6a6-fb54-4dba-a2fa-d201ebdde3b9","type":"CDSView"},{"attributes":{"callback":null,"column_names":["origin","mpg","displ","weight","index","hp","accel","yr"],"data":{"accel":{"__ndarray__":"AAAAAAAAEEAAAAAAAIAqQAAAAAAAAOA/AAAAAAAAKU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VlVRAMqyPFkmVMkAAAAAAAMBQQAAAAAAAAFJAAAAAAABAU0AAAAAAAIBWQAAAAAAAwFlAAAAAAADAVECwPeSyYmBZQMWQMCL2nixAAAAAAAAAUkAAAAAAACBXQAAAAAAAAFlAAAAAAACAW0AAAAAAAKBkQAAAAAAAwFlAwn6rjaHJY0BQwZb3G3Q8QAAAAAAAgFZAAAAAAACAYUAAAAAAAMBiQAAAAAAA4GVAAAAAAADAbEA=","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__":"AAAAAAAAEEAAAAAAAAAIQAAAAAAAAAAAAAAAAAAACEAAAAAAA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AAAA8D8AAAAAAIBTQAAAAAAAoFNAAAAAAADAU0AAAAAAAOBTQAAAAAAAAFRAAAAAAADAVECCEt5o6vxSQKdDmPpzHQpAAAAAAACAUUAAAAAAAIBSQAAAAAAAAFNAAAAAAACAU0AAAAAAAIBUQAAAAAAAwFlAi/gEUsl5UkAEv1x2cisIQAAAAAAAgFFAAAAAAAAAUkAAAAAAAEBSQAAAAAAAAFNAAAAAAABAVEA=","dtype":"float64","shape":[40]}}},"id":"4ba1dbda-7ed8-4efb-a9f9-e9d62e2ae5ef","type":"ColumnDataSource"},{"attributes":{"dimension":1,"plot":{"id":"a1548ebd-1e56-4413-a3b8-ef7feff1806a","subtype":"Figure","type":"Plot"},"ticker":{"id":"ff77a448-c009-478f-987a-ba8ddc864e38","type":"BasicTicker"}},"id":"dc55e81b-06c9-4019-8267-cf918b11442f","type":"Grid"},{"attributes":{},"id":"8579d711-e09a-4fc5-aa73-ebe726f50949","type":"CategoricalTicker"},{"attributes":{"factors":["3","4","5","6","8"],"palette":["#2b83ba","#abdda4","#ffffbf","#fdae61","#d7191c"]},"id":"fd828e3e-94c1-4f51-9364-d6f28950f51b","type":"CategoricalColorMapper"},{"attributes":{},"id":"701239c3-2140-4a65-849a-ce5349686ce4","type":"BasicTickFormatter"},{"attributes":{"data_source":{"id":"4ba1dbda-7ed8-4efb-a9f9-e9d62e2ae5ef","type":"ColumnDataSource"},"glyph":{"id":"ccdb70dd-b8c0-42f4-9ac1-98d60a4d76ed","type":"VBar"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"94f0a08d-61f3-45d4-82ed-e3ff79b5286c","type":"VBar"},"selection_glyph":null,"view":{"id":"78abe6a6-fb54-4dba-a2fa-d201ebdde3b9","type":"CDSView"}},"id":"80ab59d8-a512-430a-ac8f-8cf7f36ca17b","type":"GlyphRenderer"},{"attributes":{"formatter":{"id":"701239c3-2140-4a65-849a-ce5349686ce4","type":"BasicTickFormatter"},"plot":{"id":"a1548ebd-1e56-4413-a3b8-ef7feff1806a","subtype":"Figure","type":"Plot"},"ticker":{"id":"ff77a448-c009-478f-987a-ba8ddc864e38","type":"BasicTicker"}},"id":"1a425263-3c62-483d-8b65-8e6148c0522d","type":"LinearAxis"},{"attributes":{},"id":"53029c23-3c92-480e-b900-37fb654ab71a","type":"LinearScale"},{"attributes":{"grid_line_color":{"value":null},"plot":{"id":"a1548ebd-1e56-4413-a3b8-ef7feff1806a","subtype":"Figure","type":"Plot"},"ticker":{"id":"8579d711-e09a-4fc5-aa73-ebe726f50949","type":"CategoricalTicker"}},"id":"1b27f928-1adb-424a-83de-394219224aa4","type":"Grid"}],"root_ids":["a1548ebd-1e56-4413-a3b8-ef7feff1806a"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"ac7264ae-72c4-4911-9951-2643d323fd0c","elementid":"d84527b1-ca9f-4a0c-a93b-f8f9515a638c","modelid":"a1548ebd-1e56-4413-a3b8-ef7feff1806a"}];
                
                    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);
})();
