(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("7a28c9e7-ee43-4b84-bf8e-71264c611b86");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid '7a28c9e7-ee43-4b84-bf8e-71264c611b86' 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 = {"875c5cde-eca3-46ff-a874-cc923ff7a76e":{"roots":{"references":[{"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/EvvgeQHmD0YC5eh9ATdyzPLT8H0CRGkt8Vz8gQPtGPNpUgCBAZnMtOFLBIEDQnx6WTwIhQDrMD/RMQyFApPgAUkqEIUAPJfKvR8UhQHlR4w1FBiJA433Ua0JHIkBNqsXJP4giQLjWtic9ySJAIgOohToKI0CML5njN0sjQPZbikE1jCNAYYh7nzLNI0DLtGz9Lw4kQDXhXVstTyRAoA1PuSqQJEAKOkAXKNEkQHRmMXUlEiVA3p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Tqv1EHwCL7q+y/xFNiW3I97r/Al/eBWVLvv2Zmsvw75u+/g6xao7j2778YHIGMi4Pvv/sjPCWPju6/EyzujrQb7b94zoZi8zDrv4xAIRwx1ui//Bc/lCAV5r9GhZoMGvnivx5NPurYHd+/65MNU1HJ17+SiNkBzxLQv/GDAnguNMC/B1wUMyamwbw=","dtype":"float64","shape":[100]}}},"id":"1c5e27e5-faca-485e-8c24-6cc4229b638e","type":"ColumnDataSource"},{"attributes":{"formatter":{"id":"64a72349-897b-4463-a3b3-3282a484225c","type":"BasicTickFormatter"},"plot":{"id":"e60dd78a-007c-4589-81bd-951671dd835c","subtype":"Figure","type":"Plot"},"ticker":{"id":"57206690-b04b-4f7f-bf26-957b709e4861","type":"BasicTicker"}},"id":"3979b4dd-cd6a-457f-b695-efe9e07e0058","type":"LinearAxis"},{"attributes":{"source":{"id":"48547ef1-cfa3-49a6-b080-80245f455dcd","type":"ColumnDataSource"}},"id":"b4542c78-9012-4b0a-91a9-3563ee58cb44","type":"CDSView"},{"attributes":{"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"942ed9d5-5a9f-44a6-99ab-705c6996cf96","type":"Line"},{"attributes":{"callback":null},"id":"78a4d173-600c-434c-b1f5-b24ebad76774","type":"DataRange1d"},{"attributes":{"plot":null,"text":""},"id":"25581b82-d7ec-4a67-a7fa-884ff84fad81","type":"Title"},{"attributes":{},"id":"1d76177d-49f9-4bea-a7ef-26fe74977c17","type":"WheelZoomTool"},{"attributes":{"data_source":{"id":"54548a05-2645-41e2-96d5-100392731cb1","type":"ColumnDataSource"},"glyph":{"id":"76b4d6b8-bd8c-46e0-943c-abb96a853acd","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"a128f46f-15eb-4334-8b3f-945f666de656","type":"Line"},"selection_glyph":null,"view":{"id":"51d1b31b-1021-4d57-bd01-8222f0721bcb","type":"CDSView"}},"id":"b5c9da54-92de-4c8b-8887-54f0c8777fbf","type":"GlyphRenderer"},{"attributes":{"source":{"id":"1c5e27e5-faca-485e-8c24-6cc4229b638e","type":"ColumnDataSource"}},"id":"bcb2ee3e-fca9-49fc-bbff-a3951d5dd274","type":"CDSView"},{"attributes":{},"id":"884d36b7-7f3e-45d8-85d1-4d3d0b0d1362","type":"BasicTickFormatter"},{"attributes":{"callback":null},"id":"9ed3283b-d49a-40b7-a037-c8e2906cb402","type":"DataRange1d"},{"attributes":{"source":{"id":"0b6c19a4-c661-4cb5-a3b3-0af6f2ffd1de","type":"ColumnDataSource"}},"id":"6f98552b-2cad-4067-99f0-926d27971fd1","type":"CDSView"},{"attributes":{},"id":"b9872c70-2c8c-4586-9da7-f229cab5bcfd","type":"HelpTool"},{"attributes":{"formatter":{"id":"884d36b7-7f3e-45d8-85d1-4d3d0b0d1362","type":"BasicTickFormatter"},"plot":{"id":"e60dd78a-007c-4589-81bd-951671dd835c","subtype":"Figure","type":"Plot"},"ticker":{"id":"187ef02a-9f65-47de-a5d2-be37462f4cd9","type":"BasicTicker"}},"id":"12e66154-aaaa-46fb-b38b-dd90c4598024","type":"LinearAxis"},{"attributes":{},"id":"adbfbc0d-a0a5-456a-bc27-3d996f235fc7","type":"LinearScale"},{"attributes":{"source":{"id":"54548a05-2645-41e2-96d5-100392731cb1","type":"ColumnDataSource"}},"id":"51d1b31b-1021-4d57-bd01-8222f0721bcb","type":"CDSView"},{"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+GIJQC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rwP2wf+wVaJuU/5X710zFA0j+sSTsu9124v2QnUqkVVt6/o9Qx/NsL679m4Ulpoj7zvxQdiFoRqPi/bDUKCPCr/b/I7VIByxoBwPGhyyYpGQPAgTlCLtzIBMCuGkzd8SIGwAOBBKLYIQfAMzIqg3bBB8BzaxsFOv8HwKfUGL4k2gfAJ8c7bs9SB8BSNUOKZ2sGwCX1VkOmJwXAMvGzMMGMA8AjU27aVKEBwC4hWvuS2v6/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":"0b6c19a4-c661-4cb5-a3b3-0af6f2ffd1de","type":"ColumnDataSource"},{"attributes":{"line_color":{"value":"green"},"x":{"field":"x"},"y":{"field":"y"}},"id":"76b4d6b8-bd8c-46e0-943c-abb96a853acd","type":"Line"},{"attributes":{"overlay":{"id":"a842c4cc-a881-41b1-96ef-9cf46369b5de","type":"BoxAnnotation"}},"id":"067434a8-d85d-4ce0-9e02-af3c2c8a5c4a","type":"BoxZoomTool"},{"attributes":{"label":{"value":"sin(x)"},"renderers":[{"id":"2eee3d0c-6985-4d70-8820-e31fdb2838b8","type":"GlyphRenderer"},{"id":"6f80145f-f8f1-4f5a-adab-6c92911209ba","type":"GlyphRenderer"}]},"id":"6770d937-3da5-4044-a135-9f6b47033227","type":"LegendItem"},{"attributes":{"plot":{"id":"e60dd78a-007c-4589-81bd-951671dd835c","subtype":"Figure","type":"Plot"},"ticker":{"id":"187ef02a-9f65-47de-a5d2-be37462f4cd9","type":"BasicTicker"}},"id":"57fdc897-e3f0-4ebc-ba64-d4feacaa365f","type":"Grid"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"8103f9a3-4b92-4377-8a0b-856c314fed37","type":"PanTool"},{"id":"1d76177d-49f9-4bea-a7ef-26fe74977c17","type":"WheelZoomTool"},{"id":"067434a8-d85d-4ce0-9e02-af3c2c8a5c4a","type":"BoxZoomTool"},{"id":"280e8f8a-719a-4dd8-98cb-2ea61f32be00","type":"SaveTool"},{"id":"e2af137e-f091-4707-ba8a-fc0ecfd6a1a3","type":"ResetTool"},{"id":"b9872c70-2c8c-4586-9da7-f229cab5bcfd","type":"HelpTool"}]},"id":"081effa1-5d08-43bd-b8a5-d9c65fefa221","type":"Toolbar"},{"attributes":{},"id":"280e8f8a-719a-4dd8-98cb-2ea61f32be00","type":"SaveTool"},{"attributes":{"source":{"id":"2f8eeafd-1e1d-4635-8154-27949360a344","type":"ColumnDataSource"}},"id":"e86114b7-b053-4316-81a5-f9d62c7b77d8","type":"CDSView"},{"attributes":{"fill_color":{"value":"#1f77b4"},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"69baf3fe-5330-4edb-ae7e-e1766541ac57","type":"Circle"},{"attributes":{"callback":null,"column_names":["y","x"],"data":{"x":{"__ndarray__":"AAAAAAAAAACRGkt8Vz/AP5EaS3xXP9A/2qd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}},"id":"48547ef1-cfa3-49a6-b080-80245f455dcd","type":"ColumnDataSource"},{"attributes":{"label":{"value":"3*sin(x)"},"renderers":[{"id":"6420a093-cc56-4b3e-a3b3-f992d5c2c406","type":"GlyphRenderer"},{"id":"b5c9da54-92de-4c8b-8887-54f0c8777fbf","type":"GlyphRenderer"}]},"id":"48ba2144-61b1-4d9f-9ff8-e4007e99e9e8","type":"LegendItem"},{"attributes":{},"id":"e2af137e-f091-4707-ba8a-fc0ecfd6a1a3","type":"ResetTool"},{"attributes":{"fill_color":{"value":null},"line_color":{"value":"green"},"x":{"field":"x"},"y":{"field":"y"}},"id":"11c8cd5b-f338-4aba-8dba-578ea204ad04","type":"Square"},{"attributes":{"label":{"value":"2*sin(x)"},"renderers":[{"id":"3c6f3a39-b96f-456a-b9a2-0aa7b690bb5b","type":"GlyphRenderer"}]},"id":"47c6df19-712b-4e4d-916c-0b46f1b88453","type":"LegendItem"},{"attributes":{},"id":"64a72349-897b-4463-a3b3-3282a484225c","type":"BasicTickFormatter"},{"attributes":{},"id":"187ef02a-9f65-47de-a5d2-be37462f4cd9","type":"BasicTicker"},{"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":"a842c4cc-a881-41b1-96ef-9cf46369b5de","type":"BoxAnnotation"},{"attributes":{"below":[{"id":"12e66154-aaaa-46fb-b38b-dd90c4598024","type":"LinearAxis"}],"left":[{"id":"3979b4dd-cd6a-457f-b695-efe9e07e0058","type":"LinearAxis"}],"renderers":[{"id":"12e66154-aaaa-46fb-b38b-dd90c4598024","type":"LinearAxis"},{"id":"57fdc897-e3f0-4ebc-ba64-d4feacaa365f","type":"Grid"},{"id":"3979b4dd-cd6a-457f-b695-efe9e07e0058","type":"LinearAxis"},{"id":"6275856c-9bf9-4516-a336-24e24d2bb05b","type":"Grid"},{"id":"a842c4cc-a881-41b1-96ef-9cf46369b5de","type":"BoxAnnotation"},{"id":"2eee3d0c-6985-4d70-8820-e31fdb2838b8","type":"GlyphRenderer"},{"id":"6f80145f-f8f1-4f5a-adab-6c92911209ba","type":"GlyphRenderer"},{"id":"3c6f3a39-b96f-456a-b9a2-0aa7b690bb5b","type":"GlyphRenderer"},{"id":"6420a093-cc56-4b3e-a3b3-f992d5c2c406","type":"GlyphRenderer"},{"id":"b5c9da54-92de-4c8b-8887-54f0c8777fbf","type":"GlyphRenderer"},{"id":"3a30aaf2-6ee6-4e7e-b09d-32a0ce585ede","type":"Legend"}],"right":[{"id":"3a30aaf2-6ee6-4e7e-b09d-32a0ce585ede","type":"Legend"}],"title":{"id":"25581b82-d7ec-4a67-a7fa-884ff84fad81","type":"Title"},"toolbar":{"id":"081effa1-5d08-43bd-b8a5-d9c65fefa221","type":"Toolbar"},"toolbar_location":"above","x_range":{"id":"9ed3283b-d49a-40b7-a037-c8e2906cb402","type":"DataRange1d"},"x_scale":{"id":"4b4407f9-b64c-473b-ae33-b4074b897a95","type":"LinearScale"},"y_range":{"id":"78a4d173-600c-434c-b1f5-b24ebad76774","type":"DataRange1d"},"y_scale":{"id":"adbfbc0d-a0a5-456a-bc27-3d996f235fc7","type":"LinearScale"}},"id":"e60dd78a-007c-4589-81bd-951671dd835c","subtype":"Figure","type":"Plot"},{"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":"978bad57-5257-4376-a881-8b7081d3c91a","type":"Circle"},{"attributes":{"data_source":{"id":"1c5e27e5-faca-485e-8c24-6cc4229b638e","type":"ColumnDataSource"},"glyph":{"id":"69baf3fe-5330-4edb-ae7e-e1766541ac57","type":"Circle"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"978bad57-5257-4376-a881-8b7081d3c91a","type":"Circle"},"selection_glyph":null,"view":{"id":"bcb2ee3e-fca9-49fc-bbff-a3951d5dd274","type":"CDSView"}},"id":"2eee3d0c-6985-4d70-8820-e31fdb2838b8","type":"GlyphRenderer"},{"attributes":{"data_source":{"id":"48547ef1-cfa3-49a6-b080-80245f455dcd","type":"ColumnDataSource"},"glyph":{"id":"942ed9d5-5a9f-44a6-99ab-705c6996cf96","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"7643996e-94f7-4df4-84f0-66071ccf4eac","type":"Line"},"selection_glyph":null,"view":{"id":"b4542c78-9012-4b0a-91a9-3563ee58cb44","type":"CDSView"}},"id":"6f80145f-f8f1-4f5a-adab-6c92911209ba","type":"GlyphRenderer"},{"attributes":{"dimension":1,"plot":{"id":"e60dd78a-007c-4589-81bd-951671dd835c","subtype":"Figure","type":"Plot"},"ticker":{"id":"57206690-b04b-4f7f-bf26-957b709e4861","type":"BasicTicker"}},"id":"6275856c-9bf9-4516-a336-24e24d2bb05b","type":"Grid"},{"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":"aaf8aa60-23da-46a2-912f-857574d614e7","type":"Line"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"a128f46f-15eb-4334-8b3f-945f666de656","type":"Line"},{"attributes":{"data_source":{"id":"0b6c19a4-c661-4cb5-a3b3-0af6f2ffd1de","type":"ColumnDataSource"},"glyph":{"id":"11c8cd5b-f338-4aba-8dba-578ea204ad04","type":"Square"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"7bf997da-b914-4cfc-a2a6-dfb3642b2022","type":"Square"},"selection_glyph":null,"view":{"id":"6f98552b-2cad-4067-99f0-926d27971fd1","type":"CDSView"}},"id":"6420a093-cc56-4b3e-a3b3-f992d5c2c406","type":"GlyphRenderer"},{"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":"7bf997da-b914-4cfc-a2a6-dfb3642b2022","type":"Square"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"7643996e-94f7-4df4-84f0-66071ccf4eac","type":"Line"},{"attributes":{"line_color":{"value":"orange"},"line_dash":[4,4],"line_width":{"value":2},"x":{"field":"x"},"y":{"field":"y"}},"id":"4632327f-9893-4956-bdf2-626eae2872fd","type":"Line"},{"attributes":{"items":[{"id":"6770d937-3da5-4044-a135-9f6b47033227","type":"LegendItem"},{"id":"47c6df19-712b-4e4d-916c-0b46f1b88453","type":"LegendItem"},{"id":"48ba2144-61b1-4d9f-9ff8-e4007e99e9e8","type":"LegendItem"}],"location":[0,-30],"plot":{"id":"e60dd78a-007c-4589-81bd-951671dd835c","subtype":"Figure","type":"Plot"}},"id":"3a30aaf2-6ee6-4e7e-b09d-32a0ce585ede","type":"Legend"},{"attributes":{"data_source":{"id":"2f8eeafd-1e1d-4635-8154-27949360a344","type":"ColumnDataSource"},"glyph":{"id":"4632327f-9893-4956-bdf2-626eae2872fd","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"aaf8aa60-23da-46a2-912f-857574d614e7","type":"Line"},"selection_glyph":null,"view":{"id":"e86114b7-b053-4316-81a5-f9d62c7b77d8","type":"CDSView"}},"id":"3c6f3a39-b96f-456a-b9a2-0aa7b690bb5b","type":"GlyphRenderer"},{"attributes":{},"id":"4b4407f9-b64c-473b-ae33-b4074b897a95","type":"LinearScale"},{"attributes":{},"id":"8103f9a3-4b92-4377-8a0b-856c314fed37","type":"PanTool"},{"attributes":{"callback":null,"column_names":["y","x"],"data":{"x":{"__ndarray__":"AAAAAAAAAACRGkt8Vz/AP5EaS3xXP9A/2qdwOgNf2D+RGkt8V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}}},"id":"2f8eeafd-1e1d-4635-8154-27949360a344","type":"ColumnDataSource"},{"attributes":{},"id":"57206690-b04b-4f7f-bf26-957b709e4861","type":"BasicTicker"},{"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/eAYQINZNbL4YhlAV7IXbvPkGUAsC/op7mYaQABk3OXo6BpA1by+oeNqG0CpFaFd3uwbQH5ugxnZbhxAUsdl1dPwHEAnIEiRznIdQPt4Kk3J9B1A0NEMCcR2HkCkKu/EvvgeQHmD0YC5eh9ATdyzPLT8H0CRGkt8Vz8gQPtGPNpUgCBAZnMtOFLBIEDQnx6WTwIhQDrMD/RMQyFApPgAUkqEIUAPJfKvR8UhQHlR4w1FBiJA433Ua0JHIkBNqsXJP4giQLjWtic9ySJAIgOohToKI0CML5njN0sjQPZbikE1jCNAYYh7nzLNI0DLtGz9Lw4kQDXhXVstTyRAoA1PuSqQJEAKOkAXKNEkQHRmMXUlEiVA3pIi0yJTJUBJvxMxIJQlQLPrB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uAN8mT/sDwH0FEFr8gAXA076JxBWuBsDQsXkhw30HwMzMhf2s7AfAYgGEegr5B8AS1WCpqKIHwPwa7Vvr6gbADqEya8fUBcDaGuWJtmQEwGnwGNWkoALA/VEvb9iPAMDpx+cSp3X8v9a5rq9iVve/8C5K/vzW8b/bTMaCNhzov+rFA7RFTti/CoqeTDl52rw=","dtype":"float64","shape":[100]}}},"id":"54548a05-2645-41e2-96d5-100392731cb1","type":"ColumnDataSource"}],"root_ids":["e60dd78a-007c-4589-81bd-951671dd835c"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"875c5cde-eca3-46ff-a874-cc923ff7a76e","elementid":"7a28c9e7-ee43-4b84-bf8e-71264c611b86","modelid":"e60dd78a-007c-4589-81bd-951671dd835c"}];
                
                    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);
})();
