(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("1f615af7-59ba-46dd-a506-ece673b8232a");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid '1f615af7-59ba-46dd-a506-ece673b8232a' 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 = {"c8ce02fa-8d22-4097-9d9f-2d72f87278c0":{"roots":{"references":[{"attributes":{"dimension":1,"plot":{"id":"d56fede2-c562-4c0b-bda3-ad4a4060ea62","subtype":"Figure","type":"Plot"},"ticker":{"id":"08a54218-c1e3-40b5-b8fd-7aaa314c87d1","type":"BasicTicker"}},"id":"c94b0a78-d7aa-4d56-91d3-a85013ab81a8","type":"Grid"},{"attributes":{},"id":"864a550e-b3f4-4fee-8134-b3828c9f4975","type":"CategoricalTickFormatter"},{"attributes":{"axis_label":"some stuff","formatter":{"id":"864a550e-b3f4-4fee-8134-b3828c9f4975","type":"CategoricalTickFormatter"},"major_label_orientation":1.2,"plot":{"id":"d56fede2-c562-4c0b-bda3-ad4a4060ea62","subtype":"Figure","type":"Plot"},"ticker":{"id":"4d399e15-574c-44ee-bb4e-73e2be24bf67","type":"CategoricalTicker"}},"id":"620ef768-4519-4fcd-ac57-f2a401837821","type":"CategoricalAxis"},{"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":"581a565b-7ac3-4ec6-b5a0-0f59e505ebe0","type":"VBar"},{"attributes":{"grid_line_color":{"value":null},"plot":{"id":"d56fede2-c562-4c0b-bda3-ad4a4060ea62","subtype":"Figure","type":"Plot"},"ticker":{"id":"4d399e15-574c-44ee-bb4e-73e2be24bf67","type":"CategoricalTicker"}},"id":"1b6a77d0-9a29-44f9-b62e-013ca6467d82","type":"Grid"},{"attributes":{"data_source":{"id":"1a81f9bf-57bc-4700-81fd-8fa8caf4efaf","type":"ColumnDataSource"},"glyph":{"id":"a1ab05a9-b984-4516-86af-22642635547c","type":"VBar"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"581a565b-7ac3-4ec6-b5a0-0f59e505ebe0","type":"VBar"},"selection_glyph":null,"view":{"id":"2041fb15-5225-4437-8018-5519f5e4dc68","type":"CDSView"}},"id":"09888aff-6630-486b-83f2-7c321c2eeedb","type":"GlyphRenderer"},{"attributes":{"plot":null,"text":"MPG by # Cylinders"},"id":"0630b61a-2666-41fb-9248-e3258e17af73","type":"Title"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto"},"id":"365a4cd7-d4cd-49eb-8679-0fcd73857b8d","type":"Toolbar"},{"attributes":{},"id":"6082e322-18f8-447a-860a-9e3427f52c2d","type":"CategoricalScale"},{"attributes":{"source":{"id":"1a81f9bf-57bc-4700-81fd-8fa8caf4efaf","type":"ColumnDataSource"}},"id":"2041fb15-5225-4437-8018-5519f5e4dc68","type":"CDSView"},{"attributes":{"below":[{"id":"620ef768-4519-4fcd-ac57-f2a401837821","type":"CategoricalAxis"}],"left":[{"id":"7379d5d1-6a3e-45e1-a315-71d3b5f49027","type":"LinearAxis"}],"outline_line_color":{"value":null},"plot_height":350,"renderers":[{"id":"620ef768-4519-4fcd-ac57-f2a401837821","type":"CategoricalAxis"},{"id":"1b6a77d0-9a29-44f9-b62e-013ca6467d82","type":"Grid"},{"id":"7379d5d1-6a3e-45e1-a315-71d3b5f49027","type":"LinearAxis"},{"id":"c94b0a78-d7aa-4d56-91d3-a85013ab81a8","type":"Grid"},{"id":"09888aff-6630-486b-83f2-7c321c2eeedb","type":"GlyphRenderer"}],"title":{"id":"0630b61a-2666-41fb-9248-e3258e17af73","type":"Title"},"toolbar":{"id":"365a4cd7-d4cd-49eb-8679-0fcd73857b8d","type":"Toolbar"},"toolbar_location":null,"x_range":{"id":"99ceda8b-1e1c-403e-a6a0-76587cf132fa","type":"FactorRange"},"x_scale":{"id":"6082e322-18f8-447a-860a-9e3427f52c2d","type":"CategoricalScale"},"y_range":{"id":"79e090a3-a2a5-499a-803a-54c4d56e261d","type":"DataRange1d"},"y_scale":{"id":"26734052-f242-42a1-8c7b-05c27018b779","type":"LinearScale"}},"id":"d56fede2-c562-4c0b-bda3-ad4a4060ea62","subtype":"Figure","type":"Plot"},{"attributes":{"fill_color":{"field":"cyl","transform":{"id":"09d42354-66a9-4c43-a428-4cb557f7c4a9","type":"CategoricalColorMapper"}},"line_color":{"field":"cyl","transform":{"id":"09d42354-66a9-4c43-a428-4cb557f7c4a9","type":"CategoricalColorMapper"}},"top":{"field":"mpg_mean"},"width":{"value":1},"x":{"field":"cyl"}},"id":"a1ab05a9-b984-4516-86af-22642635547c","type":"VBar"},{"attributes":{},"id":"de420e90-1be2-4bac-b5b6-55de61f647da","type":"BasicTickFormatter"},{"attributes":{"callback":null,"factors":["3","4","5","6","8"]},"id":"99ceda8b-1e1c-403e-a6a0-76587cf132fa","type":"FactorRange"},{"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%"],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G11QAAAAAAANJlAAAAAAAD+n0AAAAAAAGyhQAAAAAAABaRAAAAAAACMqUAAAAAAAAAIQKuqqqqqPqhAD2lJfoBld0AAAAAAABymQAAAAAAAlKZAAAAAAAAMp0AAAAAAAFCpQAAAAAAAlKtAAAAAAADAVECOps6vPQSpQHZnjYIixnRAAAAAAABQo0AAAAAAAAKnQAAAAAAAFKlAAAAAAADOqkAAAAAAAIauQAAAAAAAwFlAQ9Md7LcSsEC+UR6eVA18QAAAAAAAHKhAAAAAAACurUAAAAAAACywQAAAAACAM7FAAAAAAAAUtEA=","dtype":"float64","shape":[40]},"yr":{"__ndarray__":"AAAAAAAAEEAAAAAAAOBSQKdTELwjkw1AAAAAAAAAUkAAAAAAADBSQAAAAAAAwFJAAAAAAABwU0AAAAAAAABUQAAAAAAA4GhAxFht/e1BU0Ad5PLGXeYNQAAAAAAAgFFAAAAAAACAUkAAAAAAAEBTQAAAAAAAAFRAAAAAAACAVEAAAAAAAAAIQAAAAAAAwFNAAAAAAAAA8D8AAAAAAIBTQAAAAAAAoFNAAAAAAADAU0AAAAAAAOBTQAAAAAAAAFRAAAAAAADAVECCEt5o6vxSQKdDmPpzHQpAAAAAAACAUUAAAAAAAIBSQAAAAAAAAFNAAAAAAACAU0AAAAAAAIBUQAAAAAAAwFlAi/gEUsl5UkAEv1x2cisIQAAAAAAAgFFAAAAAAAAAUkAAAAAAAEBSQAAAAAAAAFNAAAAAAABAVEA=","dtype":"float64","shape":[40]}}},"id":"1a81f9bf-57bc-4700-81fd-8fa8caf4efaf","type":"ColumnDataSource"},{"attributes":{},"id":"4d399e15-574c-44ee-bb4e-73e2be24bf67","type":"CategoricalTicker"},{"attributes":{"callback":null,"start":0},"id":"79e090a3-a2a5-499a-803a-54c4d56e261d","type":"DataRange1d"},{"attributes":{"factors":["3","4","5","6","8"],"palette":["#2b83ba","#abdda4","#ffffbf","#fdae61","#d7191c"]},"id":"09d42354-66a9-4c43-a428-4cb557f7c4a9","type":"CategoricalColorMapper"},{"attributes":{},"id":"08a54218-c1e3-40b5-b8fd-7aaa314c87d1","type":"BasicTicker"},{"attributes":{},"id":"26734052-f242-42a1-8c7b-05c27018b779","type":"LinearScale"},{"attributes":{"formatter":{"id":"de420e90-1be2-4bac-b5b6-55de61f647da","type":"BasicTickFormatter"},"plot":{"id":"d56fede2-c562-4c0b-bda3-ad4a4060ea62","subtype":"Figure","type":"Plot"},"ticker":{"id":"08a54218-c1e3-40b5-b8fd-7aaa314c87d1","type":"BasicTicker"}},"id":"7379d5d1-6a3e-45e1-a315-71d3b5f49027","type":"LinearAxis"}],"root_ids":["d56fede2-c562-4c0b-bda3-ad4a4060ea62"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"c8ce02fa-8d22-4097-9d9f-2d72f87278c0","elementid":"1f615af7-59ba-46dd-a506-ece673b8232a","modelid":"d56fede2-c562-4c0b-bda3-ad4a4060ea62"}];
                
                    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);
})();
