(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("5d5768e1-7e81-4232-b969-b5629b14896a");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid '5d5768e1-7e81-4232-b969-b5629b14896a' 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 = {"3c4e684d-5cd3-4d98-b752-f3ab8254b156":{"roots":{"references":[{"attributes":{"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"5d22ef8b-552e-418c-af27-70666f47fd60","type":"Line"},{"attributes":{"glyph_width":50,"items":[{"id":"fcbbb114-b03b-48d7-a3b3-fc4ff4ba0367","type":"LegendItem"},{"id":"56cad5e2-d839-4b79-9c57-b66afd79864e","type":"LegendItem"},{"id":"3cf01e2a-8dba-4d8d-906e-cfec79519dfd","type":"LegendItem"}],"margin":50,"padding":50,"plot":{"id":"9b1851c6-6255-4167-ba65-8ba5f589653d","subtype":"Figure","type":"Plot"},"spacing":10},"id":"4de91887-7e62-4657-8d4c-81bec97fc5d8","type":"Legend"},{"attributes":{"data_source":{"id":"b951880b-5f4d-4d76-a1b6-a2715defe7bd","type":"ColumnDataSource"},"glyph":{"id":"8f02ae38-6798-467d-b91a-a3eb6440ff33","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"f7530d04-7b71-4d62-addc-c1c49fa4f09a","type":"Line"},"selection_glyph":null,"view":{"id":"c0b30ada-e481-47a5-a223-3b9ecfc4c104","type":"CDSView"}},"id":"4b55fa84-8bac-454f-aaa4-0a9c20187608","type":"GlyphRenderer"},{"attributes":{"data_source":{"id":"4c36eb13-5e75-4f05-b12e-8371576d928b","type":"ColumnDataSource"},"glyph":{"id":"5d22ef8b-552e-418c-af27-70666f47fd60","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"cc3a2bfd-b2c5-4370-9ec6-436c228cad22","type":"Line"},"selection_glyph":null,"view":{"id":"901c2539-05cc-4a8e-9125-ffa105a3b60e","type":"CDSView"}},"id":"5df146e6-bc17-4338-b3a1-b0775e8125d4","type":"GlyphRenderer"},{"attributes":{},"id":"d463be01-dc29-4972-859c-ad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wx1ui//Bc/lCAV5r9GhZoMGvnivx5NPurYHd+/65MNU1HJ17+SiNkBzxLQv/GDAnguNMC/B1wUMyamwbw=","dtype":"float64","shape":[100]}}},"id":"4388c640-ac94-4306-a2e0-632f3642bb93","type":"ColumnDataSource"},{"attributes":{"data_source":{"id":"4388c640-ac94-4306-a2e0-632f3642bb93","type":"ColumnDataSource"},"glyph":{"id":"e6828aae-e657-412e-9b1b-c86835c67990","type":"Circle"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"3214fdac-e16e-4b3a-9062-551e024cb21e","type":"Circle"},"selection_glyph":null,"view":{"id":"7c0999a6-303d-482c-a01d-6bb10d03c155","type":"CDSView"}},"id":"93279bd5-d5a2-4487-8197-65e4e6396c51","type":"GlyphRenderer"},{"attributes":{},"id":"c9787cc3-93ef-40f9-b2a2-bb7a5274d0d0","type":"BasicTickFormatter"},{"attributes":{"source":{"id":"9a989f47-d177-4ece-8014-5f40b77246d5","type":"ColumnDataSource"}},"id":"6d2eed1d-dc73-4be6-a475-b2f321c6521a","type":"CDSView"},{"attributes":{"source":{"id":"4388c640-ac94-4306-a2e0-632f3642bb93","type":"ColumnDataSource"}},"id":"7c0999a6-303d-482c-a01d-6bb10d03c155","type":"CDSView"},{"attributes":{"formatter":{"id":"c9787cc3-93ef-40f9-b2a2-bb7a5274d0d0","type":"BasicTickFormatter"},"plot":{"id":"9b1851c6-6255-4167-ba65-8ba5f589653d","subtype":"Figure","type":"Plot"},"ticker":{"id":"50aef782-c9d9-4a66-a5ba-239211a4016a","type":"BasicTicker"}},"id":"4c789092-89fa-43dc-9484-cb44f373f5ca","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+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Qb7T/9Izwlj47uPxccgYyLg+8/g6xao7j27z9mZrL8O+bvP7+X94FZUu8/xVNiW3I97j9RB8Ai+6vsP5FWKYlppOo/oig6uxkv6D/Sh2bxK1blPyZGRbpaJeI/8qg+VZVT3T/4C4p0qOPVP+UppLIiM8w/3FNHxZdVuD/I23zJpD6gv+3ENsZjOcS/wo12/ecH0r/egWKM2KjZv2MTsJELcOC/83ixWvXH47+258MBZM7mv5eCD4nhdum/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":"4c36eb13-5e75-4f05-b12e-8371576d928b","type":"ColumnDataSource"},{"attributes":{"callback":null,"column_names":["x","y"],"data":{"x":{"__ndarray__":"AAAAAAAAAACRGkt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vzW8b/bTMaCNhzov+rFA7RFTti/CoqeTDl52rw=","dtype":"float64","shape":[100]}}},"id":"dd762e7c-5d41-4973-8f6a-a936aff0ba3d","type":"ColumnDataSource"},{"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":"a22bf27b-b962-4423-91c5-492e5b53fc69","type":"Square"},{"attributes":{"callback":null},"id":"249f1762-aa61-495a-bd98-339d264d947b","type":"DataRange1d"},{"attributes":{},"id":"66f19f1f-ba72-427f-930f-c2939c73b177","type":"SaveTool"},{"attributes":{"formatter":{"id":"b571d635-be80-4206-9502-afcdb59802e1","type":"BasicTickFormatter"},"plot":{"id":"9b1851c6-6255-4167-ba65-8ba5f589653d","subtype":"Figure","type":"Plot"},"ticker":{"id":"36159c2e-9f9a-4d3e-a1d7-2a9b520dc01c","type":"BasicTicker"}},"id":"0a8595ea-62a9-4da8-bb0a-221de3d9a3ca","type":"LinearAxis"},{"attributes":{},"id":"98feafdc-e562-46ca-82b2-6658f0bacf0a","type":"LinearScale"},{"attributes":{"line_color":{"value":"green"},"x":{"field":"x"},"y":{"field":"y"}},"id":"5653d7f3-8a42-4b18-a3c4-02dffef88d75","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+boMZ2W4MQCcgSJHOcg1A0NEMCcR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/wo12/ecH4r/egWKM2Kjpv2MTsJELcPC/83ixWvXH87+258MBZM72v5eCD4nhdvm/rExY6Hq2+7+TIxAn7YP9vwSssILL1/6/70I4BJ6s/7/vOc8G+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":"b951880b-5f4d-4d76-a1b6-a2715defe7bd","type":"ColumnDataSource"},{"attributes":{"overlay":{"id":"93ce80b4-7808-4eab-b95c-084e296d374b","type":"BoxAnnotation"}},"id":"a34e3392-0c4b-42fe-a248-c40b6859887d","type":"BoxZoomTool"},{"attributes":{"data_source":{"id":"dd762e7c-5d41-4973-8f6a-a936aff0ba3d","type":"ColumnDataSource"},"glyph":{"id":"5653d7f3-8a42-4b18-a3c4-02dffef88d75","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"5090b10d-9185-4bd3-a375-b2e192fe63b4","type":"Line"},"selection_glyph":null,"view":{"id":"8dd1b91a-50f9-4a31-9f58-65a10b9a1610","type":"CDSView"}},"id":"201496a8-f8bd-4736-b15e-c5f71efc688f","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/RMQyFApPgAUkqEIUAPJfKvR8UhQHlR4w1FBiJA433Ua0JHIkBNqsXJP4giQLjWtic9ySJAIgOohToKI0CML5njN0sjQPZbikE1jCNAYYh7nzLNI0DLtGz9Lw4kQDXhX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r9fH/sFWiblv+6IZ1e+avC/uv7u/6/+9b856WcXCDj7v9vlDPWgAADAfJ5rTFMjAsDuAN8mT/sDwH0FEFr8gAXA076JxBWuBsDQsXkhw30HwMzMhf2s7AfAYgGEegr5B8AS1WCpqKIHwPwa7Vvr6gbADqEya8fUBcDaGuWJtmQEwGnwGNWkoALA/VEvb9iPAMDpx+cSp3X8v9a5rq9iVve/8C5K/vzW8b/bTMaCNhzov+rFA7RFTti/CoqeTDl52rw=","dtype":"float64","shape":[100]}}},"id":"9a989f47-d177-4ece-8014-5f40b77246d5","type":"ColumnDataSource"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"cc3a2bfd-b2c5-4370-9ec6-436c228cad22","type":"Line"},{"attributes":{"label":{"value":"3*sin(x)"},"renderers":[{"id":"dd1e4166-a992-4ce1-8814-b6a6fb48190f","type":"GlyphRenderer"},{"id":"201496a8-f8bd-4736-b15e-c5f71efc688f","type":"GlyphRenderer"}]},"id":"3cf01e2a-8dba-4d8d-906e-cfec79519dfd","type":"LegendItem"},{"attributes":{"dimension":1,"plot":{"id":"9b1851c6-6255-4167-ba65-8ba5f589653d","subtype":"Figure","type":"Plot"},"ticker":{"id":"50aef782-c9d9-4a66-a5ba-239211a4016a","type":"BasicTicker"}},"id":"fe755a3a-1797-415c-aaf7-dd7b6be28e18","type":"Grid"},{"attributes":{"fill_color":{"value":"#1f77b4"},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"e6828aae-e657-412e-9b1b-c86835c67990","type":"Circle"},{"attributes":{"fill_color":{"value":null},"line_color":{"value":"green"},"x":{"field":"x"},"y":{"field":"y"}},"id":"82852552-8bbb-4bdd-b1f7-e27bfb5397a3","type":"Square"},{"attributes":{},"id":"d1ada922-a1ce-48ed-a253-52c6d4bf168b","type":"HelpTool"},{"attributes":{},"id":"b571d635-be80-4206-9502-afcdb59802e1","type":"BasicTickFormatter"},{"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":"3214fdac-e16e-4b3a-9062-551e024cb21e","type":"Circle"},{"attributes":{"callback":null},"id":"85cc3bf2-8360-4983-a20a-2dcb2ae25006","type":"DataRange1d"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"5090b10d-9185-4bd3-a375-b2e192fe63b4","type":"Line"},{"attributes":{},"id":"09d9dc5f-e35a-4e94-b546-bbbc09410f5e","type":"WheelZoomTool"},{"attributes":{"below":[{"id":"0a8595ea-62a9-4da8-bb0a-221de3d9a3ca","type":"LinearAxis"}],"left":[{"id":"4c789092-89fa-43dc-9484-cb44f373f5ca","type":"LinearAxis"}],"renderers":[{"id":"0a8595ea-62a9-4da8-bb0a-221de3d9a3ca","type":"LinearAxis"},{"id":"aba00b2c-f814-493a-aa92-d79dc235c42d","type":"Grid"},{"id":"4c789092-89fa-43dc-9484-cb44f373f5ca","type":"LinearAxis"},{"id":"fe755a3a-1797-415c-aaf7-dd7b6be28e18","type":"Grid"},{"id":"93ce80b4-7808-4eab-b95c-084e296d374b","type":"BoxAnnotation"},{"id":"4de91887-7e62-4657-8d4c-81bec97fc5d8","type":"Legend"},{"id":"93279bd5-d5a2-4487-8197-65e4e6396c51","type":"GlyphRenderer"},{"id":"5df146e6-bc17-4338-b3a1-b0775e8125d4","type":"GlyphRenderer"},{"id":"4b55fa84-8bac-454f-aaa4-0a9c20187608","type":"GlyphRenderer"},{"id":"dd1e4166-a992-4ce1-8814-b6a6fb48190f","type":"GlyphRenderer"},{"id":"201496a8-f8bd-4736-b15e-c5f71efc688f","type":"GlyphRenderer"}],"title":{"id":"198005e0-a5f3-4683-9cf2-31d350474f2f","type":"Title"},"toolbar":{"id":"78e0454e-9941-4e20-bdd1-1a882a1a4511","type":"Toolbar"},"x_range":{"id":"249f1762-aa61-495a-bd98-339d264d947b","type":"DataRange1d"},"x_scale":{"id":"98feafdc-e562-46ca-82b2-6658f0bacf0a","type":"LinearScale"},"y_range":{"id":"85cc3bf2-8360-4983-a20a-2dcb2ae25006","type":"DataRange1d"},"y_scale":{"id":"33a47841-a920-4002-823b-e073475ea6f0","type":"LinearScale"}},"id":"9b1851c6-6255-4167-ba65-8ba5f589653d","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"50aef782-c9d9-4a66-a5ba-239211a4016a","type":"BasicTicker"},{"attributes":{"line_color":{"value":"orange"},"line_dash":[4,4],"line_width":{"value":2},"x":{"field":"x"},"y":{"field":"y"}},"id":"8f02ae38-6798-467d-b91a-a3eb6440ff33","type":"Line"},{"attributes":{},"id":"36159c2e-9f9a-4d3e-a1d7-2a9b520dc01c","type":"BasicTicker"},{"attributes":{"source":{"id":"b951880b-5f4d-4d76-a1b6-a2715defe7bd","type":"ColumnDataSource"}},"id":"c0b30ada-e481-47a5-a223-3b9ecfc4c104","type":"CDSView"},{"attributes":{},"id":"b5dbb67a-8c7b-4ac6-8c94-502e6e14c260","type":"PanTool"},{"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":"93ce80b4-7808-4eab-b95c-084e296d374b","type":"BoxAnnotation"},{"attributes":{"source":{"id":"4c36eb13-5e75-4f05-b12e-8371576d928b","type":"ColumnDataSource"}},"id":"901c2539-05cc-4a8e-9125-ffa105a3b60e","type":"CDSView"},{"attributes":{"label":{"value":"sin(x)"},"renderers":[{"id":"93279bd5-d5a2-4487-8197-65e4e6396c51","type":"GlyphRenderer"},{"id":"5df146e6-bc17-4338-b3a1-b0775e8125d4","type":"GlyphRenderer"}]},"id":"fcbbb114-b03b-48d7-a3b3-fc4ff4ba0367","type":"LegendItem"},{"attributes":{"plot":{"id":"9b1851c6-6255-4167-ba65-8ba5f589653d","subtype":"Figure","type":"Plot"},"ticker":{"id":"36159c2e-9f9a-4d3e-a1d7-2a9b520dc01c","type":"BasicTicker"}},"id":"aba00b2c-f814-493a-aa92-d79dc235c42d","type":"Grid"},{"attributes":{"label":{"value":"2*sin(x)"},"renderers":[{"id":"4b55fa84-8bac-454f-aaa4-0a9c20187608","type":"GlyphRenderer"}]},"id":"56cad5e2-d839-4b79-9c57-b66afd79864e","type":"LegendItem"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"b5dbb67a-8c7b-4ac6-8c94-502e6e14c260","type":"PanTool"},{"id":"09d9dc5f-e35a-4e94-b546-bbbc09410f5e","type":"WheelZoomTool"},{"id":"a34e3392-0c4b-42fe-a248-c40b6859887d","type":"BoxZoomTool"},{"id":"66f19f1f-ba72-427f-930f-c2939c73b177","type":"SaveTool"},{"id":"d463be01-dc29-4972-859c-adb47062cf86","type":"ResetTool"},{"id":"d1ada922-a1ce-48ed-a253-52c6d4bf168b","type":"HelpTool"}]},"id":"78e0454e-9941-4e20-bdd1-1a882a1a4511","type":"Toolbar"},{"attributes":{"data_source":{"id":"9a989f47-d177-4ece-8014-5f40b77246d5","type":"ColumnDataSource"},"glyph":{"id":"82852552-8bbb-4bdd-b1f7-e27bfb5397a3","type":"Square"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"a22bf27b-b962-4423-91c5-492e5b53fc69","type":"Square"},"selection_glyph":null,"view":{"id":"6d2eed1d-dc73-4be6-a475-b2f321c6521a","type":"CDSView"}},"id":"dd1e4166-a992-4ce1-8814-b6a6fb48190f","type":"GlyphRenderer"},{"attributes":{"plot":null,"text":""},"id":"198005e0-a5f3-4683-9cf2-31d350474f2f","type":"Title"},{"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":"f7530d04-7b71-4d62-addc-c1c49fa4f09a","type":"Line"},{"attributes":{"source":{"id":"dd762e7c-5d41-4973-8f6a-a936aff0ba3d","type":"ColumnDataSource"}},"id":"8dd1b91a-50f9-4a31-9f58-65a10b9a1610","type":"CDSView"},{"attributes":{},"id":"33a47841-a920-4002-823b-e073475ea6f0","type":"LinearScale"}],"root_ids":["9b1851c6-6255-4167-ba65-8ba5f589653d"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"3c4e684d-5cd3-4d98-b752-f3ab8254b156","elementid":"5d5768e1-7e81-4232-b969-b5629b14896a","modelid":"9b1851c6-6255-4167-ba65-8ba5f589653d"}];
                
                    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);
})();
