(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("80d54f04-1dd6-4fb9-91f1-b1ba95f541e8");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid '80d54f04-1dd6-4fb9-91f1-b1ba95f541e8' 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 = {"957747a8-7f55-4a9e-851c-cc9531cf8506":{"roots":{"references":[{"attributes":{},"id":"9b58ca4d-397c-41a6-adfa-ef84c0df1be5","type":"BasicTickFormatter"},{"attributes":{"data_source":{"id":"02b23c24-b7f7-4dde-a032-3d581a0590aa","type":"ColumnDataSource"},"glyph":{"id":"db9f1e8e-787d-474e-a989-844b446427d5","type":"MultiLine"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"0c8b53c9-0684-44ab-adfc-a8519d2e6bb6","type":"MultiLine"},"selection_glyph":null,"view":{"id":"37faf1ef-e56a-4c81-9a7a-43be8d08cd72","type":"CDSView"}},"id":"c656c58a-86c1-460b-8a1a-b977c5edd085","type":"GlyphRenderer"},{"attributes":{},"id":"2ba7000b-19a7-4655-8454-c363df853dae","type":"HelpTool"},{"attributes":{},"id":"03781633-237b-4383-8e7e-89542e4eeffa","type":"BasicTickFormatter"},{"attributes":{"below":[{"id":"9315594c-544e-4a91-85d9-0b57e27f977c","type":"LinearAxis"}],"left":[{"id":"fdf73275-849c-49dd-89c9-3402a32d7d33","type":"LinearAxis"}],"renderers":[{"id":"9315594c-544e-4a91-85d9-0b57e27f977c","type":"LinearAxis"},{"id":"0fa8dd8a-2885-4f10-bfa4-820eaa3000bc","type":"Grid"},{"id":"fdf73275-849c-49dd-89c9-3402a32d7d33","type":"LinearAxis"},{"id":"032cd844-b827-447d-958f-5c6854c1c723","type":"Grid"},{"id":"4a2c8c3b-8429-49be-ae36-6bf54a837767","type":"BoxAnnotation"},{"id":"c656c58a-86c1-460b-8a1a-b977c5edd085","type":"GlyphRenderer"}],"title":{"id":"88851b3d-45fc-4d25-a571-4c744b2fbdec","type":"Title"},"toolbar":{"id":"df9ba8b1-db32-4207-b229-53c5f1b9f126","type":"Toolbar"},"x_range":{"id":"c30f97c0-16e7-435d-92d5-c8ea8840e7f3","type":"DataRange1d"},"x_scale":{"id":"388ea6a3-bda2-413d-a443-dd2b01c99a5b","type":"LinearScale"},"y_range":{"id":"28a7f8d1-5f4d-4feb-a310-2e641503b11b","type":"DataRange1d"},"y_scale":{"id":"66ce8e91-5df4-493a-bfe5-fbb1fab3a49b","type":"LinearScale"}},"id":"b06ca041-4ca3-454c-aada-e86980b126d1","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"7a015ebb-abe2-4671-a462-1e5664ad1f49","type":"BasicTicker"},{"attributes":{"plot":{"id":"b06ca041-4ca3-454c-aada-e86980b126d1","subtype":"Figure","type":"Plot"},"ticker":{"id":"2d32109b-efc6-4cdf-82f6-a283d5db371f","type":"BasicTicker"}},"id":"0fa8dd8a-2885-4f10-bfa4-820eaa3000bc","type":"Grid"},{"attributes":{"bottom_units":"screen","fill_alpha":{"value":0.5},"fill_color":{"value":"lightgrey"},"left_units":"screen","level":"overlay","line_alpha":{"value":1.0},"line_color":{"value":"black"},"line_dash":[4,4],"line_width":{"value":2},"plot":null,"render_mode":"css","right_units":"screen","top_units":"screen"},"id":"4a2c8c3b-8429-49be-ae36-6bf54a837767","type":"BoxAnnotation"},{"attributes":{},"id":"66ce8e91-5df4-493a-bfe5-fbb1fab3a49b","type":"LinearScale"},{"attributes":{},"id":"8c877f11-cc41-4a49-9d80-0e54956bb90e","type":"SaveTool"},{"attributes":{"source":{"id":"02b23c24-b7f7-4dde-a032-3d581a0590aa","type":"ColumnDataSource"}},"id":"37faf1ef-e56a-4c81-9a7a-43be8d08cd72","type":"CDSView"},{"attributes":{},"id":"2d32109b-efc6-4cdf-82f6-a283d5db371f","type":"BasicTicker"},{"attributes":{"overlay":{"id":"4a2c8c3b-8429-49be-ae36-6bf54a837767","type":"BoxAnnotation"}},"id":"c217b772-d355-469f-aead-b76853720efe","type":"BoxZoomTool"},{"attributes":{},"id":"0467c755-ac6e-4a90-a0e8-afe30f0a012d","type":"ResetTool"},{"attributes":{"dimension":1,"plot":{"id":"b06ca041-4ca3-454c-aada-e86980b126d1","subtype":"Figure","type":"Plot"},"ticker":{"id":"7a015ebb-abe2-4671-a462-1e5664ad1f49","type":"BasicTicker"}},"id":"032cd844-b827-447d-958f-5c6854c1c723","type":"Grid"},{"attributes":{"formatter":{"id":"9b58ca4d-397c-41a6-adfa-ef84c0df1be5","type":"BasicTickFormatter"},"plot":{"id":"b06ca041-4ca3-454c-aada-e86980b126d1","subtype":"Figure","type":"Plot"},"ticker":{"id":"2d32109b-efc6-4cdf-82f6-a283d5db371f","type":"BasicTicker"}},"id":"9315594c-544e-4a91-85d9-0b57e27f977c","type":"LinearAxis"},{"attributes":{"callback":null},"id":"c30f97c0-16e7-435d-92d5-c8ea8840e7f3","type":"DataRange1d"},{"attributes":{},"id":"388ea6a3-bda2-413d-a443-dd2b01c99a5b","type":"LinearScale"},{"attributes":{"line_alpha":{"value":0.8},"line_color":{"field":"line_color"},"line_width":{"value":1.5},"xs":{"field":"xs"},"ys":{"field":"ys"}},"id":"db9f1e8e-787d-474e-a989-844b446427d5","type":"MultiLine"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"e89e1545-5a00-4e30-af2a-4cf0cb3d2ec0","type":"PanTool"},{"id":"ab5ec049-9f5c-49d2-a0cb-ebbfd277e18d","type":"WheelZoomTool"},{"id":"c217b772-d355-469f-aead-b76853720efe","type":"BoxZoomTool"},{"id":"8c877f11-cc41-4a49-9d80-0e54956bb90e","type":"SaveTool"},{"id":"0467c755-ac6e-4a90-a0e8-afe30f0a012d","type":"ResetTool"},{"id":"2ba7000b-19a7-4655-8454-c363df853dae","type":"HelpTool"}]},"id":"df9ba8b1-db32-4207-b229-53c5f1b9f126","type":"Toolbar"},{"attributes":{},"id":"e89e1545-5a00-4e30-af2a-4cf0cb3d2ec0","type":"PanTool"},{"attributes":{},"id":"ab5ec049-9f5c-49d2-a0cb-ebbfd277e18d","type":"WheelZoomTool"},{"attributes":{"callback":null},"id":"28a7f8d1-5f4d-4feb-a310-2e641503b11b","type":"DataRange1d"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"line_width":{"value":1.5},"xs":{"field":"xs"},"ys":{"field":"ys"}},"id":"0c8b53c9-0684-44ab-adfc-a8519d2e6bb6","type":"MultiLine"},{"attributes":{"formatter":{"id":"03781633-237b-4383-8e7e-89542e4eeffa","type":"BasicTickFormatter"},"plot":{"id":"b06ca041-4ca3-454c-aada-e86980b126d1","subtype":"Figure","type":"Plot"},"ticker":{"id":"7a015ebb-abe2-4671-a462-1e5664ad1f49","type":"BasicTicker"}},"id":"fdf73275-849c-49dd-89c9-3402a32d7d33","type":"LinearAxis"},{"attributes":{"plot":null,"text":"lorenz example"},"id":"88851b3d-45fc-4d25-a571-4c744b2fbdec","type":"Title"},{"attributes":{"callback":null,"column_names":["ys","xs","line_color"],"data":{"line_color":["#C6DBEF","#9ECAE1","#6BAED6","#4292C6","#2171B5","#08519C","#08306B"],"xs":[{"__ndarray__":"[encoded data, 25400 characters]","dtype":"float64","shape":[2381]},{"__ndarray__":"[encoded data, 25400 characters]","dtype":"float64","shape":[2381]},{"__ndarray__":"[encoded data, 25400 characters]","dtype":"float64","shape":[2381]},{"__ndarray__":"[encoded data, 25400 characters]","dtype":"float64","shape":[2381]},{"__ndarray__":"[encoded data, 25400 characters]","dtype":"float64","shape":[2381]},{"__ndarray__":"[encoded data, 25400 characters]","dtype":"float64","shape":[2381]},{"__ndarray__":"[encoded data, 25400 characters]","dtype":"float64","shape":[2381]}],"ys":[{"__ndarray__":"[encoded data, 25400 characters]","dtype":"float64","shape":[2381]},{"__ndarray__":"[encoded data, 25400 characters]","dtype":"float64","shape":[2381]},{"__ndarray__":"[encoded data, 25400 characters]","dtype":"float64","shape":[2381]},{"__ndarray__":"[encoded data, 25400 characters]","dtype":"float64","shape":[2381]},{"__ndarray__":"[encoded data, 25400 characters]","dtype":"float64","shape":[2381]},{"__ndarray__":"[encoded data, 25400 characters]","dtype":"float64","shape":[2381]},{"__ndarray__":"[encoded data, 25400 characters]","dtype":"float64","shape":[2381]}]}},"id":"02b23c24-b7f7-4dde-a032-3d581a0590aa","type":"ColumnDataSource"}],"root_ids":["b06ca041-4ca3-454c-aada-e86980b126d1"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"957747a8-7f55-4a9e-851c-cc9531cf8506","elementid":"80d54f04-1dd6-4fb9-91f1-b1ba95f541e8","modelid":"b06ca041-4ca3-454c-aada-e86980b126d1"}];
                
                    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);
})();
