Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

main.htm 11 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Bokeh Scatter Plots</title>
  6. <script src="https://cdn.bokeh.org/bokeh/release/bokeh-2.0.0.min.js"
  7. crossorigin="anonymous"></script>
  8. <script type="text/javascript">
  9. (function() {
  10. var fn = function() {
  11. Bokeh.safely(function() {
  12. (function(root) {
  13. function embed_document(root) {
  14. var docs_json = '{"bab72527-b76b-4bcc-b2ce-4383dba05b38":{"roots":{"references":[{"attributes":{},"id":"1126","type":"Selection"},{"attributes":{},"id":"1013","type":"BasicTicker"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"1084"},{"id":"1085"},{"id":"1086"},{"id":"1087"},{"id":"1088"}]},"id":"1090","type":"Toolbar"},{"attributes":{"formatter":{"id":"1105"},"ticker":{"id":"1013"}},"id":"1012","type":"LinearAxis"},{"attributes":{"formatter":{"id":"1150"},"ticker":{"id":"1077"}},"id":"1076","type":"LinearAxis"},{"attributes":{"source":{"id":"1096"}},"id":"1100","type":"CDSView"},{"attributes":{"below":[{"id":"1076"}],"center":[{"id":"1079"},{"id":"1083"}],"left":[{"id":"1080"}],"plot_height":300,"plot_width":300,"renderers":[{"id":"1099"}],"title":{"id":"1146"},"toolbar":{"id":"1090"},"x_range":{"id":"1003"},"x_scale":{"id":"1072"},"y_range":{"id":"1004"},"y_scale":{"id":"1074"}},"id":"1069","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"1010","type":"LinearScale"},{"attributes":{},"id":"1074","type":"LinearScale"},{"attributes":{"end":30},"id":"1001","type":"Range1d"},{"attributes":{"axis":{"id":"1076"},"ticker":null},"id":"1079","type":"Grid"},{"attributes":{"formatter":{"id":"1148"},"ticker":{"id":"1081"}},"id":"1080","type":"LinearAxis"},{"attributes":{"end":30},"id":"1004","type":"Range1d"},{"attributes":{"end":30},"id":"1002","type":"Range1d"},{"attributes":{"axis":{"id":"1012"},"ticker":null},"id":"1015","type":"Grid"},{"attributes":{"data":{"x":[0,1,0,8,2,4,6,9,7,8,9],"y":[0,8,4,6,9,15,18,19,19,25,28]},"selected":{"id":"1153"},"selection_policy":{"id":"1152"}},"id":"1096","type":"ColumnDataSource"},{"attributes":{"formatter":{"id":"1103"},"ticker":{"id":"1017"}},"id":"1016","type":"LinearAxis"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"1020"},{"id":"1021"},{"id":"1022"},{"id":"1023"},{"id":"1024"}]},"id":"1026","type":"Toolbar"},{"attributes":{"fill_alpha":{"value":0.5},"fill_color":{"value":"green"},"line_alpha":{"value":0.5},"line_color":{"value":"green"},"size":{"units":"screen","value":12},"x":{"field":"x"},"y":{"field":"y"}},"id":"1097","type":"Scatter"},{"attributes":{"data_source":{"id":"1064"},"glyph":{"id":"1065"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1066"},"selection_glyph":null,"view":{"id":"1068"}},"id":"1067","type":"GlyphRenderer"},{"attributes":{"axis":{"id":"1016"},"dimension":1,"ticker":null},"id":"1019","type":"Grid"},{"attributes":{},"id":"1077","type":"BasicTicker"},{"attributes":{},"id":"1017","type":"BasicTicker"},{"attributes":{"text":""},"id":"1101","type":"Title"},{"attributes":{"source":{"id":"1064"}},"id":"1068","type":"CDSView"},{"attributes":{},"id":"1072","type":"LinearScale"},{"attributes":{},"id":"1021","type":"WheelZoomTool"},{"attributes":{},"id":"1020","type":"PanTool"},{"attributes":{"below":[{"id":"1012"}],"center":[{"id":"1015"},{"id":"1019"}],"left":[{"id":"1016"}],"plot_height":300,"plot_width":300,"renderers":[{"id":"1035"}],"title":{"id":"1101"},"toolbar":{"id":"1026"},"x_range":{"id":"1001"},"x_scale":{"id":"1008"},"y_range":{"id":"1002"},"y_scale":{"id":"1010"}},"id":"1005","subtype":"Figure","type":"Plot"},{"attributes":{"bottom_units":"screen","fill_alpha":0.5,"fill_color":"lightgrey","left_units":"screen","level":"overlay","line_alpha":1.0,"line_color":"black","line_dash":[4,4],"line_width":2,"right_units":"screen","top_units":"screen"},"id":"1057","type":"BoxAnnotation"},{"attributes":{"overlay":{"id":"1025"}},"id":"1022","type":"BoxZoomTool"},{"attributes":{},"id":"1023","type":"ResetTool"},{"attributes":{},"id":"1024","type":"SaveTool"},{"attributes":{"text":""},"id":"1146","type":"Title"},{"attributes":{},"id":"1053","type":"WheelZoomTool"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"1052"},{"id":"1053"},{"id":"1054"},{"id":"1055"},{"id":"1056"}]},"id":"1058","type":"Toolbar"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"blue"},"line_alpha":{"value":0.1},"line_color":{"value":"blue"},"size":{"units":"screen","value":12},"x":{"field":"x"},"y":{"field":"y"}},"id":"1066","type":"Scatter"},{"attributes":{"axis":{"id":"1048"},"dimension":1,"ticker":null},"id":"1051","type":"Grid"},{"attributes":{},"id":"1052","type":"PanTool"},{"attributes":{},"id":"1103","type":"BasicTickFormatter"},{"attributes":{},"id":"1049","type":"BasicTicker"},{"attributes":{"overlay":{"id":"1057"}},"id":"1054","type":"BoxZoomTool"},{"attributes":{},"id":"1056","type":"SaveTool"},{"attributes":{"formatter":{"id":"1121"},"ticker":{"id":"1049"}},"id":"1048","type":"LinearAxis"},{"attributes":{},"id":"1148","type":"BasicTickFormatter"},{"attributes":{"data":{"x":[2,5,7,15,18,19,25,28,9,10,4],"y":[2,4,6,9,15,18,0,8,2,25,28]},"selected":{"id":"1126"},"selection_policy":{"id":"1125"}},"id":"1064","type":"ColumnDataSource"},{"attributes":{},"id":"1105","type":"BasicTickFormatter"},{"attributes":{},"id":"1040","type":"LinearScale"},{"attributes":{"end":30},"id":"1003","type":"Range1d"},{"attributes":{"fill_alpha":{"value":0.5},"fill_color":{"value":"blue"},"line_alpha":{"value":0.5},"line_color":{"value":"blue"},"size":{"units":"screen","value":12},"x":{"field":"x"},"y":{"field":"y"}},"id":"1065","type":"Scatter"},{"attributes":{"axis":{"id":"1080"},"dimension":1,"ticker":null},"id":"1083","type":"Grid"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"red"},"line_alpha":{"value":0.1},"line_color":{"value":"red"},"size":{"units":"screen","value":12},"x":{"field":"x"},"y":{"field":"y"}},"id":"1034","type":"Scatter"},{"attributes":{},"id":"1081","type":"BasicTicker"},{"attributes":{"axis":{"id":"1044"},"ticker":null},"id":"1047","type":"Grid"},{"attributes":{},"id":"1150","type":"BasicTickFormatter"},{"attributes":{},"id":"1045","type":"BasicTicker"},{"attributes":{},"id":"1085","type":"WheelZoomTool"},{"attributes":{"text":""},"id":"1119","type":"Title"},{"attributes":{},"id":"1084","type":"PanTool"},{"attributes":{"overlay":{"id":"1089"}},"id":"1086","type":"BoxZoomTool"},{"attributes":{"source":{"id":"1032"}},"id":"1036","type":"CDSView"},{"attributes":{},"id":"1087","type":"ResetTool"},{"attributes":{"data_source":{"id":"1032"},"glyph":{"id":"1033"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1034"},"selection_glyph":null,"view":{"id":"1036"}},"id":"1035","type":"GlyphRenderer"},{"attributes":{},"id":"1088","type":"SaveTool"},{"attributes":{"data":{"x":[0,1,2,3,4,5,6,7,8,9,10],"y":[0,8,2,4,6,9,5,6,25,28,4,7]},"selected":{"id":"1108"},"selection_policy":{"id":"1107"}},"id":"1032","type":"ColumnDataSource"},{"attributes":{},"id":"1108","type":"Selection"},{"attributes":{"fill_alpha":{"value":0.5},"fill_color":{"value":"red"},"line_alpha":{"value":0.5},"line_color":{"value":"red"},"size":{"units":"screen","value":12},"x":{"field":"x"},"y":{"field":"y"}},"id":"1033","type":"Scatter"},{"attributes":{"bottom_units":"screen","fill_alpha":0.5,"fill_color":"lightgrey","left_units":"screen","level":"overlay","line_alpha":1.0,"line_color":"black","line_dash":[4,4],"line_width":2,"right_units":"screen","top_units":"screen"},"id":"1025","type":"BoxAnnotation"},{"attributes":{"below":[{"id":"1044"}],"center":[{"id":"1047"},{"id":"1051"}],"left":[{"id":"1048"}],"plot_height":300,"plot_width":300,"renderers":[{"id":"1067"}],"title":{"id":"1119"},"toolbar":{"id":"1058"},"x_range":{"id":"1001"},"x_scale":{"id":"1040"},"y_range":{"id":"1002"},"y_scale":{"id":"1042"}},"id":"1037","subtype":"Figure","type":"Plot"},{"attributes":{"data_source":{"id":"1096"},"glyph":{"id":"1097"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"1098"},"selection_glyph":null,"view":{"id":"1100"}},"id":"1099","type":"GlyphRenderer"},{"attributes":{},"id":"1152","type":"UnionRenderers"},{"attributes":{},"id":"1153","type":"Selection"},{"attributes":{},"id":"1121","type":"BasicTickFormatter"},{"attributes":{},"id":"1107","type":"UnionRenderers"},{"attributes":{},"id":"1055","type":"ResetTool"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"green"},"line_alpha":{"value":0.1},"line_color":{"value":"green"},"size":{"units":"screen","value":12},"x":{"field":"x"},"y":{"field":"y"}},"id":"1098","type":"Scatter"},{"attributes":{},"id":"1123","type":"BasicTickFormatter"},{"attributes":{},"id":"1042","type":"LinearScale"},{"attributes":{"formatter":{"id":"1123"},"ticker":{"id":"1045"}},"id":"1044","type":"LinearAxis"},{"attributes":{"bottom_units":"screen","fill_alpha":0.5,"fill_color":"lightgrey","left_units":"screen","level":"overlay","line_alpha":1.0,"line_color":"black","line_dash":[4,4],"line_width":2,"right_units":"screen","top_units":"screen"},"id":"1089","type":"BoxAnnotation"},{"attributes":{},"id":"1008","type":"LinearScale"},{"attributes":{},"id":"1125","type":"UnionRenderers"}],"root_ids":["1005","1037","1069"]},"title":"Bokeh Application","version":"2.2.3"}}';
  15. var render_items = [{"docid":"bab72527-b76b-4bcc-b2ce-4383dba05b38","root_ids":["1005","1037","1069"],"roots":{"1005":"5006de60-8e9b-49c4-92e9-58156353713a","1037":"f528ec64-5602-46cd-abec-f113afa0c8bc","1069":"9d7f811a-b8ed-4bc6-a9c0-ea57aa9fd357"}}];
  16. root.Bokeh.embed.embed_items(docs_json, render_items);
  17. }
  18. if (root.Bokeh !== undefined) {
  19. embed_document(root);
  20. } else {
  21. var attempts = 0;
  22. var timer = setInterval(function(root) {
  23. if (root.Bokeh !== undefined) {
  24. clearInterval(timer);
  25. embed_document(root);
  26. } else {
  27. attempts++;
  28. if (attempts > 100) {
  29. clearInterval(timer);
  30. console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
  31. }
  32. }
  33. }, 10, root)
  34. }
  35. })(window);
  36. });
  37. };
  38. if (document.readyState != "loading") fn();
  39. else document.addEventListener("DOMContentLoaded", fn);
  40. })();
  41. </script>
  42. </head>
  43. <body>
  44. <div class="bk-root" id="5006de60-8e9b-49c4-92e9-58156353713a" data-root-id="1005"></div>
  45. <div class="bk-root" id="f528ec64-5602-46cd-abec-f113afa0c8bc" data-root-id="1037"></div>
  46. <div class="bk-root" id="9d7f811a-b8ed-4bc6-a9c0-ea57aa9fd357" data-root-id="1069"></div></body>
  47. </html>
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...