(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("36c21764-3cdb-42a9-aa60-555b6dcbe122");
      if (element == null) {
        console.log("Bokeh: ERROR: autoload.js configured with elementid '36c21764-3cdb-42a9-aa60-555b6dcbe122' 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 = {"5c6ff9b6-bc21-4f21-8b60-fc9e27de4f28":{"roots":{"references":[{"attributes":{"source":{"id":"f8d52120-e589-4410-906e-8ace88f5e666","type":"ColumnDataSource"}},"id":"da2e1787-9e01-4275-8ba6-a046bd644755","type":"CDSView"},{"attributes":{"formatter":{"id":"0c0274bc-52e5-45b3-9012-794b120a8989","type":"BasicTickFormatter"},"plot":{"id":"655f11fe-df52-478c-aee5-b7885e7c433b","subtype":"Figure","type":"Plot"},"ticker":{"id":"bc59a03d-3159-4b2a-8e47-35c9ebcad0ce","type":"BasicTicker"}},"id":"712844f4-d596-445d-81ce-fa6292135b5c","type":"LinearAxis"},{"attributes":{"callback":null},"id":"9ad96a66-1d66-48f0-8f82-c1f34231bba4","type":"DataRange1d"},{"attributes":{"data_source":{"id":"bbe21b0e-9052-4bc7-946a-17bfa22b0e33","type":"ColumnDataSource"},"glyph":{"id":"a0c67ad9-a569-4006-81f4-a382986d5d6b","type":"Square"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"b5a04fd0-7723-47ba-9faf-daff0c01332e","type":"Square"},"selection_glyph":null,"view":{"id":"92e944c8-8c74-4ae7-a63c-146f70609392","type":"CDSView"}},"id":"69a4468f-7bb0-4228-8be5-aa04fb523b1d","type":"GlyphRenderer"},{"attributes":{"data_source":{"id":"f8d52120-e589-4410-906e-8ace88f5e666","type":"ColumnDataSource"},"glyph":{"id":"c7838c21-1ed0-4733-86fc-32e652c6f8ee","type":"Circle"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"b8f752d9-f3f9-4b1f-a91d-6d2cda6894b3","type":"Circle"},"selection_glyph":null,"view":{"id":"da2e1787-9e01-4275-8ba6-a046bd644755","type":"CDSView"}},"id":"51f8fcce-4016-4e6e-94cf-b91601168a1f","type":"GlyphRenderer"},{"attributes":{"line_color":{"value":"orange"},"line_dash":[4,4],"line_width":{"value":2},"x":{"field":"x"},"y":{"field":"y"}},"id":"a87f3dc4-1bb5-48b6-8344-9ca9079053f1","type":"Line"},{"attributes":{"source":{"id":"acf5937f-99ff-4934-80e6-83ebb06a04e8","type":"ColumnDataSource"}},"id":"1620dcf0-7081-458b-954a-92148165257e","type":"CDSView"},{"attributes":{},"id":"94658308-f590-42e2-9700-42c9df6bb07f","type":"BasicTickFormatter"},{"attributes":{"overlay":{"id":"7680e66d-bd1a-4c10-817e-15e7d62f32ad","type":"BoxAnnotation"}},"id":"ed7c0392-a37a-4b55-b4f9-e943d3eac967","type":"BoxZoomTool"},{"attributes":{},"id":"37de234e-747f-4c39-b5d8-d6e54d991f28","type":"BasicTicker"},{"attributes":{"callback":null},"id":"12952208-f567-4b09-9300-19c25a31362e","type":"DataRange1d"},{"attributes":{"source":{"id":"bbe21b0e-9052-4bc7-946a-17bfa22b0e33","type":"ColumnDataSource"}},"id":"92e944c8-8c74-4ae7-a63c-146f70609392","type":"CDSView"},{"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":"7680e66d-bd1a-4c10-817e-15e7d62f32ad","type":"BoxAnnotation"},{"attributes":{"formatter":{"id":"94658308-f590-42e2-9700-42c9df6bb07f","type":"BasicTickFormatter"},"plot":{"id":"655f11fe-df52-478c-aee5-b7885e7c433b","subtype":"Figure","type":"Plot"},"ticker":{"id":"37de234e-747f-4c39-b5d8-d6e54d991f28","type":"BasicTicker"}},"id":"e9e27521-02ff-4afd-accb-bf72966a93c9","type":"LinearAxis"},{"attributes":{"label":{"value":"sin(x)"},"renderers":[{"id":"51f8fcce-4016-4e6e-94cf-b91601168a1f","type":"GlyphRenderer"},{"id":"ce1594c9-e8fe-43ab-ada9-439bf77a98f8","type":"GlyphRenderer"}]},"id":"45512b0a-d22d-47d1-8ad3-bd53534bf4d6","type":"LegendItem"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"089007de-e94d-465e-bd59-6be11cf8aef2","type":"Line"},{"attributes":{"label":{"value":"3*sin(x)"},"renderers":[{"id":"69a4468f-7bb0-4228-8be5-aa04fb523b1d","type":"GlyphRenderer"},{"id":"d7b5600f-97ca-499a-8ad2-ea435eb96545","type":"GlyphRenderer"}]},"id":"af0ec86f-35f7-47fc-88ba-0e709ea581c7","type":"LegendItem"},{"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":"1009d2d2-b701-435d-83f2-dcd4948bcb97","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/eAYQINZNbL4YhlAV7IXbvPkGUAsC/op7m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r4r8GSRAz01rIvzBJEDPTWsg/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":"d91517be-b6df-4e4c-a52a-9b06687774a5","type":"ColumnDataSource"},{"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/0TEMRQA8l8q9HxRFA433Ua0JHEkC41rYnPckSQ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SIGwAOBBKLYIQfAMzIqg3bBB8BzaxsFOv8HwKfUGL4k2gfAJ8c7bs9SB8BSNUOKZ2sGwCX1VkOmJwXAMvGzMMGMA8AjU27aVKEBwC4hWvuS2v6/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":"bbe21b0e-9052-4bc7-946a-17bfa22b0e33","type":"ColumnDataSource"},{"attributes":{"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"10cb1dad-00d6-477b-8b85-487e6f9c06b5","type":"Line"},{"attributes":{},"id":"1c03efce-1e29-492d-9b59-f46018d08e55","type":"LinearScale"},{"attributes":{"callback":null,"column_names":["y","x"],"data":{"x":{"__ndarray__":"AAAAAAAAAACRGkt8Vz/AP5EaS3xXP9A/2qdwOgNf2D+RGkt8Vz/gPzXhXVstT+Q/2qdwOgNf6D9+boMZ2W7sP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fP0aFmgwa+eI/ABg/lCAV5j+IQCEcMdboP3fOhmLzMOs/EyzujrQb7T/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":"acf5937f-99ff-4934-80e6-83ebb06a04e8","type":"ColumnDataSource"},{"attributes":{},"id":"63b536b3-8489-44c0-b8ae-40f843dcad4a","type":"WheelZoomTool"},{"attributes":{},"id":"3b6993a0-9afa-409a-b0a7-e85810423650","type":"HelpTool"},{"attributes":{},"id":"bc59a03d-3159-4b2a-8e47-35c9ebcad0ce","type":"BasicTicker"},{"attributes":{"source":{"id":"d91517be-b6df-4e4c-a52a-9b06687774a5","type":"ColumnDataSource"}},"id":"8782a639-1db0-4b85-8171-dd76655794c7","type":"CDSView"},{"attributes":{"data_source":{"id":"d91517be-b6df-4e4c-a52a-9b06687774a5","type":"ColumnDataSource"},"glyph":{"id":"17c22161-bf8d-4086-9b85-333e2781e789","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"10cb1dad-00d6-477b-8b85-487e6f9c06b5","type":"Line"},"selection_glyph":null,"view":{"id":"8782a639-1db0-4b85-8171-dd76655794c7","type":"CDSView"}},"id":"d7b5600f-97ca-499a-8ad2-ea435eb96545","type":"GlyphRenderer"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"be74da23-0974-4783-bc13-247bb44a4e45","type":"PanTool"},{"id":"63b536b3-8489-44c0-b8ae-40f843dcad4a","type":"WheelZoomTool"},{"id":"ed7c0392-a37a-4b55-b4f9-e943d3eac967","type":"BoxZoomTool"},{"id":"577e2ee5-a920-405e-bafc-07dcba450093","type":"SaveTool"},{"id":"762adf19-c1da-496c-a2a8-e84791d89a95","type":"ResetTool"},{"id":"3b6993a0-9afa-409a-b0a7-e85810423650","type":"HelpTool"}]},"id":"0ae6ba9e-279c-4f7e-aa72-5f3fe4631eba","type":"Toolbar"},{"attributes":{"callback":null,"column_names":["y","x"],"data":{"x":{"__ndarray__":"AAAAAAAAAACRGkt8Vz/AP5EaS3xXP9A/2qdwOgNf2D+RGkt8Vz/gPzXhXVstT+Q/2qdwOgNf6D9+boMZ2W7sP5EaS3xXP/A/433Ua0JH8j814V1bLU/0P4dE50oYV/Y/2qdwOgNf+D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b7T/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":"f8d52120-e589-4410-906e-8ace88f5e666","type":"ColumnDataSource"},{"attributes":{"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"f8b49eea-018f-4200-8214-f021616eecea","type":"Line"},{"attributes":{},"id":"762adf19-c1da-496c-a2a8-e84791d89a95","type":"ResetTool"},{"attributes":{"fill_color":{"value":"#1f77b4"},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"c7838c21-1ed0-4733-86fc-32e652c6f8ee","type":"Circle"},{"attributes":{"plot":{"id":"655f11fe-df52-478c-aee5-b7885e7c433b","subtype":"Figure","type":"Plot"},"ticker":{"id":"bc59a03d-3159-4b2a-8e47-35c9ebcad0ce","type":"BasicTicker"}},"id":"eb521f4d-1130-4cb3-b32f-e73aea9089bd","type":"Grid"},{"attributes":{},"id":"0c0274bc-52e5-45b3-9012-794b120a8989","type":"BasicTickFormatter"},{"attributes":{"items":[{"id":"45512b0a-d22d-47d1-8ad3-bd53534bf4d6","type":"LegendItem"},{"id":"db7419ef-dc50-4066-b642-83c512f36b26","type":"LegendItem"},{"id":"af0ec86f-35f7-47fc-88ba-0e709ea581c7","type":"LegendItem"}],"location":"bottom_left","plot":{"id":"655f11fe-df52-478c-aee5-b7885e7c433b","subtype":"Figure","type":"Plot"}},"id":"b43b5f05-bac9-42c6-b00b-3c8665725d79","type":"Legend"},{"attributes":{"dimension":1,"plot":{"id":"655f11fe-df52-478c-aee5-b7885e7c433b","subtype":"Figure","type":"Plot"},"ticker":{"id":"37de234e-747f-4c39-b5d8-d6e54d991f28","type":"BasicTicker"}},"id":"0d99db9c-581c-45d9-9372-d2d234484aa0","type":"Grid"},{"attributes":{},"id":"be74da23-0974-4783-bc13-247bb44a4e45","type":"PanTool"},{"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":"b8f752d9-f3f9-4b1f-a91d-6d2cda6894b3","type":"Circle"},{"attributes":{"plot":null,"text":""},"id":"13efe57e-8c49-42ad-b188-c678896ded23","type":"Title"},{"attributes":{"line_color":{"value":"green"},"x":{"field":"x"},"y":{"field":"y"}},"id":"17c22161-bf8d-4086-9b85-333e2781e789","type":"Line"},{"attributes":{"source":{"id":"894468bc-8705-409d-9e63-29b2deaf6d46","type":"ColumnDataSource"}},"id":"3618f8ee-7d3e-40d1-9515-ac2f3e31d293","type":"CDSView"},{"attributes":{"label":{"value":"2*sin(x)"},"renderers":[{"id":"fa0aa6fb-dea1-4ad8-95cd-e9b09dee1840","type":"GlyphRenderer"}]},"id":"db7419ef-dc50-4066-b642-83c512f36b26","type":"LegendItem"},{"attributes":{"data_source":{"id":"894468bc-8705-409d-9e63-29b2deaf6d46","type":"ColumnDataSource"},"glyph":{"id":"a87f3dc4-1bb5-48b6-8344-9ca9079053f1","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1009d2d2-b701-435d-83f2-dcd4948bcb97","type":"Line"},"selection_glyph":null,"view":{"id":"3618f8ee-7d3e-40d1-9515-ac2f3e31d293","type":"CDSView"}},"id":"fa0aa6fb-dea1-4ad8-95cd-e9b09dee1840","type":"GlyphRenderer"},{"attributes":{"fill_color":{"value":null},"line_color":{"value":"green"},"x":{"field":"x"},"y":{"field":"y"}},"id":"a0c67ad9-a569-4006-81f4-a382986d5d6b","type":"Square"},{"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+boMZ2W4MQCcgSJHOcg1A0NEMCcR2DkB5g9GAuXoPQJEaS3xXPxB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sJELcPC/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":"894468bc-8705-409d-9e63-29b2deaf6d46","type":"ColumnDataSource"},{"attributes":{},"id":"fb0adc74-8ac8-449a-8775-91b7382c38cc","type":"LinearScale"},{"attributes":{"data_source":{"id":"acf5937f-99ff-4934-80e6-83ebb06a04e8","type":"ColumnDataSource"},"glyph":{"id":"f8b49eea-018f-4200-8214-f021616eecea","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"089007de-e94d-465e-bd59-6be11cf8aef2","type":"Line"},"selection_glyph":null,"view":{"id":"1620dcf0-7081-458b-954a-92148165257e","type":"CDSView"}},"id":"ce1594c9-e8fe-43ab-ada9-439bf77a98f8","type":"GlyphRenderer"},{"attributes":{"below":[{"id":"712844f4-d596-445d-81ce-fa6292135b5c","type":"LinearAxis"}],"left":[{"id":"e9e27521-02ff-4afd-accb-bf72966a93c9","type":"LinearAxis"}],"renderers":[{"id":"712844f4-d596-445d-81ce-fa6292135b5c","type":"LinearAxis"},{"id":"eb521f4d-1130-4cb3-b32f-e73aea9089bd","type":"Grid"},{"id":"e9e27521-02ff-4afd-accb-bf72966a93c9","type":"LinearAxis"},{"id":"0d99db9c-581c-45d9-9372-d2d234484aa0","type":"Grid"},{"id":"7680e66d-bd1a-4c10-817e-15e7d62f32ad","type":"BoxAnnotation"},{"id":"b43b5f05-bac9-42c6-b00b-3c8665725d79","type":"Legend"},{"id":"51f8fcce-4016-4e6e-94cf-b91601168a1f","type":"GlyphRenderer"},{"id":"ce1594c9-e8fe-43ab-ada9-439bf77a98f8","type":"GlyphRenderer"},{"id":"fa0aa6fb-dea1-4ad8-95cd-e9b09dee1840","type":"GlyphRenderer"},{"id":"69a4468f-7bb0-4228-8be5-aa04fb523b1d","type":"GlyphRenderer"},{"id":"d7b5600f-97ca-499a-8ad2-ea435eb96545","type":"GlyphRenderer"}],"title":{"id":"13efe57e-8c49-42ad-b188-c678896ded23","type":"Title"},"toolbar":{"id":"0ae6ba9e-279c-4f7e-aa72-5f3fe4631eba","type":"Toolbar"},"x_range":{"id":"9ad96a66-1d66-48f0-8f82-c1f34231bba4","type":"DataRange1d"},"x_scale":{"id":"fb0adc74-8ac8-449a-8775-91b7382c38cc","type":"LinearScale"},"y_range":{"id":"12952208-f567-4b09-9300-19c25a31362e","type":"DataRange1d"},"y_scale":{"id":"1c03efce-1e29-492d-9b59-f46018d08e55","type":"LinearScale"}},"id":"655f11fe-df52-478c-aee5-b7885e7c433b","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":"b5a04fd0-7723-47ba-9faf-daff0c01332e","type":"Square"},{"attributes":{},"id":"577e2ee5-a920-405e-bafc-07dcba450093","type":"SaveTool"}],"root_ids":["655f11fe-df52-478c-aee5-b7885e7c433b"]},"title":"Bokeh Application","version":"0.12.9"}};
                    var render_items = [{"docid":"5c6ff9b6-bc21-4f21-8b60-fc9e27de4f28","elementid":"36c21764-3cdb-42a9-aa60-555b6dcbe122","modelid":"655f11fe-df52-478c-aee5-b7885e7c433b"}];
                
                    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);
})();
