(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("938e6b79-aa11-470a-9ab0-de6e778c9f5a");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid '938e6b79-aa11-470a-9ab0-de6e778c9f5a' 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 = {"d307104b-8cc7-45a7-9a65-c19876276a17":{"roots":{"references":[{"attributes":{"data_source":{"id":"961f042b-6f40-41a2-9bde-c6c72c27e797","type":"ColumnDataSource"},"glyph":{"id":"e3c0163c-e7e5-446f-bcd9-2dfe3807a2bf","type":"Circle"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"ab78b4eb-b687-436d-bde4-d5706ff4a254","type":"Circle"},"selection_glyph":null,"view":{"id":"ae66d7d3-023c-48c5-9084-4a327d595f2c","type":"CDSView"}},"id":"c192627a-9b24-4498-ab73-5e966461fd4c","type":"GlyphRenderer"},{"attributes":{"line_color":{"value":"orange"},"line_dash":[4,4],"line_width":{"value":2},"x":{"field":"x"},"y":{"field":"y"}},"id":"58ab4661-2fd3-497f-a490-e08ff6b4284e","type":"Line"},{"attributes":{"callback":null,"column_names":["y","x"],"data":{"x":{"__ndarray__":"AAAAAAAAAACRGkt8Vz/AP5EaS3xXP9A/2qdwOgNf2D+RGkt8Vz/gPzXhXVstT+Q/2qdwOgNf6D9+boMZ2W7sP5EaS3xXP/A/433Ua0JH8j814V1bLU/0P4dE50oYV/Y/2qdwOgNf+D8sC/op7mb6P35ugxnZbvw/0NEMCcR2/j+RGkt8Vz8AQDrMD/RMQwFA433Ua0JHAkCML5njN0sDQDXhXVstTwRA3pIi0yJTBUCHROdKGFcGQDD2q8INWwdA2qdwOgNfCECDWTWy+GIJQCwL+inuZgpA1by+oeNqC0B+boMZ2W4MQCcgSJHOcg1A0NEMCcR2DkB5g9GAuXoPQJEaS3xXPxBAZnMtOFLBEEA6zA/0TEMRQA8l8q9HxRFA433Ua0JHEkC41rYnPckSQIwvmeM3SxNAYYh7nzLNE0A14V1bLU8UQAo6QBco0RRA3pIi0yJTFUCz6wSPHdUVQIdE50oYVxZAXJ3JBhPZFkAw9qvCDVsXQAVPjn4I3Rd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WvuS2v6/DwQZ9WTz+b9lsKPjUaH0v8Yvs7GI9O2/YIF44Akr4r8GSRAz01rIvzBJEDPTWsg/aoF44Akr4j/QL7OxiPTtP2Cwo+NRofQ/FQQZ9WTz+T8qIVr7ktr+PyVTbtpUoQFAL/GzMMGMA0Am9VZDpicFQFE1Q4pnawZAKMc7bs9SB0Cn1Bi+JNoHQHNrGwU6/wdANDIqg3bBB0ACgQSi2CEHQLAaTN3xIgZAfTlCLtzIBEDwocsmKRkDQMntUgHLGgFAcTUKCPCr/T8KHYhaEaj4P2HhSWmiPvM/pNQx/NsL6z99J1KpFVbeP/ZIOy73Xbg/+3710zFA0r9fH/sFWiblv+6IZ1e+avC/uv7u/6/+9b856WcXCDj7v9vlDPWgAADAfJ5rTFMjAsDuAN8mT/sDwH0FEFr8gAXA076JxBWuBsDQsXkhw30HwMzMhf2s7AfAYgGEegr5B8AS1WCpqKIHwPwa7Vvr6gbADqEya8fUBcDaGuWJtmQEwGnwGNWkoALA/VEvb9iPAMDpx+cSp3X8v9a5rq9iVve/8C5K/vzW8b/bTMaCNhzov+rFA7RFTti/CoqeTDl52rw=","dtype":"float64","shape":[100]}}},"id":"888550fc-cbd5-4b6b-bcc6-25eff027a1d3","type":"ColumnDataSource"},{"attributes":{"data_source":{"id":"e808d091-562e-4461-802e-bc888ae10fc6","type":"ColumnDataSource"},"glyph":{"id":"2c0428dc-72cd-46ee-91f2-a1f4ac37a6a3","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"e2de0872-1232-4cab-ada4-ddcea04bf6a8","type":"Line"},"selection_glyph":null,"view":{"id":"cbbd4129-a904-4ac0-9221-8166207f05b9","type":"CDSView"}},"id":"a9715738-4292-4a00-9249-4c63c3811571","type":"GlyphRenderer"},{"attributes":{},"id":"95f2f0b1-ff85-46ba-86a9-b1b249119127","type":"BasicTickFormatter"},{"attributes":{"source":{"id":"e808d091-562e-4461-802e-bc888ae10fc6","type":"ColumnDataSource"}},"id":"cbbd4129-a904-4ac0-9221-8166207f05b9","type":"CDSView"},{"attributes":{},"id":"1bbefaa7-6446-4589-9ed4-44af5c662048","type":"HelpTool"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"fa98fcb4-dad5-4b1f-8659-9b1e00cb11f2","type":"Square"},{"attributes":{"plot":null,"text":""},"id":"f20b958c-f041-4b5f-a1e3-f6d4ba6a693d","type":"Title"},{"attributes":{"callback":null,"column_names":["y","x"],"data":{"x":{"__ndarray__":"AAAAAAAAAACRGkt8Vz/AP5EaS3xXP9A/2qdwOgNf2D+RGkt8Vz/gPzXhXVstT+Q/2qdwOgNf6D9+boMZ2W7sP5EaS3xXP/A/433Ua0JH8j814V1bLU/0P4dE50oYV/Y/2qdwOgNf+D8sC/op7mb6P35ugxnZbvw/0NEMCcR2/j+RGkt8Vz8AQDrMD/RMQwFA433Ua0JHAkCML5njN0sDQDXhXVstTwRA3pIi0yJTBUCHROdKGFcGQDD2q8INWwdA2qdwOgNfCECDWTWy+GIJQCwL+inuZgpA1by+oeNqC0B+boMZ2W4MQCcgSJHOcg1A0NEMCcR2DkB5g9GAuXoPQJEaS3xXPxBAZnMtOFLBEEA6zA/0TEMRQA8l8q9HxRFA433Ua0JHEkC41rYnPckSQIwvmeM3SxNAYYh7nzLNE0A14V1bLU8UQAo6QBco0RRA3pIi0yJTFUCz6wSPHdUVQIdE50oYVxZAXJ3JBhPZFkAw9qvCDVsXQAVPjn4I3RdA2qdwOgNfGECuAFP2/eAYQINZNbL4YhlAV7IXbvPkGUAsC/op7mYaQABk3OXo6BpA1by+oeNqG0CpFaFd3uwbQH5ugxnZbhxAUsdl1dPwHEAnIEiRznIdQPt4Kk3J9B1A0NEMCcR2HkCkKu/EvvgeQHmD0YC5eh9ATdyzPLT8H0CRGkt8Vz8gQPtGPNpUgCBAZnMtOFLBIEDQnx6WTwIhQD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/0/p0xY6Hq2+z+Vgg+J4Xb5P7fnwwFkzvY/9nixWvXH8z9cE7CRC3DwP9eBYozYqOk/w412/ecH4j/+xDbGYznUP0/bfMmkPrA/+VNHxZdVyL/UKaSyIjPcv+gLinSo4+W/+Kg+VZVT7b8mRkW6WiXyv8+HZvErVvW/pig6uxkv+L+TVimJaaT6v1EHwCL7q/y/xFNiW3I9/r/Al/eBWVL/v2Zmsvw75v+/g6xao7j2/78YHIGMi4P/v/sjPCWPjv6/EyzujrQb/b94zoZi8zD7v4xAIRwx1vi//Bc/lCAV9r9GhZoMGvnyvx5NPurYHe+/65MNU1HJ57+SiNkBzxLgv/GDAnguNNC/B1wUMyam0bw=","dtype":"float64","shape":[100]}}},"id":"6c63a5be-13d7-4c72-b9c2-2dca7656ffc3","type":"ColumnDataSource"},{"attributes":{"callback":null},"id":"aeaa9014-c7b9-430b-9232-367132a0cc99","type":"DataRange1d"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"ab78b4eb-b687-436d-bde4-d5706ff4a254","type":"Circle"},{"attributes":{"source":{"id":"e14ad2f7-78d9-44d2-b8b6-f9d94ca0a272","type":"ColumnDataSource"}},"id":"4c0660a0-c7fb-427e-abc7-fb1379b02116","type":"CDSView"},{"attributes":{},"id":"6dd79f47-9d03-4860-821c-f3ec4808f3ea","type":"SaveTool"},{"attributes":{"overlay":{"id":"95449c0c-d468-4653-9d40-bc243b1b01a6","type":"BoxAnnotation"}},"id":"31019921-f2e5-4f33-a8d6-583bf95c9a06","type":"BoxZoomTool"},{"attributes":{"line_color":{"value":"green"},"x":{"field":"x"},"y":{"field":"y"}},"id":"2c0428dc-72cd-46ee-91f2-a1f4ac37a6a3","type":"Line"},{"attributes":{},"id":"57f8e4d1-bea5-4201-9262-415e0e42da91","type":"WheelZoomTool"},{"attributes":{"dimension":1,"plot":{"id":"d222f57d-7075-4d3c-9c56-159c4e9bdbbb","subtype":"Figure","type":"Plot"},"ticker":{"id":"ed71ba75-a3ab-495c-877d-c53e532cc325","type":"BasicTicker"}},"id":"479d1d06-c497-4d8b-b69d-e11ea7b738f6","type":"Grid"},{"attributes":{"source":{"id":"6c63a5be-13d7-4c72-b9c2-2dca7656ffc3","type":"ColumnDataSource"}},"id":"caeec59b-7c9a-4a4f-ab91-981c939990a9","type":"CDSView"},{"attributes":{"data_source":{"id":"888550fc-cbd5-4b6b-bcc6-25eff027a1d3","type":"ColumnDataSource"},"glyph":{"id":"489bb9d8-5ec9-4012-b528-79c6f01686e0","type":"Square"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"fa98fcb4-dad5-4b1f-8659-9b1e00cb11f2","type":"Square"},"selection_glyph":null,"view":{"id":"669bf346-537f-4002-ae77-fc3115b4af0d","type":"CDSView"}},"id":"89df92f9-7a70-4ad3-ba95-7c3d3f14216d","type":"GlyphRenderer"},{"attributes":{},"id":"6b9bb615-1608-4694-af07-d3d0ef098014","type":"LinearScale"},{"attributes":{"source":{"id":"888550fc-cbd5-4b6b-bcc6-25eff027a1d3","type":"ColumnDataSource"}},"id":"669bf346-537f-4002-ae77-fc3115b4af0d","type":"CDSView"},{"attributes":{"source":{"id":"961f042b-6f40-41a2-9bde-c6c72c27e797","type":"ColumnDataSource"}},"id":"ae66d7d3-023c-48c5-9084-4a327d595f2c","type":"CDSView"},{"attributes":{"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"c8bb8828-2fd1-41ed-a3b1-cde34e37b25a","type":"Line"},{"attributes":{"data_source":{"id":"6c63a5be-13d7-4c72-b9c2-2dca7656ffc3","type":"ColumnDataSource"},"glyph":{"id":"58ab4661-2fd3-497f-a490-e08ff6b4284e","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"193e6ceb-f028-4b1b-890e-84512af36294","type":"Line"},"selection_glyph":null,"view":{"id":"caeec59b-7c9a-4a4f-ab91-981c939990a9","type":"CDSView"}},"id":"2f4af39d-00b5-4f65-8c0b-0ec3e0eb2e0c","type":"GlyphRenderer"},{"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":"95449c0c-d468-4653-9d40-bc243b1b01a6","type":"BoxAnnotation"},{"attributes":{"plot":{"id":"d222f57d-7075-4d3c-9c56-159c4e9bdbbb","subtype":"Figure","type":"Plot"},"ticker":{"id":"e5cc9ff0-a57f-4a47-98c8-e0f175c82bda","type":"BasicTicker"}},"id":"26d1427e-92c1-40b4-a43f-115a647a72a2","type":"Grid"},{"attributes":{"formatter":{"id":"95f2f0b1-ff85-46ba-86a9-b1b249119127","type":"BasicTickFormatter"},"plot":{"id":"d222f57d-7075-4d3c-9c56-159c4e9bdbbb","subtype":"Figure","type":"Plot"},"ticker":{"id":"ed71ba75-a3ab-495c-877d-c53e532cc325","type":"BasicTicker"}},"id":"67180fa1-72c3-4258-ba1b-6cb5aba8dd92","type":"LinearAxis"},{"attributes":{"callback":null,"column_names":["y","x"],"data":{"x":{"__ndarray__":"AAAAAAAAAACRGkt8Vz/AP5EaS3xXP9A/2qdwOgNf2D+RGkt8Vz/gPzXhXVstT+Q/2qdwOgNf6D9+boMZ2W7sP5EaS3xXP/A/433Ua0JH8j814V1bLU/0P4dE50oYV/Y/2qdwOgNf+D8sC/op7mb6P35ugxnZbvw/0NEMCcR2/j+RGkt8Vz8AQDrMD/RMQwFA433Ua0JHAkCML5njN0sDQDXhXVstTwRA3pIi0yJTBUCHROdKGFcGQDD2q8INWwdA2qdwOgNfCECDWTWy+GIJQCwL+inuZgpA1by+oeNqC0B+boMZ2W4MQCcgSJHOcg1A0NEMCcR2DkB5g9GAuXoPQJEaS3xXPxBAZnMtOFLBEEA6z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ZM7mv5eCD4nhdum/rExY6Hq267+TIxAn7YPtvwSssILL1+6/70I4BJ6s77/vOc8G+P7vvzTGy1KGze+/3176khQZ77/C8a4NiuTtvzGcHq/dNOy/mEFFlgER6r+EGZN4xoHnvx8WPFK3keS/Cli7+O1M4b+HQNqEwoHbv9kfIiFb+NO/gKyggGI5yL8EhrXMjDywvyCGtcyMPLA/jqyggGI5yD/gHyIhW/jTP4BA2oTCgds/Dli7+O1M4T8cFjxSt5HkP4cZk3jGgec/lEFFlgER6j8ynB6v3TTsP8Hxrg2K5O0/4F76khQZ7z80xstShs3vP+85zwb4/u8/8EI4BJ6s7z8DrLCCy9fuP5UjECftg+0/p0xY6Hq26z+Vgg+J4XbpP7fnwwFkzuY/9nixWvXH4z9cE7CRC3DgP9eBYozYqNk/w412/ecH0j/+xDbGYznEP0/bfMmkPqA/+VNHxZdVuL/UKaSyIjPMv+gLinSo49W/+Kg+VZVT3b8mRkW6WiXiv8+HZvErVuW/pig6uxkv6L+TVimJaaTqv1EHwCL7q+y/xFNiW3I97r/Al/eBWVLvv2Zmsvw75u+/g6xao7j2778YHIGMi4Pvv/sjPCWPju6/EyzujrQb7b94zoZi8zDrv4xAIRwx1ui//Bc/lCAV5r9GhZoMGvnivx5NPurYHd+/65MNU1HJ17+SiNkBzxLQv/GDAnguNMC/B1wUMyamwbw=","dtype":"float64","shape":[100]}}},"id":"e14ad2f7-78d9-44d2-b8b6-f9d94ca0a272","type":"ColumnDataSource"},{"attributes":{},"id":"e5cc9ff0-a57f-4a47-98c8-e0f175c82bda","type":"BasicTicker"},{"attributes":{"fill_color":{"value":"#1f77b4"},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"e3c0163c-e7e5-446f-bcd9-2dfe3807a2bf","type":"Circle"},{"attributes":{"formatter":{"id":"84f8b901-7ac2-4e33-9679-889d6df68ed6","type":"BasicTickFormatter"},"plot":{"id":"d222f57d-7075-4d3c-9c56-159c4e9bdbbb","subtype":"Figure","type":"Plot"},"ticker":{"id":"e5cc9ff0-a57f-4a47-98c8-e0f175c82bda","type":"BasicTicker"}},"id":"2ae73e23-9afd-4901-bb61-5876826f537f","type":"LinearAxis"},{"attributes":{"items":[{"id":"bcd6d98b-f744-4891-a09f-b5a03bd30268","type":"LegendItem"},{"id":"af3a5ab1-d5e4-4590-849b-2642e082ad58","type":"LegendItem"},{"id":"4a447d52-29fa-472c-bdf3-6af125c1cb9d","type":"LegendItem"}],"location":[0,-30],"plot":{"id":"d222f57d-7075-4d3c-9c56-159c4e9bdbbb","subtype":"Figure","type":"Plot"}},"id":"84819c5b-22b3-4b1b-bb63-1741debc69a5","type":"Legend"},{"attributes":{"below":[{"id":"2ae73e23-9afd-4901-bb61-5876826f537f","type":"LinearAxis"}],"left":[{"id":"67180fa1-72c3-4258-ba1b-6cb5aba8dd92","type":"LinearAxis"}],"renderers":[{"id":"2ae73e23-9afd-4901-bb61-5876826f537f","type":"LinearAxis"},{"id":"26d1427e-92c1-40b4-a43f-115a647a72a2","type":"Grid"},{"id":"67180fa1-72c3-4258-ba1b-6cb5aba8dd92","type":"LinearAxis"},{"id":"479d1d06-c497-4d8b-b69d-e11ea7b738f6","type":"Grid"},{"id":"95449c0c-d468-4653-9d40-bc243b1b01a6","type":"BoxAnnotation"},{"id":"c192627a-9b24-4498-ab73-5e966461fd4c","type":"GlyphRenderer"},{"id":"859a3f0d-49d0-4230-99e3-09148efb1e04","type":"GlyphRenderer"},{"id":"2f4af39d-00b5-4f65-8c0b-0ec3e0eb2e0c","type":"GlyphRenderer"},{"id":"89df92f9-7a70-4ad3-ba95-7c3d3f14216d","type":"GlyphRenderer"},{"id":"a9715738-4292-4a00-9249-4c63c3811571","type":"GlyphRenderer"},{"id":"84819c5b-22b3-4b1b-bb63-1741debc69a5","type":"Legend"}],"right":[{"id":"84819c5b-22b3-4b1b-bb63-1741debc69a5","type":"Legend"}],"title":{"id":"f20b958c-f041-4b5f-a1e3-f6d4ba6a693d","type":"Title"},"toolbar":{"id":"171fe390-7d4d-4e1f-acd7-cd338fd6cf88","type":"Toolbar"},"toolbar_location":"above","x_range":{"id":"aeaa9014-c7b9-430b-9232-367132a0cc99","type":"DataRange1d"},"x_scale":{"id":"6b9bb615-1608-4694-af07-d3d0ef098014","type":"LinearScale"},"y_range":{"id":"e9c0193e-1f2c-48da-8ceb-479870cad1a9","type":"DataRange1d"},"y_scale":{"id":"48930a9b-00c8-49d4-a29f-3deb7b80b9c2","type":"LinearScale"}},"id":"d222f57d-7075-4d3c-9c56-159c4e9bdbbb","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"847a857a-b7ac-4b0b-9d38-cae53c9c1931","type":"PanTool"},{"attributes":{"label":{"value":"3*sin(x)"},"renderers":[{"id":"89df92f9-7a70-4ad3-ba95-7c3d3f14216d","type":"GlyphRenderer"},{"id":"a9715738-4292-4a00-9249-4c63c3811571","type":"GlyphRenderer"}]},"id":"4a447d52-29fa-472c-bdf3-6af125c1cb9d","type":"LegendItem"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"e2de0872-1232-4cab-ada4-ddcea04bf6a8","type":"Line"},{"attributes":{"label":{"value":"sin(x)"},"renderers":[{"id":"c192627a-9b24-4498-ab73-5e966461fd4c","type":"GlyphRenderer"},{"id":"859a3f0d-49d0-4230-99e3-09148efb1e04","type":"GlyphRenderer"}]},"id":"bcd6d98b-f744-4891-a09f-b5a03bd30268","type":"LegendItem"},{"attributes":{"label":{"value":"2*sin(x)"},"renderers":[{"id":"2f4af39d-00b5-4f65-8c0b-0ec3e0eb2e0c","type":"GlyphRenderer"}]},"id":"af3a5ab1-d5e4-4590-849b-2642e082ad58","type":"LegendItem"},{"attributes":{},"id":"48930a9b-00c8-49d4-a29f-3deb7b80b9c2","type":"LinearScale"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"a9c069ef-4795-4729-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Rwx1ui//Bc/lCAV5r9GhZoMGvnivx5NPurYHd+/65MNU1HJ17+SiNkBzxLQv/GDAnguNMC/B1wUMyamwbw=","dtype":"float64","shape":[100]}}},"id":"961f042b-6f40-41a2-9bde-c6c72c27e797","type":"ColumnDataSource"},{"attributes":{},"id":"84f8b901-7ac2-4e33-9679-889d6df68ed6","type":"BasicTickFormatter"},{"attributes":{"callback":null},"id":"e9c0193e-1f2c-48da-8ceb-479870cad1a9","type":"DataRange1d"},{"attributes":{},"id":"ed71ba75-a3ab-495c-877d-c53e532cc325","type":"BasicTicker"},{"attributes":{},"id":"af0d8d14-8f09-4d43-8197-c1a220982adb","type":"ResetTool"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"line_dash":[4,4],"line_width":{"value":2},"x":{"field":"x"},"y":{"field":"y"}},"id":"193e6ceb-f028-4b1b-890e-84512af36294","type":"Line"},{"attributes":{"callback":null,"column_names":["x","y"],"data":{"x":{"__ndarray__":"AAAAAAAAAACRGkt8Vz/AP5EaS3xXP9A/2qdwOgNf2D+RGkt8Vz/gPzXhXVstT+Q/2qdwOgNf6D9+boMZ2W7sP5EaS3xXP/A/433Ua0JH8j814V1bLU/0P4dE50oYV/Y/2qdwOgNf+D8sC/op7mb6P35ugxnZbvw/0NEMCcR2/j+RGkt8Vz8AQDrMD/RMQwFA433Ua0JHAkCML5njN0sDQDXhXVstTwRA3pIi0yJTBUCHROdKGFcGQDD2q8INWwdA2qdwOgNfCECDWTWy+GIJQCwL+inuZgpA1by+oeNqC0B+boMZ2W4MQCcgSJHOcg1A0NEMCcR2DkB5g9GAuXoPQJEaS3xXPxBAZnMtOFLBEEA6zA/0TEMRQA8l8q9HxRFA433Ua0JHEkC41rYnPckSQIwvmeM3SxNAYYh7nzLNE0A14V1bLU8UQAo6QBco0RRA3pIi0yJTFUCz6wSPHdUVQIdE50oYVxZAXJ3JBhPZFkAw9qvCDVsXQAVPjn4I3RdA2qdwOgNfGECuAFP2/eAYQINZN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jUaH0v8Yvs7GI9O2/YIF44Akr4r8GSRAz01rIvzBJEDPTWsg/aoF44Akr4j/QL7OxiPTtP2Cwo+NRofQ/FQQZ9WTz+T8qIVr7ktr+PyVTbtpUoQFAL/GzMMGMA0Am9VZDpicFQFE1Q4pnawZAKMc7bs9SB0Cn1Bi+JNoHQHNrGwU6/wdANDIqg3bBB0ACgQSi2CEHQLAaTN3xIgZAfTlCLtzIBEDwocsmKRkDQMntUgHLGgFAcTUKCPCr/T8KHYhaEaj4P2HhSWmiPvM/pNQx/NsL6z99J1KpFVbeP/ZIOy73Xbg/+3710zFA0r9fH/sFWiblv+6IZ1e+avC/uv7u/6/+9b856WcXCDj7v9vlDPWgAADAfJ5rTFMjAsDuAN8mT/sDwH0FEFr8gAXA076JxBWuBsDQsXkhw30HwMzMhf2s7AfAYgGEegr5B8AS1WCpqKIHwPwa7Vvr6gbADqEya8fUBcDaGuWJtmQEwGnwGNWkoALA/VEvb9iPAMDpx+cSp3X8v9a5rq9iVve/8C5K/vzW8b/bTMaCNhzov+rFA7RFTti/CoqeTDl52rw=","dtype":"float64","shape":[100]}}},"id":"e808d091-562e-4461-802e-bc888ae10fc6","type":"ColumnDataSource"},{"attributes":{"fill_color":{"value":null},"line_color":{"value":"green"},"x":{"field":"x"},"y":{"field":"y"}},"id":"489bb9d8-5ec9-4012-b528-79c6f01686e0","type":"Square"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"847a857a-b7ac-4b0b-9d38-cae53c9c1931","type":"PanTool"},{"id":"57f8e4d1-bea5-4201-9262-415e0e42da91","type":"WheelZoomTool"},{"id":"31019921-f2e5-4f33-a8d6-583bf95c9a06","type":"BoxZoomTool"},{"id":"6dd79f47-9d03-4860-821c-f3ec4808f3ea","type":"SaveTool"},{"id":"af0d8d14-8f09-4d43-8197-c1a220982adb","type":"ResetTool"},{"id":"1bbefaa7-6446-4589-9ed4-44af5c662048","type":"HelpTool"}]},"id":"171fe390-7d4d-4e1f-acd7-cd338fd6cf88","type":"Toolbar"},{"attributes":{"data_source":{"id":"e14ad2f7-78d9-44d2-b8b6-f9d94ca0a272","type":"ColumnDataSource"},"glyph":{"id":"c8bb8828-2fd1-41ed-a3b1-cde34e37b25a","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"a9c069ef-4795-4729-9726-e3e50a769976","type":"Line"},"selection_glyph":null,"view":{"id":"4c0660a0-c7fb-427e-abc7-fb1379b02116","type":"CDSView"}},"id":"859a3f0d-49d0-4230-99e3-09148efb1e04","type":"GlyphRenderer"}],"root_ids":["d222f57d-7075-4d3c-9c56-159c4e9bdbbb"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"d307104b-8cc7-45a7-9a65-c19876276a17","elementid":"938e6b79-aa11-470a-9ab0-de6e778c9f5a","modelid":"d222f57d-7075-4d3c-9c56-159c4e9bdbbb"}];
                
                    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);
})();
