(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("16736b32-eee2-48d0-9946-421c630dbc27");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid '16736b32-eee2-48d0-9946-421c630dbc27' 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 = {"11b2c9e1-f0d2-4c12-bf58-9aabd1bac98c":{"roots":{"references":[{"attributes":{"below":[{"id":"8773299f-9b71-499f-9b4f-8c84f18c652d","type":"CategoricalAxis"}],"left":[{"id":"dcd403b8-8f22-47d4-8d62-ed8ad4da27a1","type":"LinearAxis"}],"outline_line_color":{"value":null},"plot_height":350,"renderers":[{"id":"8773299f-9b71-499f-9b4f-8c84f18c652d","type":"CategoricalAxis"},{"id":"49135679-36da-4f04-b03f-3d77ee825971","type":"Grid"},{"id":"dcd403b8-8f22-47d4-8d62-ed8ad4da27a1","type":"LinearAxis"},{"id":"b8d29d65-94ed-4fa3-b548-cd88fd4c6735","type":"Grid"},{"id":"2f97838b-3fbe-4a6f-809c-a76e7ca4e8ab","type":"GlyphRenderer"}],"title":{"id":"95ec8669-0ed9-4148-a415-0275b4293f15","type":"Title"},"toolbar":{"id":"bb28f8d1-1993-41c8-92d0-c2f72f4000c8","type":"Toolbar"},"toolbar_location":null,"x_range":{"id":"e84837f5-38f2-43f6-ba6e-756ef2fac7c9","type":"FactorRange"},"x_scale":{"id":"35c71c86-888d-43b5-8851-6bb6d89dab7b","type":"CategoricalScale"},"y_range":{"id":"733afd77-53c2-4e72-a28b-bf43d1bcabcc","type":"DataRange1d"},"y_scale":{"id":"2cde9edf-c001-4966-9be3-207f9b529ce8","type":"LinearScale"}},"id":"dca24081-6a86-4727-99de-e58458c55c02","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"33fa30bb-55f0-4c10-ba36-e46e83e0a08f","type":"CategoricalTicker"},{"attributes":{},"id":"37305e22-151d-4596-9d08-3b5eeeaea188","type":"CategoricalTickFormatter"},{"attributes":{"grid_line_color":{"value":null},"plot":{"id":"dca24081-6a86-4727-99de-e58458c55c02","subtype":"Figure","type":"Plot"},"ticker":{"id":"33fa30bb-55f0-4c10-ba36-e46e83e0a08f","type":"CategoricalTicker"}},"id":"49135679-36da-4f04-b03f-3d77ee825971","type":"Grid"},{"attributes":{"source":{"id":"6a180190-af3f-4f33-ae3f-1938eff1dbdf","type":"ColumnDataSource"}},"id":"9ec18ee8-cf4e-4020-9cc8-a54bdd2f2023","type":"CDSView"},{"attributes":{"axis_label":"some stuff","formatter":{"id":"37305e22-151d-4596-9d08-3b5eeeaea188","type":"CategoricalTickFormatter"},"major_label_orientation":1.2,"plot":{"id":"dca24081-6a86-4727-99de-e58458c55c02","subtype":"Figure","type":"Plot"},"ticker":{"id":"33fa30bb-55f0-4c10-ba36-e46e83e0a08f","type":"CategoricalTicker"}},"id":"8773299f-9b71-499f-9b4f-8c84f18c652d","type":"CategoricalAxis"},{"attributes":{},"id":"d645839f-b3b0-4b04-8a21-5ebccc849d36","type":"BasicTickFormatter"},{"attributes":{},"id":"52eec54c-51ee-485f-900c-be61f2685da2","type":"BasicTicker"},{"attributes":{"factors":["3","4","5","6","8"],"palette":["#2b83ba","#abdda4","#ffffbf","#fdae61","#d7191c"]},"id":"c5e37e3d-261e-473c-bc83-96f629f03535","type":"CategoricalColorMapper"},{"attributes":{},"id":"2cde9edf-c001-4966-9be3-207f9b529ce8","type":"LinearScale"},{"attributes":{"callback":null,"factors":["3","4","5","6","8"]},"id":"e84837f5-38f2-43f6-ba6e-756ef2fac7c9","type":"FactorRange"},{"attributes":{"callback":null,"column_names":["origin","mpg","displ","weight","index","hp","accel","yr"],"data":{"accel":{"__ndarray__":"AAAAAAAAEEAAAAAAAIAqQAAAAAAAAOA/AAAAAAAAKUAAAAAAAIAqQAAAAAAAACtAAAAAAAAAK0AAAAAAAAArQAAAAAAA4GhAkcQsBviUMECb1TA5wxADQDMzMzMzMydAmpmZmZmZLUAzMzMzMzMwQAAAAAAAADJAzczMzMzMOEAAAAAAAAAIQCIiIiIiojJA7WOs/Tf0AkDNzMzMzMwvQGZmZmZm5jFAZmZmZmbmM0AAAAAAAAA0QJqZmZmZGTRAAAAAAADAVEDt30tb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GVAAAAAAADAbEA=","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/AAAAAAAA8D8AAAAAAAAAQAAAAAAAAAhAAAAAAAAACEAAAAAAAAAIQAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAABAAAAAAAAAAEAAAAAAAAAAQAAAAAAAAABAAAAAAADAVEB1fu0hlxXzP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AVEA=","dtype":"float64","shape":[40]}}},"id":"6a180190-af3f-4f33-ae3f-1938eff1dbdf","type":"ColumnDataSource"},{"attributes":{"fill_color":{"field":"cyl","transform":{"id":"c5e37e3d-261e-473c-bc83-96f629f03535","type":"CategoricalColorMapper"}},"line_color":{"field":"cyl","transform":{"id":"c5e37e3d-261e-473c-bc83-96f629f03535","type":"CategoricalColorMapper"}},"top":{"field":"mpg_mean"},"width":{"value":1},"x":{"field":"cyl"}},"id":"36e5b2db-c10b-4772-b618-c07eaac3fc37","type":"VBar"},{"attributes":{},"id":"35c71c86-888d-43b5-8851-6bb6d89dab7b","type":"CategoricalScale"},{"attributes":{"callback":null,"start":0},"id":"733afd77-53c2-4e72-a28b-bf43d1bcabcc","type":"DataRange1d"},{"attributes":{"plot":null,"text":"MPG by # Cylinders"},"id":"95ec8669-0ed9-4148-a415-0275b4293f15","type":"Title"},{"attributes":{"dimension":1,"plot":{"id":"dca24081-6a86-4727-99de-e58458c55c02","subtype":"Figure","type":"Plot"},"ticker":{"id":"52eec54c-51ee-485f-900c-be61f2685da2","type":"BasicTicker"}},"id":"b8d29d65-94ed-4fa3-b548-cd88fd4c6735","type":"Grid"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto"},"id":"bb28f8d1-1993-41c8-92d0-c2f72f4000c8","type":"Toolbar"},{"attributes":{"data_source":{"id":"6a180190-af3f-4f33-ae3f-1938eff1dbdf","type":"ColumnDataSource"},"glyph":{"id":"36e5b2db-c10b-4772-b618-c07eaac3fc37","type":"VBar"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"74f47210-4701-44c3-8620-b7750d0373ef","type":"VBar"},"selection_glyph":null,"view":{"id":"9ec18ee8-cf4e-4020-9cc8-a54bdd2f2023","type":"CDSView"}},"id":"2f97838b-3fbe-4a6f-809c-a76e7ca4e8ab","type":"GlyphRenderer"},{"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":"74f47210-4701-44c3-8620-b7750d0373ef","type":"VBar"},{"attributes":{"formatter":{"id":"d645839f-b3b0-4b04-8a21-5ebccc849d36","type":"BasicTickFormatter"},"plot":{"id":"dca24081-6a86-4727-99de-e58458c55c02","subtype":"Figure","type":"Plot"},"ticker":{"id":"52eec54c-51ee-485f-900c-be61f2685da2","type":"BasicTicker"}},"id":"dcd403b8-8f22-47d4-8d62-ed8ad4da27a1","type":"LinearAxis"}],"root_ids":["dca24081-6a86-4727-99de-e58458c55c02"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"11b2c9e1-f0d2-4c12-bf58-9aabd1bac98c","elementid":"16736b32-eee2-48d0-9946-421c630dbc27","modelid":"dca24081-6a86-4727-99de-e58458c55c02"}];
                
                    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);
})();
