text: document.addEventListener("DOMContentLoaded", function(event) {
      
      (function(global) {
        function now() {
          return new Date();
        }
      
        if (typeof (window._bokeh_onload_callbacks) === "undefined") {
          window._bokeh_onload_callbacks = [];
        }
      
        function run_callbacks() {
          window._bokeh_onload_callbacks.forEach(function(callback) { callback() });
          delete window._bokeh_onload_callbacks
          console.info("Bokeh: all callbacks have finished");
        }
      
        function load_libs(js_urls, callback) {
          window._bokeh_onload_callbacks.push(callback);
          if (window._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());
          window._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() {
              window._bokeh_is_loading--;
              if (window._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("d58584a5-6ef5-4f22-89fd-a1f7451bc2fe");
        if (element == null) {
          console.log("Bokeh: ERROR: autoload.js configured with elementid 'd58584a5-6ef5-4f22-89fd-a1f7451bc2fe' but no matching script tag was found. ")
          return false;
        }
      
        var js_urls = ['https://cdn.bokeh.org/bokeh/release/bokeh-0.12.0.min.js', 'https://cdn.bokeh.org/bokeh/release/bokeh-widgets-0.12.0.min.js', 'https://cdn.bokeh.org/bokeh/release/bokeh-compiler-0.12.0.min.js'];
      
        var inline_js = [
          function(Bokeh) {
            Bokeh.set_log_level("info");
          },
          
          function(Bokeh) {
            
            (function outer(modules, cache, entry) {
              if (typeof Bokeh !== "undefined") {
                for (var name in modules) {
                  var module = modules[name];
            
                  if (typeof(module) === "string") {
                    try {
                      coffee = Bokeh.require("coffee-script")
                    } catch (e) {
                      throw new Error("Compiler requested but failed to import. Make sure bokeh-compiler(-min).js was included.")
                    }
            
                    function compile(code) {
                      var body = coffee.compile(code, {bare: true, shiftLine: true});
                      return new Function("require", "module", "exports", body);
                    }
            
                    modules[name] = [compile(module), {}];
                  }
                }
            
                for (var name in modules) {
                  Bokeh.require.modules[name] = modules[name];
                }
            
                for (var i = 0; i < entry.length; i++) {
                  Bokeh.Models.register_locations(Bokeh.require(entry[i]));
                }
              } else {
                throw new Error("Cannot find Bokeh. You have to load it prior to loading plugins.");
              }
            })({
             "custom/main":[function(require,module,exports){
               module.exports = { Custom: require("custom/custom"),
            DrawTool: require("custom/draw_tool"),
            MyFormatter: require("custom/my_formatter"),
            Surface3d: require("custom/surface3d") };
             }, {}],
             "custom/custom": "\n_ = require \"underscore\"\n$ = require \"jquery\"\n\np = require \"core/properties\"\nLayoutDOM = require \"models/layouts/layout_dom\"\n\nclass CustomView extends LayoutDOM.View\n\n  initialize: (options) ->\n    super(options)\n\n    @render()\n\n    # Set Backbone listener so that when the Bokeh slider has a change\n    # event, we can process the new data\n    @listenTo(@model.slider, \'change\', () => @render())\n\n  render: () ->\n    # Backbone Views create <div> elements by default, accessible as @$el.\n    # Many Bokeh views ignore this default <div>, and instead do things\n    # like draw to the HTML canvas. In this case though, we change the\n    # contents of the <div>, based on the current slider value.\n    @$el.html(\"<h1>#{ @model.text }: #{ @model.slider.value }</h1>\")\n    @$(\'h1\').css({ \'color\': \'#686d8e\', \'background-color\': \'#2a3153\' })\n\nclass Custom extends LayoutDOM.Model\n\n  # If there is an associated view, this is boilerplate.\n  default_view: CustomView\n\n  # The ``type`` class attribute should generally match exactly the name\n  # of the corresponding Python class.\n  type: \"Custom\"\n\n  # The @define block adds corresponding \"properties\" to the JS model. These\n  # should basically line up 1-1 with the Python model class. Most property\n  # types have counterparts, e.g. bokeh.core.properties.String will be\n  # p.String in the JS implementation. Where the JS type system is not yet\n  # as rich, you can use p.Any as a \"wildcard\" property type.\n  @define {\n    text:   [ p.String ]\n    slider: [ p.Any    ]\n  }\n\n# This is boilerplate. Every implementation should export a Model\n# and (when applicable) also a View.\nmodule.exports =\n  Model: Custom\n  View: CustomView\n",
            "custom/draw_tool": "\np = require \"core/properties\"\nGestureTool = require \"models/tools/gestures/gesture_tool\"\n\nclass DrawToolView extends GestureTool.View\n\n  # this is executed when the pan/drag event starts\n  _pan_start: (e) ->\n    @model.source.data = {x: [], y: []}\n\n  # this is executed on subsequent mouse/touch moves\n  _pan: (e) ->\n    frame = @plot_model.frame\n    canvas = @plot_view.canvas\n\n    vx = canvas.sx_to_vx(e.bokeh.sx)\n    vy = canvas.sy_to_vy(e.bokeh.sy)\n    if not frame.contains(vx, vy)\n      return null\n\n    x = frame.get(\'x_mappers\').default.map_from_target(vx)\n    y = frame.get(\'y_mappers\').default.map_from_target(vy)\n\n    @model.source.data.x.push(x)\n    @model.source.data.y.push(y)\n    @model.source.trigger(\'change\')\n\n  # this is executed then the pan/drag ends\n  _pan_end: (e) -> return null\n\nclass DrawTool extends GestureTool.Model\n  default_view: DrawToolView\n  type: \"DrawTool\"\n\n  tool_name: \"Drag Span\"\n  icon: \"bk-tool-icon-lasso-select\"\n  event_type: \"pan\"\n  default_order: 12\n\n  @define { source: [ p.Instance ] }\n\nmodule.exports =\n  Model: DrawTool\n  View: DrawToolView\n",
            "custom/my_formatter": "\nTickFormatter = require \"models/formatters/tick_formatter\"\n\nclass MyFormatter extends TickFormatter.Model\n  type: \"MyFormatter\"\n\n  # TickFormatters should implement this method, which accepts a lisst\n  # of numbers (ticks) and returns a list of strings\n  doFormat: (ticks) ->\n    # format the first tick as-is\n    formatted = [\"#{ticks[0]}\"]\n\n    # format the remaining ticks as a difference from the first\n    for i in [1...ticks.length]\n       formatted.push(\"+#{(ticks[i]-ticks[0]).toPrecision(2)}\")\n\n    return formatted\n\nmodule.exports =\n  Model: MyFormatter\n",
            "custom/surface3d": "\n# This file contains the JavaScript (CoffeeScript) implementation\n# for a Bokeh custom extension. The \"surface3d.py\" contains the\n# python counterpart.\n#\n# This custom model wraps one part of the third-party vis.js library:\n#\n#     http://visjs.org/index.html\n#\n# Making it easy to hook up python data analytics tools (NumPy, SciPy,\n# Pandas, etc.) to web presentations using the Bokeh server.\n\n# These \"require\" lines are similar to python \"import\" statements\n_ = require \"underscore\"\n$ = require \"jquery\"\n\np = require \"core/properties\"\nLayoutDOM = require \"models/layouts/layout_dom\"\n\n# This defines some default options for the Graph3d feature of vis.js\n# See: http://visjs.org/graph3d_examples.html for more details.\nOPTIONS =\n  width:  \'600px\'\n  height: \'600px\'\n  style: \'surface\'\n  showPerspective: true\n  showGrid: true\n  keepAspectRatio: true\n  verticalRatio: 1.0\n  legendLabel: \'stuff\'\n  cameraPosition:\n    horizontal: -0.35\n    vertical: 0.22\n    distance: 1.8\n\n# To create custom model extensions that will render on to the HTML canvas\n# or into the DOM, we must create a View subclass for the model. Currently\n# Bokeh models and views are based on BackBone. More information about\n# using Backbone can be found here:\n#\n#     http://backbonejs.org/\n#\n# In this case we will subclass from the existing BokehJS ``LayoutDOM.View``,\n# corresponding to our\nclass Surface3dView extends LayoutDOM.View\n\n  initialize: (options) ->\n    super(options)\n\n    url = \"https://cdnjs.cloudflare.com/ajax/libs/vis/4.16.1/vis.min.js\"\n    $.getScript(url).done(@_init)\n\n  # NOTE: we have to use the \"fat arrow\" => here so that \"this\" is bound correctly\n  _init: () =>\n    # Create a new Graph3s using the vis.js API. This assumes the vis.js has\n    # already been loaded (e.g. in a custom app template). In the future Bokeh\n    # models will be able to specify and load external scripts automatically.\n    #\n    # Backbone Views create <div> elements by default, accessible as @$el. Many\n    # Bokeh views ignore this default <div>, and instead do things like draw\n    # to the HTML canvas. In this case though, we use the <div> to attach a\n    # Graph3d to the DOM.\n    @_graph = new vis.Graph3d(@$el[0], @get_data(), OPTIONS)\n\n    # Set Backbone listener so that when the Bokeh data source has a change\n    # event, we can process the new data\n    @listenTo(@model.data_source, \'change\', () =>\n        @_graph.setData(@get_data())\n    )\n\n  # This is the callback executed when the Bokeh data has an change. Its basic\n  # function is to adapt the Bokeh data source to the vis.js DataSet format.\n  get_data: () ->\n    data = new vis.DataSet()\n    source = @model.data_source\n    for i in [0...source.get_length()]\n      data.add({\n        x:     source.get_column(@model.x)[i]\n        y:     source.get_column(@model.y)[i]\n        z:     source.get_column(@model.z)[i]\n        style: source.get_column(@model.color)[i]\n      })\n    return data\n\n# We must also create a corresponding JavaScript Backbone model sublcass to\n# correspond to the python Bokeh model subclass. In this case, since we want\n# an element that can position itself in the DOM according to a Bokeh layout,\n# we subclass from ``LayoutDOM.model``\nclass Surface3d extends LayoutDOM.Model\n\n  # This is usually boilerplate. In some cases there may not be a view.\n  default_view: Surface3dView\n\n  # The ``type`` class attribute should generally match exactly the name\n  # of the corresponding Python class.\n  type: \"Surface3d\"\n\n  # The @define block adds corresponding \"properties\" to the JS model. These\n  # should basically line up 1-1 with the Python model class. Most property\n  # types have counterparts, e.g. ``bokeh.core.properties.String`` will be\n  # ``p.String`` in the JS implementatin. Where the JS type system is not yet\n  # as rich, you can use ``p.Any`` as a \"wildcard\" property type.\n  @define {\n    x:           [ p.String           ]\n    y:           [ p.String           ]\n    z:           [ p.String           ]\n    color:       [ p.String           ]\n    data_source: [ p.Instance         ]\n  }\n\n# This is boilerplate. Every implementation should \"export\" a ``Model``\n# and (when applicable) also a ``View``.\nmodule.exports =\n  Model: Surface3d\n  View: Surface3dView\n"
            }, {}, ["custom/main"]);
          },
          
          function(Bokeh) {
            Bokeh.$(function() {
                var docs_json = {"ca7b0078-d3a0-4dbe-8050-c5355cfd11ef":{"roots":{"references":[{"attributes":{"formatter":{"id":"427f1e37-e8a4-4dad-ab32-3529c263c430","type":"BasicTickFormatter"},"plot":{"id":"3a468582-efe6-4b27-9516-d0cd2dfa9235","subtype":"Figure","type":"Plot"},"ticker":{"id":"42132553-3c3f-4184-bd0f-94f0f70fe47c","type":"BasicTicker"}},"id":"bfd52634-68e9-4c60-99ae-51cdf3a64e23","type":"LinearAxis"},{"attributes":{"plot":{"id":"3a468582-efe6-4b27-9516-d0cd2dfa9235","subtype":"Figure","type":"Plot"}},"id":"ee993109-8cc6-4e47-9cfc-f885bc2ad33a","type":"PanTool"},{"attributes":{},"id":"5eb5f595-39e5-4139-8bd7-b79818048ce6","type":"BasicTicker"},{"attributes":{"plot":{"id":"3a468582-efe6-4b27-9516-d0cd2dfa9235","subtype":"Figure","type":"Plot"}},"id":"689875e4-e153-4217-82fa-ea61ef95ebb8","type":"ResetTool"},{"attributes":{"overlay":{"id":"edc13d8f-f5e6-4460-8433-117a1ee8935d","type":"BoxAnnotation"},"plot":{"id":"9bbc5b15-2b26-4e40-a52d-3246cc371983","subtype":"Figure","type":"Plot"}},"id":"b5443e2b-ef0c-4c68-a06b-0f1c5ce00245","type":"BoxZoomTool"},{"attributes":{"plot":{"id":"3a468582-efe6-4b27-9516-d0cd2dfa9235","subtype":"Figure","type":"Plot"}},"id":"d744e666-a214-4693-8e61-6c846d8364bc","type":"HelpTool"},{"attributes":{"plot":{"id":"9bbc5b15-2b26-4e40-a52d-3246cc371983","subtype":"Figure","type":"Plot"}},"id":"bb08cb7d-3bde-4171-9aba-5afe93c7eec8","type":"WheelZoomTool"},{"attributes":{"plot":{"id":"5c0cbcd6-28b6-4014-b528-ad32ccdcc97b","subtype":"Figure","type":"Plot"}},"id":"211db390-dcc0-4758-a71d-0e603907f2e4","type":"WheelZoomTool"},{"attributes":{"plot":{"id":"5c0cbcd6-28b6-4014-b528-ad32ccdcc97b","subtype":"Figure","type":"Plot"},"ticker":{"id":"0e150f4b-f7f1-42aa-8a7d-0118b48e0eaf","type":"BasicTicker"}},"id":"1ad43208-af18-40c1-be6b-5c2873e97e3f","type":"Grid"},{"attributes":{"sizing_mode":"scale_width","toolbar_location":"above","tools":[{"id":"ee993109-8cc6-4e47-9cfc-f885bc2ad33a","type":"PanTool"},{"id":"9cbffbe8-66ca-447b-9f98-85b8d9db7830","type":"WheelZoomTool"},{"id":"bda71c68-80b8-41ca-b0e9-552117fd68c2","type":"BoxZoomTool"},{"id":"89c13955-07b3-455b-b3bd-11f4ad880b7b","type":"SaveTool"},{"id":"689875e4-e153-4217-82fa-ea61ef95ebb8","type":"ResetTool"},{"id":"d744e666-a214-4693-8e61-6c846d8364bc","type":"HelpTool"},{"id":"0a205b8e-8b14-4007-81a9-22f5218d9dfc","type":"PanTool"},{"id":"bb08cb7d-3bde-4171-9aba-5afe93c7eec8","type":"WheelZoomTool"},{"id":"b5443e2b-ef0c-4c68-a06b-0f1c5ce00245","type":"BoxZoomTool"},{"id":"87ff487a-947e-460c-8257-b9bbaf562613","type":"SaveTool"},{"id":"8ff0819a-732b-4536-915f-a8dc525d1114","type":"ResetTool"},{"id":"b182a2ea-1f65-45e3-835e-4481403963b9","type":"HelpTool"},{"id":"ec0eb2aa-7bae-4f2e-8648-056ddce6d00c","type":"PanTool"},{"id":"211db390-dcc0-4758-a71d-0e603907f2e4","type":"WheelZoomTool"},{"id":"69201982-5320-46a0-808b-19be08a9066b","type":"BoxZoomTool"},{"id":"622f6d58-208e-4dce-a594-cd39420d7abf","type":"SaveTool"},{"id":"04c50418-de4a-405b-babb-c5a204297bdb","type":"ResetTool"},{"id":"4499e321-292d-43b8-915a-9835a1f12247","type":"HelpTool"}]},"id":"dddfa747-0702-4bbd-97b2-9062808e69c5","type":"ToolbarBox"},{"attributes":{"children":[{"id":"060e9297-9644-4d4e-8c60-598693757334","type":"Spacer"},{"id":"5c0cbcd6-28b6-4014-b528-ad32ccdcc97b","subtype":"Figure","type":"Plot"}]},"id":"a3f25457-e3c1-4d15-8cc2-04b356a00bda","type":"Row"},{"attributes":{"callback":null,"column_names":["y","x"],"data":{"x":[0,1,2,3,4,5,6,7,8,9,10],"y":[10,9,8,7,6,5,4,3,2,1,0]}},"id":"398bb55b-c666-4937-b867-f979283253ea","type":"ColumnDataSource"},{"attributes":{"plot":null,"text":null},"id":"5ee2c950-c6f3-4d6a-8aa0-b2e0395d569d","type":"Title"},{"attributes":{},"id":"ea82beb1-ce83-4493-8bce-36e867fc3f37","type":"BasicTickFormatter"},{"attributes":{"formatter":{"id":"ea82beb1-ce83-4493-8bce-36e867fc3f37","type":"BasicTickFormatter"},"plot":{"id":"3a468582-efe6-4b27-9516-d0cd2dfa9235","subtype":"Figure","type":"Plot"},"ticker":{"id":"5eb5f595-39e5-4139-8bd7-b79818048ce6","type":"BasicTicker"}},"id":"6642464e-66b1-4826-a77d-f41b1f96353b","type":"LinearAxis"},{"attributes":{"dimension":1,"plot":{"id":"3a468582-efe6-4b27-9516-d0cd2dfa9235","subtype":"Figure","type":"Plot"},"ticker":{"id":"42132553-3c3f-4184-bd0f-94f0f70fe47c","type":"BasicTicker"}},"id":"18e73cf8-ef71-4f01-9a64-329374c5f1d4","type":"Grid"},{"attributes":{},"id":"6633e283-0629-498d-8453-17dc075bcd3d","type":"BasicTickFormatter"},{"attributes":{},"id":"e8b52312-32fc-407d-930a-b29b33ecfcb0","type":"BasicTicker"},{"attributes":{"children":[{"id":"dddfa747-0702-4bbd-97b2-9062808e69c5","type":"ToolbarBox"},{"id":"6e985580-6fb5-45a0-98bf-104b954c1deb","type":"Column"}]},"id":"84fbb829-dae4-44cd-bab5-cd0dc4728a92","type":"Column"},{"attributes":{"plot":{"id":"9bbc5b15-2b26-4e40-a52d-3246cc371983","subtype":"Figure","type":"Plot"}},"id":"87ff487a-947e-460c-8257-b9bbaf562613","type":"SaveTool"},{"attributes":{},"id":"2f680129-27fc-404b-b806-f9c5d28badd3","type":"BasicTickFormatter"},{"attributes":{"children":[{"id":"3a468582-efe6-4b27-9516-d0cd2dfa9235","subtype":"Figure","type":"Plot"},{"id":"9bbc5b15-2b26-4e40-a52d-3246cc371983","subtype":"Figure","type":"Plot"}]},"id":"6cef6a83-7f77-4643-855b-78d0e8155f72","type":"Row"},{"attributes":{},"id":"8a62c9bb-cdab-4814-bfbb-ddd8e6ddfef4","type":"ToolEvents"},{"attributes":{"callback":null,"column_names":["y","x"],"data":{"x":[0,1,2,3,4,5,6,7,8,9,10],"y":[5,4,3,2,1,0,1,2,3,4,5]}},"id":"bbfdbcf3-03f3-4726-baaf-3a3818d2caf0","type":"ColumnDataSource"},{"attributes":{"fill_color":{"value":"#FDE724"},"line_color":{"value":"#FDE724"},"size":{"units":"screen","value":10},"x":{"field":"x"},"y":{"field":"y"}},"id":"961bcb57-2896-4327-852e-742103906a10","type":"Square"},{"attributes":{"data_source":{"id":"398bb55b-c666-4937-b867-f979283253ea","type":"ColumnDataSource"},"glyph":{"id":"31c13433-dbff-4a29-a1f6-b578d22a1860","type":"Triangle"},"hover_glyph":null,"nonselection_glyph":{"id":"f191642c-c041-4fa2-940d-40c9622a97ac","type":"Triangle"},"selection_glyph":null},"id":"cfe318f0-393e-40da-9715-c4ef3157e51f","type":"GlyphRenderer"},{"attributes":{"callback":null},"id":"f14dbbee-3b95-4ad8-9ef2-c1a088901862","type":"DataRange1d"},{"attributes":{"callback":null},"id":"4ba552b3-600a-4f70-82d4-9748c2fd60a1","type":"DataRange1d"},{"attributes":{"plot":{"id":"5c0cbcd6-28b6-4014-b528-ad32ccdcc97b","subtype":"Figure","type":"Plot"}},"id":"622f6d58-208e-4dce-a594-cd39420d7abf","type":"SaveTool"},{"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":"f9f1f7fc-0378-4e94-a6f0-e1868c5712a3","type":"BoxAnnotation"},{"attributes":{},"id":"42132553-3c3f-4184-bd0f-94f0f70fe47c","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":"edc13d8f-f5e6-4460-8433-117a1ee8935d","type":"BoxAnnotation"},{"attributes":{"below":[{"id":"6642464e-66b1-4826-a77d-f41b1f96353b","type":"LinearAxis"}],"left":[{"id":"bfd52634-68e9-4c60-99ae-51cdf3a64e23","type":"LinearAxis"}],"plot_height":250,"plot_width":250,"renderers":[{"id":"6642464e-66b1-4826-a77d-f41b1f96353b","type":"LinearAxis"},{"id":"0cc50975-33f0-4787-86ec-8b0d1d4f3cd0","type":"Grid"},{"id":"bfd52634-68e9-4c60-99ae-51cdf3a64e23","type":"LinearAxis"},{"id":"18e73cf8-ef71-4f01-9a64-329374c5f1d4","type":"Grid"},{"id":"f9f1f7fc-0378-4e94-a6f0-e1868c5712a3","type":"BoxAnnotation"},{"id":"0f750688-7bb5-40bb-bd4e-81332eb245b1","type":"GlyphRenderer"}],"title":{"id":"914d5ba2-7eb6-4765-b0e9-afe5529aff4e","type":"Title"},"tool_events":{"id":"8a62c9bb-cdab-4814-bfbb-ddd8e6ddfef4","type":"ToolEvents"},"toolbar":{"id":"29df7b32-8111-4b8e-b7f6-e6c7470086c1","type":"Toolbar"},"toolbar_location":null,"x_range":{"id":"f14dbbee-3b95-4ad8-9ef2-c1a088901862","type":"DataRange1d"},"y_range":{"id":"4ba552b3-600a-4f70-82d4-9748c2fd60a1","type":"DataRange1d"}},"id":"3a468582-efe6-4b27-9516-d0cd2dfa9235","subtype":"Figure","type":"Plot"},{"attributes":{"plot":{"id":"3a468582-efe6-4b27-9516-d0cd2dfa9235","subtype":"Figure","type":"Plot"},"ticker":{"id":"5eb5f595-39e5-4139-8bd7-b79818048ce6","type":"BasicTicker"}},"id":"0cc50975-33f0-4787-86ec-8b0d1d4f3cd0","type":"Grid"},{"attributes":{"overlay":{"id":"f9f1f7fc-0378-4e94-a6f0-e1868c5712a3","type":"BoxAnnotation"},"plot":{"id":"3a468582-efe6-4b27-9516-d0cd2dfa9235","subtype":"Figure","type":"Plot"}},"id":"bda71c68-80b8-41ca-b0e9-552117fd68c2","type":"BoxZoomTool"},{"attributes":{},"id":"ae8a6209-7df4-47eb-9d5f-eb39341e5b6d","type":"ToolEvents"},{"attributes":{"plot":null,"text":null},"id":"01d670c2-5d58-4fc3-96c3-df49ccbaefa1","type":"Title"},{"attributes":{"formatter":{"id":"e73d258f-abb8-46ce-ad2d-986ecc0b884a","type":"BasicTickFormatter"},"plot":{"id":"5c0cbcd6-28b6-4014-b528-ad32ccdcc97b","subtype":"Figure","type":"Plot"},"ticker":{"id":"0e150f4b-f7f1-42aa-8a7d-0118b48e0eaf","type":"BasicTicker"}},"id":"b6c36fc8-68f4-4ad3-af75-f0142cc0fbbf","type":"LinearAxis"},{"attributes":{"plot":{"id":"3a468582-efe6-4b27-9516-d0cd2dfa9235","subtype":"Figure","type":"Plot"}},"id":"89c13955-07b3-455b-b3bd-11f4ad880b7b","type":"SaveTool"},{"attributes":{"fill_color":{"value":"#208F8C"},"line_color":{"value":"#208F8C"},"size":{"units":"screen","value":10},"x":{"field":"x"},"y":{"field":"y"}},"id":"31c13433-dbff-4a29-a1f6-b578d22a1860","type":"Triangle"},{"attributes":{"plot":{"id":"5c0cbcd6-28b6-4014-b528-ad32ccdcc97b","subtype":"Figure","type":"Plot"}},"id":"04c50418-de4a-405b-babb-c5a204297bdb","type":"ResetTool"},{"attributes":{"active_drag":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"0a205b8e-8b14-4007-81a9-22f5218d9dfc","type":"PanTool"},{"id":"bb08cb7d-3bde-4171-9aba-5afe93c7eec8","type":"WheelZoomTool"},{"id":"b5443e2b-ef0c-4c68-a06b-0f1c5ce00245","type":"BoxZoomTool"},{"id":"87ff487a-947e-460c-8257-b9bbaf562613","type":"SaveTool"},{"id":"8ff0819a-732b-4536-915f-a8dc525d1114","type":"ResetTool"},{"id":"b182a2ea-1f65-45e3-835e-4481403963b9","type":"HelpTool"}]},"id":"abca7e65-9f12-4aca-b51d-0243b96c1665","type":"Toolbar"},{"attributes":{"data_source":{"id":"37cea32e-d99a-435e-9981-4ed48d6ad8d9","type":"ColumnDataSource"},"glyph":{"id":"0380f6b9-2d3f-4ba0-a673-6ab29e8b8bec","type":"Circle"},"hover_glyph":null,"nonselection_glyph":{"id":"97aa5b62-b74e-4b29-a210-823d6bea368d","type":"Circle"},"selection_glyph":null},"id":"0f750688-7bb5-40bb-bd4e-81332eb245b1","type":"GlyphRenderer"},{"attributes":{"plot":{"id":"9bbc5b15-2b26-4e40-a52d-3246cc371983","subtype":"Figure","type":"Plot"}},"id":"8ff0819a-732b-4536-915f-a8dc525d1114","type":"ResetTool"},{"attributes":{"plot":{"id":"3a468582-efe6-4b27-9516-d0cd2dfa9235","subtype":"Figure","type":"Plot"}},"id":"9cbffbe8-66ca-447b-9f98-85b8d9db7830","type":"WheelZoomTool"},{"attributes":{},"id":"e73d258f-abb8-46ce-ad2d-986ecc0b884a","type":"BasicTickFormatter"},{"attributes":{"callback":null,"column_names":["y","x"],"data":{"x":[0,1,2,3,4,5,6,7,8,9,10],"y":[0,1,2,3,4,5,6,7,8,9,10]}},"id":"37cea32e-d99a-435e-9981-4ed48d6ad8d9","type":"ColumnDataSource"},{"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":"a704aef5-ed99-43b6-bb80-5410c2f2b759","type":"BoxAnnotation"},{"attributes":{"children":[{"id":"6cef6a83-7f77-4643-855b-78d0e8155f72","type":"Row"},{"id":"a3f25457-e3c1-4d15-8cc2-04b356a00bda","type":"Row"}]},"id":"6e985580-6fb5-45a0-98bf-104b954c1deb","type":"Column"},{"attributes":{"formatter":{"id":"28a5f613-d357-41e6-bd80-9b40f25c6fa6","type":"BasicTickFormatter"},"plot":{"id":"9bbc5b15-2b26-4e40-a52d-3246cc371983","subtype":"Figure","type":"Plot"},"ticker":{"id":"4b6f0e42-c1b2-497e-885b-92d382e2a79d","type":"BasicTicker"}},"id":"1575f7de-9732-4d81-911c-ae8e6092c1b1","type":"LinearAxis"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":10},"x":{"field":"x"},"y":{"field":"y"}},"id":"7fb39c33-5630-4c7b-a40b-36c10e2ad1f9","type":"Square"},{"attributes":{"plot":null,"text":null},"id":"914d5ba2-7eb6-4765-b0e9-afe5529aff4e","type":"Title"},{"attributes":{},"id":"ae8b09f6-22a5-4740-b61b-2bce265fba5f","type":"BasicTicker"},{"attributes":{"formatter":{"id":"6633e283-0629-498d-8453-17dc075bcd3d","type":"BasicTickFormatter"},"plot":{"id":"5c0cbcd6-28b6-4014-b528-ad32ccdcc97b","subtype":"Figure","type":"Plot"},"ticker":{"id":"e8b52312-32fc-407d-930a-b29b33ecfcb0","type":"BasicTicker"}},"id":"67c30914-813b-4378-97b4-8759ec35c6a4","type":"LinearAxis"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":10},"x":{"field":"x"},"y":{"field":"y"}},"id":"97aa5b62-b74e-4b29-a210-823d6bea368d","type":"Circle"},{"attributes":{"active_drag":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"ec0eb2aa-7bae-4f2e-8648-056ddce6d00c","type":"PanTool"},{"id":"211db390-dcc0-4758-a71d-0e603907f2e4","type":"WheelZoomTool"},{"id":"69201982-5320-46a0-808b-19be08a9066b","type":"BoxZoomTool"},{"id":"622f6d58-208e-4dce-a594-cd39420d7abf","type":"SaveTool"},{"id":"04c50418-de4a-405b-babb-c5a204297bdb","type":"ResetTool"},{"id":"4499e321-292d-43b8-915a-9835a1f12247","type":"HelpTool"}]},"id":"8d728487-70a7-4672-bbbc-6689bf27336c","type":"Toolbar"},{"attributes":{"dimension":1,"plot":{"id":"9bbc5b15-2b26-4e40-a52d-3246cc371983","subtype":"Figure","type":"Plot"},"ticker":{"id":"ae8b09f6-22a5-4740-b61b-2bce265fba5f","type":"BasicTicker"}},"id":"9cf83bc5-560e-4a7f-8b48-78582a1049e7","type":"Grid"},{"attributes":{"data_source":{"id":"bbfdbcf3-03f3-4726-baaf-3a3818d2caf0","type":"ColumnDataSource"},"glyph":{"id":"961bcb57-2896-4327-852e-742103906a10","type":"Square"},"hover_glyph":null,"nonselection_glyph":{"id":"7fb39c33-5630-4c7b-a40b-36c10e2ad1f9","type":"Square"},"selection_glyph":null},"id":"d4a3db4e-5d1e-4ce1-9f75-5d24a7a35431","type":"GlyphRenderer"},{"attributes":{"plot":{"id":"9bbc5b15-2b26-4e40-a52d-3246cc371983","subtype":"Figure","type":"Plot"}},"id":"b182a2ea-1f65-45e3-835e-4481403963b9","type":"HelpTool"},{"attributes":{"callback":null},"id":"a97d0b8e-f5cc-4f6b-bf31-2cc6b1a141a8","type":"DataRange1d"},{"attributes":{"active_drag":"auto","active_scroll":"auto","active_tap":"auto","tools":[{"id":"ee993109-8cc6-4e47-9cfc-f885bc2ad33a","type":"PanTool"},{"id":"9cbffbe8-66ca-447b-9f98-85b8d9db7830","type":"WheelZoomTool"},{"id":"bda71c68-80b8-41ca-b0e9-552117fd68c2","type":"BoxZoomTool"},{"id":"89c13955-07b3-455b-b3bd-11f4ad880b7b","type":"SaveTool"},{"id":"689875e4-e153-4217-82fa-ea61ef95ebb8","type":"ResetTool"},{"id":"d744e666-a214-4693-8e61-6c846d8364bc","type":"HelpTool"}]},"id":"29df7b32-8111-4b8e-b7f6-e6c7470086c1","type":"Toolbar"},{"attributes":{"formatter":{"id":"2f680129-27fc-404b-b806-f9c5d28badd3","type":"BasicTickFormatter"},"plot":{"id":"9bbc5b15-2b26-4e40-a52d-3246cc371983","subtype":"Figure","type":"Plot"},"ticker":{"id":"ae8b09f6-22a5-4740-b61b-2bce265fba5f","type":"BasicTicker"}},"id":"257f7638-e09f-413d-a7b7-0ce90e41ad37","type":"LinearAxis"},{"attributes":{"below":[{"id":"b6c36fc8-68f4-4ad3-af75-f0142cc0fbbf","type":"LinearAxis"}],"left":[{"id":"67c30914-813b-4378-97b4-8759ec35c6a4","type":"LinearAxis"}],"plot_height":250,"plot_width":250,"renderers":[{"id":"b6c36fc8-68f4-4ad3-af75-f0142cc0fbbf","type":"LinearAxis"},{"id":"1ad43208-af18-40c1-be6b-5c2873e97e3f","type":"Grid"},{"id":"67c30914-813b-4378-97b4-8759ec35c6a4","type":"LinearAxis"},{"id":"e092e547-b558-4e3a-8202-29ec2bfe1f0b","type":"Grid"},{"id":"a704aef5-ed99-43b6-bb80-5410c2f2b759","type":"BoxAnnotation"},{"id":"d4a3db4e-5d1e-4ce1-9f75-5d24a7a35431","type":"GlyphRenderer"}],"title":{"id":"01d670c2-5d58-4fc3-96c3-df49ccbaefa1","type":"Title"},"tool_events":{"id":"7c54ffc2-c780-43d5-bc9c-db7d35ea2dce","type":"ToolEvents"},"toolbar":{"id":"8d728487-70a7-4672-bbbc-6689bf27336c","type":"Toolbar"},"toolbar_location":null,"x_range":{"id":"a6026e89-d03a-4ccd-beb0-b7820d26207a","type":"DataRange1d"},"y_range":{"id":"975eeabd-9ef1-423b-9218-aef2b37404ee","type":"DataRange1d"}},"id":"5c0cbcd6-28b6-4014-b528-ad32ccdcc97b","subtype":"Figure","type":"Plot"},{"attributes":{"plot":{"id":"9bbc5b15-2b26-4e40-a52d-3246cc371983","subtype":"Figure","type":"Plot"},"ticker":{"id":"4b6f0e42-c1b2-497e-885b-92d382e2a79d","type":"BasicTicker"}},"id":"ac4ddb37-9db1-4639-a348-e34b1be1869a","type":"Grid"},{"attributes":{},"id":"4b6f0e42-c1b2-497e-885b-92d382e2a79d","type":"BasicTicker"},{"attributes":{"plot":{"id":"5c0cbcd6-28b6-4014-b528-ad32ccdcc97b","subtype":"Figure","type":"Plot"}},"id":"4499e321-292d-43b8-915a-9835a1f12247","type":"HelpTool"},{"attributes":{"callback":null},"id":"a6026e89-d03a-4ccd-beb0-b7820d26207a","type":"DataRange1d"},{"attributes":{"callback":null},"id":"0aec30e7-da8e-4dc0-af69-66079462108b","type":"DataRange1d"},{"attributes":{"dimension":1,"plot":{"id":"5c0cbcd6-28b6-4014-b528-ad32ccdcc97b","subtype":"Figure","type":"Plot"},"ticker":{"id":"e8b52312-32fc-407d-930a-b29b33ecfcb0","type":"BasicTicker"}},"id":"e092e547-b558-4e3a-8202-29ec2bfe1f0b","type":"Grid"},{"attributes":{},"id":"7c54ffc2-c780-43d5-bc9c-db7d35ea2dce","type":"ToolEvents"},{"attributes":{"height":250,"width":250},"id":"060e9297-9644-4d4e-8c60-598693757334","type":"Spacer"},{"attributes":{"fill_color":{"value":"#440154"},"line_color":{"value":"#440154"},"size":{"units":"screen","value":10},"x":{"field":"x"},"y":{"field":"y"}},"id":"0380f6b9-2d3f-4ba0-a673-6ab29e8b8bec","type":"Circle"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"size":{"units":"screen","value":10},"x":{"field":"x"},"y":{"field":"y"}},"id":"f191642c-c041-4fa2-940d-40c9622a97ac","type":"Triangle"},{"attributes":{"callback":null},"id":"975eeabd-9ef1-423b-9218-aef2b37404ee","type":"DataRange1d"},{"attributes":{},"id":"28a5f613-d357-41e6-bd80-9b40f25c6fa6","type":"BasicTickFormatter"},{"attributes":{},"id":"0e150f4b-f7f1-42aa-8a7d-0118b48e0eaf","type":"BasicTicker"},{"attributes":{},"id":"427f1e37-e8a4-4dad-ab32-3529c263c430","type":"BasicTickFormatter"},{"attributes":{"plot":{"id":"9bbc5b15-2b26-4e40-a52d-3246cc371983","subtype":"Figure","type":"Plot"}},"id":"0a205b8e-8b14-4007-81a9-22f5218d9dfc","type":"PanTool"},{"attributes":{"below":[{"id":"1575f7de-9732-4d81-911c-ae8e6092c1b1","type":"LinearAxis"}],"left":[{"id":"257f7638-e09f-413d-a7b7-0ce90e41ad37","type":"LinearAxis"}],"plot_height":250,"plot_width":250,"renderers":[{"id":"1575f7de-9732-4d81-911c-ae8e6092c1b1","type":"LinearAxis"},{"id":"ac4ddb37-9db1-4639-a348-e34b1be1869a","type":"Grid"},{"id":"257f7638-e09f-413d-a7b7-0ce90e41ad37","type":"LinearAxis"},{"id":"9cf83bc5-560e-4a7f-8b48-78582a1049e7","type":"Grid"},{"id":"edc13d8f-f5e6-4460-8433-117a1ee8935d","type":"BoxAnnotation"},{"id":"cfe318f0-393e-40da-9715-c4ef3157e51f","type":"GlyphRenderer"}],"title":{"id":"5ee2c950-c6f3-4d6a-8aa0-b2e0395d569d","type":"Title"},"tool_events":{"id":"ae8a6209-7df4-47eb-9d5f-eb39341e5b6d","type":"ToolEvents"},"toolbar":{"id":"abca7e65-9f12-4aca-b51d-0243b96c1665","type":"Toolbar"},"toolbar_location":null,"x_range":{"id":"a97d0b8e-f5cc-4f6b-bf31-2cc6b1a141a8","type":"DataRange1d"},"y_range":{"id":"0aec30e7-da8e-4dc0-af69-66079462108b","type":"DataRange1d"}},"id":"9bbc5b15-2b26-4e40-a52d-3246cc371983","subtype":"Figure","type":"Plot"},{"attributes":{"overlay":{"id":"a704aef5-ed99-43b6-bb80-5410c2f2b759","type":"BoxAnnotation"},"plot":{"id":"5c0cbcd6-28b6-4014-b528-ad32ccdcc97b","subtype":"Figure","type":"Plot"}},"id":"69201982-5320-46a0-808b-19be08a9066b","type":"BoxZoomTool"},{"attributes":{"plot":{"id":"5c0cbcd6-28b6-4014-b528-ad32ccdcc97b","subtype":"Figure","type":"Plot"}},"id":"ec0eb2aa-7bae-4f2e-8648-056ddce6d00c","type":"PanTool"}],"root_ids":["84fbb829-dae4-44cd-bab5-cd0dc4728a92"]},"title":"Bokeh Application","version":"0.12.0.9128"}};
                var render_items = [{"docid":"ca7b0078-d3a0-4dbe-8050-c5355cfd11ef","elementid":"d58584a5-6ef5-4f22-89fd-a1f7451bc2fe","modelid":"84fbb829-dae4-44cd-bab5-cd0dc4728a92"}];
                
                Bokeh.embed.embed_items(docs_json, render_items);
            });
          },
          function(Bokeh) {
            console.log("Bokeh: injecting CSS: https://cdn.bokeh.org/bokeh/release/bokeh-0.12.0.min.css");
            Bokeh.embed.inject_css("https://cdn.bokeh.org/bokeh/release/bokeh-0.12.0.min.css");
            console.log("Bokeh: injecting CSS: https://cdn.bokeh.org/bokeh/release/bokeh-widgets-0.12.0.min.css");
            Bokeh.embed.inject_css("https://cdn.bokeh.org/bokeh/release/bokeh-widgets-0.12.0.min.css");
          }
        ];
      
        function run_inline_js() {
          for (var i = 0; i < inline_js.length; i++) {
            inline_js[i](window.Bokeh);
          }
        }
      
        if (window._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();
          });
        }
      }(this));
  });