(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("fc4ba51f-df1a-43ec-b886-d72c5d83cefa");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid 'fc4ba51f-df1a-43ec-b886-d72c5d83cefa' 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 = {"2c151150-c6aa-4dd6-adff-f991caf11af5":{"roots":{"references":[{"attributes":{"data_source":{"id":"bd147f24-3ca2-4e9d-a6ce-78a3ddad3748","type":"ColumnDataSource"},"glyph":{"id":"cf62dd0f-0fee-475d-9557-24a8e6c65733","type":"Circle"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"46e03140-8dc7-4a6f-8268-93ea1b306353","type":"Circle"},"selection_glyph":null,"view":{"id":"2ca2e210-ecf3-441c-8bdd-ea4f6a13d1a4","type":"CDSView"}},"id":"f4acd333-fa9a-4128-9a4f-47d67a80d418","type":"GlyphRenderer"},{"attributes":{"fill_color":{"value":"#1f77b4"},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"cf62dd0f-0fee-475d-9557-24a8e6c65733","type":"Circle"},{"attributes":{},"id":"85bce8a7-8b0c-422e-902a-a0a39cedfb73","type":"BasicTicker"},{"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":"46e03140-8dc7-4a6f-8268-93ea1b306353","type":"Circle"},{"attributes":{"source":{"id":"bd147f24-3ca2-4e9d-a6ce-78a3ddad3748","type":"ColumnDataSource"}},"id":"2ca2e210-ecf3-441c-8bdd-ea4f6a13d1a4","type":"CDSView"},{"attributes":{},"id":"ef3693ed-33cd-4d87-ae09-841cf40ea693","type":"HelpTool"},{"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":"792361be-2af6-41c5-add1-9ab32012ddef","type":"Line"},{"attributes":{},"id":"27d938a6-daf2-47fc-8dd6-224024149fdc","type":"BasicTickFormatter"},{"attributes":{"data_source":{"id":"185c1db5-4faa-47bb-831e-8e32c6c68736","type":"ColumnDataSource"},"glyph":{"id":"b22c99e8-af2b-4fc6-b73e-8827ae18e6a9","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"eb2e7793-3428-40ba-b831-c7edd6343e38","type":"Line"},"selection_glyph":null,"view":{"id":"e3b604fd-6930-4df9-a35a-af1cacea0dcc","type":"CDSView"}},"id":"d79a4ad8-c8a8-4dd1-830f-916d7f33dc4e","type":"GlyphRenderer"},{"attributes":{"data_source":{"id":"62f78d44-d1b8-4df1-be63-03f26b787374","type":"ColumnDataSource"},"glyph":{"id":"e0ace1b7-7937-4dd5-b661-00b3945d1e2b","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"792361be-2af6-41c5-add1-9ab32012ddef","type":"Line"},"selection_glyph":null,"view":{"id":"dcf433eb-1214-4341-b46b-d4cf4b610be8","type":"CDSView"}},"id":"b9de4382-ee92-42ab-baaa-2202e787d9ba","type":"GlyphRenderer"},{"attributes":{"fill_color":{"value":null},"line_color":{"value":"green"},"x":{"field":"x"},"y":{"field":"y"}},"id":"80c2a016-80da-4dcd-9ba7-b0ac90e166e8","type":"Square"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"c5cd2e9a-3335-4b83-b995-164763e4ef0c","type":"Line"},{"attributes":{"data_source":{"id":"a00cbe03-aa25-49d6-b5cb-1721b901e0e8","type":"ColumnDataSource"},"glyph":{"id":"4c85f401-b998-41f8-9737-127eda441797","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"c5cd2e9a-3335-4b83-b995-164763e4ef0c","type":"Line"},"selection_glyph":null,"view":{"id":"3d4d355f-6e74-4bdb-8dcf-4827181aae2b","type":"CDSView"}},"id":"825fbe16-6ae8-4cde-aea2-4f80b066057e","type":"GlyphRenderer"},{"attributes":{"callback":null,"column_names":["y","x"],"data":{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MDpx+cSp3X8v9a5rq9iVve/8C5K/vzW8b/bTMaCNhzov+rFA7RFTti/CoqeTDl52rw=","dtype":"float64","shape":[100]}}},"id":"215145ff-692f-47b7-8b44-de1d5610a084","type":"ColumnDataSource"},{"attributes":{"below":[{"id":"e0a0c3d8-ebe6-4acd-b0e8-ffaddf4bfd94","type":"LinearAxis"}],"left":[{"id":"01a3361b-1b44-479c-9a15-6171e1d3235e","type":"LinearAxis"}],"renderers":[{"id":"e0a0c3d8-ebe6-4acd-b0e8-ffaddf4bfd94","type":"LinearAxis"},{"id":"f29a80e6-960d-49e2-aabe-e01c2eec7bbd","type":"Grid"},{"id":"01a3361b-1b44-479c-9a15-6171e1d3235e","type":"LinearAxis"},{"id":"95204dbd-8092-474b-8468-96ed3826ea8a","type":"Grid"},{"id":"d7a4345a-83a1-4b0f-8115-2320ebd25f4f","type":"BoxAnnotation"},{"id":"e5eef78e-c21c-41e3-97c5-398dc0ebce7e","type":"Legend"},{"id":"f4acd333-fa9a-4128-9a4f-47d67a80d418","type":"GlyphRenderer"},{"id":"d79a4ad8-c8a8-4dd1-830f-916d7f33dc4e","type":"GlyphRenderer"},{"id":"b9de4382-ee92-42ab-baaa-2202e787d9ba","type":"GlyphRenderer"},{"id":"119ca90a-c7c9-471f-b418-e8543a1544c4","type":"GlyphRenderer"},{"id":"825fbe16-6ae8-4cde-aea2-4f80b066057e","type":"GlyphRenderer"}],"title":{"id":"90c97d1d-d839-4957-809c-8ce62aa1a22a","type":"Title"},"toolbar":{"id":"0354f966-5091-48d9-8229-9b41c86a1b58","type":"Toolbar"},"x_range":{"id":"07b6938a-2789-4853-a328-a790104fabec","type":"DataRange1d"},"x_scale":{"id":"f76ed01a-c5cf-4f60-88c6-716a97f52568","type":"LinearScale"},"y_range":{"id":"a7df620d-d69e-452f-be42-754fcb6c7548","type":"DataRange1d"},"y_scale":{"id":"968d5d6e-81e5-4550-96d8-cd85d7bcbf32","type":"LinearScale"}},"id":"77185501-f9fd-4393-85c6-72418e2bc401","subtype":"Figure","type":"Plot"},{"attributes":{"formatter":{"id":"7a57e7a9-9162-4dda-b32e-bd8a13d81ff6","type":"BasicTickFormatter"},"plot":{"id":"77185501-f9fd-4393-85c6-72418e2bc401","subtype":"Figure","type":"Plot"},"ticker":{"id":"85bce8a7-8b0c-422e-902a-a0a39cedfb73","type":"BasicTicker"}},"id":"01a3361b-1b44-479c-9a15-6171e1d3235e","type":"LinearAxis"},{"attributes":{"plot":{"id":"77185501-f9fd-4393-85c6-72418e2bc401","subtype":"Figure","type":"Plot"},"ticker":{"id":"bbc0b859-b260-488b-b83c-41e02d4f1b16","type":"BasicTicker"}},"id":"f29a80e6-960d-49e2-aabe-e01c2eec7bbd","type":"Grid"},{"attributes":{},"id":"7a57e7a9-9162-4dda-b32e-bd8a13d81ff6","type":"BasicTickFormatter"},{"attributes":{},"id":"84c440c6-c4e7-4323-8994-9754d3b989f9","type":"ResetTool"},{"attributes":{},"id":"f76ed01a-c5cf-4f60-88c6-716a97f52568","type":"LinearScale"},{"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/0TEMRQA8l8q9HxRFA433Ua0JHEkC41rYnPckSQIwvmeM3SxNAYYh7nzLNE0A14V1bLU8UQAo6QBco0RRA3pIi0yJTFUCz6wSPHdUVQIdE50o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FFlgER6r+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":"bd147f24-3ca2-4e9d-a6ce-78a3ddad3748","type":"ColumnDataSource"},{"attributes":{"source":{"id":"a00cbe03-aa25-49d6-b5cb-1721b901e0e8","type":"ColumnDataSource"}},"id":"3d4d355f-6e74-4bdb-8dcf-4827181aae2b","type":"CDSView"},{"attributes":{"label":{"value":"3*sin(x)"},"renderers":[{"id":"119ca90a-c7c9-471f-b418-e8543a1544c4","type":"GlyphRenderer"},{"id":"825fbe16-6ae8-4cde-aea2-4f80b066057e","type":"GlyphRenderer"}]},"id":"642dc808-74cb-4364-b01c-e5df002ccda4","type":"LegendItem"},{"attributes":{"source":{"id":"185c1db5-4faa-47bb-831e-8e32c6c68736","type":"ColumnDataSource"}},"id":"e3b604fd-6930-4df9-a35a-af1cacea0dcc","type":"CDSView"},{"attributes":{"label":{"value":"sin(x)"},"renderers":[{"id":"f4acd333-fa9a-4128-9a4f-47d67a80d418","type":"GlyphRenderer"},{"id":"d79a4ad8-c8a8-4dd1-830f-916d7f33dc4e","type":"GlyphRenderer"}]},"id":"2177839f-d69b-4dc2-9539-a7504eb01073","type":"LegendItem"},{"attributes":{"line_color":{"value":"green"},"x":{"field":"x"},"y":{"field":"y"}},"id":"4c85f401-b998-41f8-9737-127eda441797","type":"Line"},{"attributes":{"dimension":1,"plot":{"id":"77185501-f9fd-4393-85c6-72418e2bc401","subtype":"Figure","type":"Plot"},"ticker":{"id":"85bce8a7-8b0c-422e-902a-a0a39cedfb73","type":"BasicTicker"}},"id":"95204dbd-8092-474b-8468-96ed3826ea8a","type":"Grid"},{"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":"9e78d0e5-ec40-4686-b1ee-dec55380eea2","type":"Square"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"eb2e7793-3428-40ba-b831-c7edd6343e38","type":"Line"},{"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":"d7a4345a-83a1-4b0f-8115-2320ebd25f4f","type":"BoxAnnotation"},{"attributes":{"callback":null},"id":"07b6938a-2789-4853-a328-a790104fabec","type":"DataRange1d"},{"attributes":{"data_source":{"id":"215145ff-692f-47b7-8b44-de1d5610a084","type":"ColumnDataSource"},"glyph":{"id":"80c2a016-80da-4dcd-9ba7-b0ac90e166e8","type":"Square"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"9e78d0e5-ec40-4686-b1ee-dec55380eea2","type":"Square"},"selection_glyph":null,"view":{"id":"d769d069-d441-4574-9ad8-ee913c087e90","type":"CDSView"}},"id":"119ca90a-c7c9-471f-b418-e8543a1544c4","type":"GlyphRenderer"},{"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/RMQyFApPgAUkqEIUAPJfKvR8UhQHlR4w1FBiJA433Ua0JHIkBNqsXJP4giQLjWtic9ySJAIgOohToKI0CML5njN0sjQPZbikE1jCNAYYh7nzLNI0DLtGz9Lw4kQDXhXVstTyRAoA1PuSqQJEAKOkAXKNEkQHRmMXUlEiVA3pIi0yJTJUBJvxMxIJQlQL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I97r/Al/eBWVLvv2Zmsvw75u+/g6xao7j2778YHIGMi4Pvv/sjPCWPju6/EyzujrQb7b94zoZi8zDrv4xAIRwx1ui//Bc/lCAV5r9GhZoMGvnivx5NPurYHd+/65MNU1HJ17+SiNkBzxLQv/GDAnguNMC/B1wUMyamwbw=","dtype":"float64","shape":[100]}}},"id":"185c1db5-4faa-47bb-831e-8e32c6c68736","type":"ColumnDataSource"},{"attributes":{},"id":"570b4140-5126-4b85-b269-111cbaa6ba55","type":"PanTool"},{"attributes":{"formatter":{"id":"27d938a6-daf2-47fc-8dd6-224024149fdc","type":"BasicTickFormatter"},"plot":{"id":"77185501-f9fd-4393-85c6-72418e2bc401","subtype":"Figure","type":"Plot"},"ticker":{"id":"bbc0b859-b260-488b-b83c-41e02d4f1b16","type":"BasicTicker"}},"id":"e0a0c3d8-ebe6-4acd-b0e8-ffaddf4bfd94","type":"LinearAxis"},{"attributes":{},"id":"05baf20f-16f1-4c30-a95a-4834486c1b76","type":"SaveTool"},{"attributes":{},"id":"968d5d6e-81e5-4550-96d8-cd85d7bcbf32","type":"LinearScale"},{"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/0TEMRQA8l8q9HxRFA433Ua0JHEkC41rYnPckSQIwvmeM3SxNAYYh7nzLNE0A14V1bL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8G+P7/vzTGy1KGzf+/3176khQZ/7/C8a4NiuT9vzGcHq/dNPy/mEFFlgER+r+EGZN4xoH3vx8WPFK3kfS/Cli7+O1M8b+HQNqEwoHrv9kfIiFb+OO/gKyggGI52L8EhrXMjDzAvyCGtcyMPMA/jqyggGI52D/gHyIhW/jjP4BA2oTCges/Dli7+O1M8T8cFjxSt5H0P4cZk3jGgfc/lEFFlgER+j8ynB6v3TT8P8Hxrg2K5P0/4F76khQZ/z80xstShs3/P+85zwb4/v8/8EI4BJ6s/z8DrLCCy9f+P5UjECftg/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":"62f78d44-d1b8-4df1-be63-03f26b787374","type":"ColumnDataSource"},{"attributes":{"line_color":{"value":"orange"},"line_dash":[4,4],"line_width":{"value":2},"x":{"field":"x"},"y":{"field":"y"}},"id":"e0ace1b7-7937-4dd5-b661-00b3945d1e2b","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+RGkt8Vz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M+xeSHDfQdA1L6JxBWuBkB9BRBa/IAFQO0A3yZP+wNAep5rTFMjAkDe5Qz1oAAAQDnpZxcIOPs/tv7u/6/+9T/6iGdXvmrwP2wf+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":"a00cbe03-aa25-49d6-b5cb-1721b901e0e8","type":"ColumnDataSource"},{"attributes":{"items":[{"id":"2177839f-d69b-4dc2-9539-a7504eb01073","type":"LegendItem"},{"id":"34336638-1bb6-42dc-b886-38e3e7e4d65c","type":"LegendItem"},{"id":"642dc808-74cb-4364-b01c-e5df002ccda4","type":"LegendItem"}],"orientation":"horizontal","plot":{"id":"77185501-f9fd-4393-85c6-72418e2bc401","subtype":"Figure","type":"Plot"}},"id":"e5eef78e-c21c-41e3-97c5-398dc0ebce7e","type":"Legend"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"570b4140-5126-4b85-b269-111cbaa6ba55","type":"PanTool"},{"id":"4a570946-4fff-4db5-9689-94b97b5ed7cc","type":"WheelZoomTool"},{"id":"eeb829f8-556e-4926-9d0b-a3cbaec65cfa","type":"BoxZoomTool"},{"id":"05baf20f-16f1-4c30-a95a-4834486c1b76","type":"SaveTool"},{"id":"84c440c6-c4e7-4323-8994-9754d3b989f9","type":"ResetTool"},{"id":"ef3693ed-33cd-4d87-ae09-841cf40ea693","type":"HelpTool"}]},"id":"0354f966-5091-48d9-8229-9b41c86a1b58","type":"Toolbar"},{"attributes":{"label":{"value":"2*sin(x)"},"renderers":[{"id":"b9de4382-ee92-42ab-baaa-2202e787d9ba","type":"GlyphRenderer"}]},"id":"34336638-1bb6-42dc-b886-38e3e7e4d65c","type":"LegendItem"},{"attributes":{"overlay":{"id":"d7a4345a-83a1-4b0f-8115-2320ebd25f4f","type":"BoxAnnotation"}},"id":"eeb829f8-556e-4926-9d0b-a3cbaec65cfa","type":"BoxZoomTool"},{"attributes":{"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"b22c99e8-af2b-4fc6-b73e-8827ae18e6a9","type":"Line"},{"attributes":{},"id":"bbc0b859-b260-488b-b83c-41e02d4f1b16","type":"BasicTicker"},{"attributes":{"callback":null},"id":"a7df620d-d69e-452f-be42-754fcb6c7548","type":"DataRange1d"},{"attributes":{"source":{"id":"215145ff-692f-47b7-8b44-de1d5610a084","type":"ColumnDataSource"}},"id":"d769d069-d441-4574-9ad8-ee913c087e90","type":"CDSView"},{"attributes":{"plot":null,"text":""},"id":"90c97d1d-d839-4957-809c-8ce62aa1a22a","type":"Title"},{"attributes":{"source":{"id":"62f78d44-d1b8-4df1-be63-03f26b787374","type":"ColumnDataSource"}},"id":"dcf433eb-1214-4341-b46b-d4cf4b610be8","type":"CDSView"},{"attributes":{},"id":"4a570946-4fff-4db5-9689-94b97b5ed7cc","type":"WheelZoomTool"}],"root_ids":["77185501-f9fd-4393-85c6-72418e2bc401"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"2c151150-c6aa-4dd6-adff-f991caf11af5","elementid":"fc4ba51f-df1a-43ec-b886-d72c5d83cefa","modelid":"77185501-f9fd-4393-85c6-72418e2bc401"}];
                
                    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);
})();
