charty 0.1.5.dev → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +71 -0
  3. data/.github/workflows/nmatrix.yml +67 -0
  4. data/.github/workflows/pycall.yml +86 -0
  5. data/Dockerfile.dev +9 -1
  6. data/Gemfile +18 -0
  7. data/README.md +176 -9
  8. data/Rakefile +4 -5
  9. data/charty.gemspec +10 -1
  10. data/examples/Gemfile +1 -0
  11. data/examples/active_record.ipynb +1 -1
  12. data/examples/daru.ipynb +1 -1
  13. data/examples/iris_dataset.ipynb +1 -1
  14. data/examples/nmatrix.ipynb +1 -1
  15. data/examples/{numo-narray.ipynb → numo_narray.ipynb} +1 -1
  16. data/examples/palette.rb +71 -0
  17. data/examples/sample.png +0 -0
  18. data/examples/sample_bokeh.ipynb +156 -0
  19. data/examples/sample_google_chart.ipynb +229 -68
  20. data/examples/sample_images/bar_bokeh.html +85 -0
  21. data/examples/sample_images/barh_bokeh.html +85 -0
  22. data/examples/sample_images/box_plot_bokeh.html +85 -0
  23. data/examples/sample_images/curve_bokeh.html +85 -0
  24. data/examples/sample_images/curve_with_function_bokeh.html +85 -0
  25. data/examples/sample_images/hist_gruff.png +0 -0
  26. data/examples/sample_images/scatter_bokeh.html +85 -0
  27. data/examples/sample_pyplot.ipynb +40 -38
  28. data/images/penguins_body_mass_g_flipper_length_mm_scatter_plot.png +0 -0
  29. data/images/penguins_body_mass_g_flipper_length_mm_species_scatter_plot.png +0 -0
  30. data/images/penguins_body_mass_g_flipper_length_mm_species_sex_scatter_plot.png +0 -0
  31. data/images/penguins_species_body_mass_g_bar_plot_h.png +0 -0
  32. data/images/penguins_species_body_mass_g_bar_plot_v.png +0 -0
  33. data/images/penguins_species_body_mass_g_box_plot_h.png +0 -0
  34. data/images/penguins_species_body_mass_g_box_plot_v.png +0 -0
  35. data/images/penguins_species_body_mass_g_sex_bar_plot_v.png +0 -0
  36. data/images/penguins_species_body_mass_g_sex_box_plot_v.png +0 -0
  37. data/lib/charty.rb +14 -1
  38. data/lib/charty/backend_methods.rb +8 -0
  39. data/lib/charty/backends.rb +80 -0
  40. data/lib/charty/backends/bokeh.rb +32 -26
  41. data/lib/charty/backends/google_charts.rb +267 -0
  42. data/lib/charty/backends/gruff.rb +102 -83
  43. data/lib/charty/backends/plotly.rb +685 -0
  44. data/lib/charty/backends/pyplot.rb +586 -92
  45. data/lib/charty/backends/rubyplot.rb +82 -74
  46. data/lib/charty/backends/unicode_plot.rb +79 -0
  47. data/lib/charty/index.rb +213 -0
  48. data/lib/charty/linspace.rb +1 -1
  49. data/lib/charty/missing_value_support.rb +14 -0
  50. data/lib/charty/plot_methods.rb +184 -0
  51. data/lib/charty/plotter.rb +48 -40
  52. data/lib/charty/plotters.rb +11 -0
  53. data/lib/charty/plotters/abstract_plotter.rb +183 -0
  54. data/lib/charty/plotters/bar_plotter.rb +201 -0
  55. data/lib/charty/plotters/box_plotter.rb +79 -0
  56. data/lib/charty/plotters/categorical_plotter.rb +380 -0
  57. data/lib/charty/plotters/count_plotter.rb +7 -0
  58. data/lib/charty/plotters/estimation_support.rb +84 -0
  59. data/lib/charty/plotters/random_support.rb +25 -0
  60. data/lib/charty/plotters/relational_plotter.rb +518 -0
  61. data/lib/charty/plotters/scatter_plotter.rb +104 -0
  62. data/lib/charty/plotters/vector_plotter.rb +6 -0
  63. data/lib/charty/statistics.rb +114 -0
  64. data/lib/charty/table.rb +80 -3
  65. data/lib/charty/table_adapters.rb +25 -0
  66. data/lib/charty/table_adapters/active_record_adapter.rb +63 -0
  67. data/lib/charty/table_adapters/base_adapter.rb +69 -0
  68. data/lib/charty/table_adapters/daru_adapter.rb +70 -0
  69. data/lib/charty/table_adapters/datasets_adapter.rb +49 -0
  70. data/lib/charty/table_adapters/hash_adapter.rb +224 -0
  71. data/lib/charty/table_adapters/narray_adapter.rb +76 -0
  72. data/lib/charty/table_adapters/nmatrix_adapter.rb +67 -0
  73. data/lib/charty/table_adapters/pandas_adapter.rb +81 -0
  74. data/lib/charty/util.rb +20 -0
  75. data/lib/charty/vector.rb +69 -0
  76. data/lib/charty/vector_adapters.rb +183 -0
  77. data/lib/charty/vector_adapters/array_adapter.rb +109 -0
  78. data/lib/charty/vector_adapters/daru_adapter.rb +171 -0
  79. data/lib/charty/vector_adapters/narray_adapter.rb +187 -0
  80. data/lib/charty/vector_adapters/nmatrix_adapter.rb +37 -0
  81. data/lib/charty/vector_adapters/numpy_adapter.rb +168 -0
  82. data/lib/charty/vector_adapters/pandas_adapter.rb +200 -0
  83. data/lib/charty/version.rb +1 -1
  84. metadata +179 -10
  85. data/.travis.yml +0 -11
  86. data/lib/charty/backends/google_chart.rb +0 -167
  87. data/lib/charty/plotter_adapter.rb +0 -17
@@ -0,0 +1,85 @@
1
+
2
+
3
+
4
+
5
+ <!DOCTYPE html>
6
+ <html lang="en">
7
+
8
+ <head>
9
+
10
+ <meta charset="utf-8">
11
+ <title>Bokeh Plot</title>
12
+
13
+
14
+
15
+
16
+ <link rel="stylesheet" href="https://cdn.pydata.org/bokeh/release/bokeh-1.0.4.min.css" type="text/css" />
17
+
18
+
19
+
20
+ <script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-1.0.4.min.js"></script>
21
+ <script type="text/javascript">
22
+ Bokeh.set_log_level("info");
23
+ </script>
24
+
25
+
26
+
27
+
28
+ </head>
29
+
30
+
31
+ <body>
32
+
33
+
34
+
35
+
36
+
37
+
38
+ <div class="bk-root" id="217e12de-cc57-48bd-88d4-06d7a9c7c2a4" data-root-id="6604"></div>
39
+
40
+
41
+
42
+
43
+
44
+ <script type="application/json" id="6750">
45
+ {"efcbcc37-c70d-404c-aca1-689c03d1d74a":{"roots":{"references":[{"attributes":{},"id":"6663","type":"Selection"},{"attributes":{"axis_label":"bar","formatter":{"id":"6658","type":"BasicTickFormatter"},"plot":{"id":"6604","subtype":"Figure","type":"Plot"},"ticker":{"id":"6620","type":"BasicTicker"}},"id":"6619","type":"LinearAxis"},{"attributes":{},"id":"6659","type":"Selection"},{"attributes":{"data_source":{"id":"6639","type":"ColumnDataSource"},"glyph":{"id":"6640","type":"VBar"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"6641","type":"VBar"},"selection_glyph":null,"view":{"id":"6643","type":"CDSView"}},"id":"6642","type":"GlyphRenderer"},{"attributes":{},"id":"6615","type":"BasicTicker"},{"attributes":{},"id":"6664","type":"UnionRenderers"},{"attributes":{"source":{"id":"6649","type":"ColumnDataSource"}},"id":"6653","type":"CDSView"},{"attributes":{},"id":"6658","type":"BasicTickFormatter"},{"attributes":{"callback":null,"data":{"top":[90,80,70,60,50],"x":[0,1,2,3,4]},"selected":{"id":"6661","type":"Selection"},"selection_policy":{"id":"6662","type":"UnionRenderers"}},"id":"6644","type":"ColumnDataSource"},{"attributes":{},"id":"6610","type":"LinearScale"},{"attributes":{"plot":null,"text":"bar plot"},"id":"6603","type":"Title"},{"attributes":{},"id":"6661","type":"Selection"},{"attributes":{},"id":"6656","type":"BasicTickFormatter"},{"attributes":{"callback":null},"id":"6606","type":"DataRange1d"},{"attributes":{},"id":"6660","type":"UnionRenderers"},{"attributes":{},"id":"6662","type":"UnionRenderers"},{"attributes":{},"id":"6629","type":"HelpTool"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"top":{"field":"top"},"width":{"value":0.8},"x":{"field":"x"}},"id":"6651","type":"VBar"},{"attributes":{"fill_color":{"value":"#1f77b4"},"line_color":{"value":"#1f77b4"},"top":{"field":"top"},"width":{"value":0.8},"x":{"field":"x"}},"id":"6650","type":"VBar"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"6624","type":"PanTool"},{"id":"6625","type":"WheelZoomTool"},{"id":"6626","type":"BoxZoomTool"},{"id":"6627","type":"SaveTool"},{"id":"6628","type":"ResetTool"},{"id":"6629","type":"HelpTool"}]},"id":"6630","type":"Toolbar"},{"attributes":{"plot":{"id":"6604","subtype":"Figure","type":"Plot"},"ticker":{"id":"6615","type":"BasicTicker"}},"id":"6618","type":"Grid"},{"attributes":{"dimension":1,"plot":{"id":"6604","subtype":"Figure","type":"Plot"},"ticker":{"id":"6620","type":"BasicTicker"}},"id":"6623","type":"Grid"},{"attributes":{},"id":"6625","type":"WheelZoomTool"},{"attributes":{"axis_label":"foo","formatter":{"id":"6656","type":"BasicTickFormatter"},"plot":{"id":"6604","subtype":"Figure","type":"Plot"},"ticker":{"id":"6615","type":"BasicTicker"}},"id":"6614","type":"LinearAxis"},{"attributes":{"below":[{"id":"6614","type":"LinearAxis"}],"left":[{"id":"6619","type":"LinearAxis"}],"renderers":[{"id":"6614","type":"LinearAxis"},{"id":"6618","type":"Grid"},{"id":"6619","type":"LinearAxis"},{"id":"6623","type":"Grid"},{"id":"6632","type":"BoxAnnotation"},{"id":"6642","type":"GlyphRenderer"},{"id":"6647","type":"GlyphRenderer"},{"id":"6652","type":"GlyphRenderer"}],"title":{"id":"6603","type":"Title"},"toolbar":{"id":"6630","type":"Toolbar"},"x_range":{"id":"6606","type":"DataRange1d"},"x_scale":{"id":"6610","type":"LinearScale"},"y_range":{"id":"6608","type":"DataRange1d"},"y_scale":{"id":"6612","type":"LinearScale"}},"id":"6604","subtype":"Figure","type":"Plot"},{"attributes":{"data_source":{"id":"6649","type":"ColumnDataSource"},"glyph":{"id":"6650","type":"VBar"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"6651","type":"VBar"},"selection_glyph":null,"view":{"id":"6653","type":"CDSView"}},"id":"6652","type":"GlyphRenderer"},{"attributes":{},"id":"6620","type":"BasicTicker"},{"attributes":{"source":{"id":"6644","type":"ColumnDataSource"}},"id":"6648","type":"CDSView"},{"attributes":{"overlay":{"id":"6632","type":"BoxAnnotation"}},"id":"6626","type":"BoxZoomTool"},{"attributes":{"callback":null,"data":{"top":[50,60,20,30,10,90,0,100,50],"x":[0,1,2,3,4,5,6,7,8]},"selected":{"id":"6663","type":"Selection"},"selection_policy":{"id":"6664","type":"UnionRenderers"}},"id":"6649","type":"ColumnDataSource"},{"attributes":{},"id":"6624","type":"PanTool"},{"attributes":{"fill_color":{"value":"#1f77b4"},"line_color":{"value":"#1f77b4"},"top":{"field":"top"},"width":{"value":0.8},"x":{"field":"x"}},"id":"6645","type":"VBar"},{"attributes":{"fill_color":{"value":"#1f77b4"},"line_color":{"value":"#1f77b4"},"top":{"field":"top"},"width":{"value":0.8},"x":{"field":"x"}},"id":"6640","type":"VBar"},{"attributes":{"callback":null},"id":"6608","type":"DataRange1d"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"top":{"field":"top"},"width":{"value":0.8},"x":{"field":"x"}},"id":"6646","type":"VBar"},{"attributes":{},"id":"6628","type":"ResetTool"},{"attributes":{"data_source":{"id":"6644","type":"ColumnDataSource"},"glyph":{"id":"6645","type":"VBar"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"6646","type":"VBar"},"selection_glyph":null,"view":{"id":"6648","type":"CDSView"}},"id":"6647","type":"GlyphRenderer"},{"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":"6632","type":"BoxAnnotation"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"top":{"field":"top"},"width":{"value":0.8},"x":{"field":"x"}},"id":"6641","type":"VBar"},{"attributes":{},"id":"6612","type":"LinearScale"},{"attributes":{"source":{"id":"6639","type":"ColumnDataSource"}},"id":"6643","type":"CDSView"},{"attributes":{},"id":"6627","type":"SaveTool"},{"attributes":{"callback":null,"data":{"top":[10,40,20,90,70],"x":[0,1,2,3,4]},"selected":{"id":"6659","type":"Selection"},"selection_policy":{"id":"6660","type":"UnionRenderers"}},"id":"6639","type":"ColumnDataSource"}],"root_ids":["6604"]},"title":"Bokeh Application","version":"1.0.4"}}
46
+ </script>
47
+ <script type="text/javascript">
48
+ (function() {
49
+ var fn = function() {
50
+ Bokeh.safely(function() {
51
+ (function(root) {
52
+ function embed_document(root) {
53
+
54
+ var docs_json = document.getElementById('6750').textContent;
55
+ var render_items = [{"docid":"efcbcc37-c70d-404c-aca1-689c03d1d74a","roots":{"6604":"217e12de-cc57-48bd-88d4-06d7a9c7c2a4"}}];
56
+ root.Bokeh.embed.embed_items(docs_json, render_items);
57
+
58
+ }
59
+ if (root.Bokeh !== undefined) {
60
+ embed_document(root);
61
+ } else {
62
+ var attempts = 0;
63
+ var timer = setInterval(function(root) {
64
+ if (root.Bokeh !== undefined) {
65
+ embed_document(root);
66
+ clearInterval(timer);
67
+ }
68
+ attempts++;
69
+ if (attempts > 100) {
70
+ console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
71
+ clearInterval(timer);
72
+ }
73
+ }, 10, root)
74
+ }
75
+ })(window);
76
+ });
77
+ };
78
+ if (document.readyState != "loading") fn();
79
+ else document.addEventListener("DOMContentLoaded", fn);
80
+ })();
81
+ </script>
82
+
83
+ </body>
84
+
85
+ </html>
@@ -0,0 +1,85 @@
1
+
2
+
3
+
4
+
5
+ <!DOCTYPE html>
6
+ <html lang="en">
7
+
8
+ <head>
9
+
10
+ <meta charset="utf-8">
11
+ <title>Bokeh Plot</title>
12
+
13
+
14
+
15
+
16
+ <link rel="stylesheet" href="https://cdn.pydata.org/bokeh/release/bokeh-1.0.4.min.css" type="text/css" />
17
+
18
+
19
+
20
+ <script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-1.0.4.min.js"></script>
21
+ <script type="text/javascript">
22
+ Bokeh.set_log_level("info");
23
+ </script>
24
+
25
+
26
+
27
+
28
+ </head>
29
+
30
+
31
+ <body>
32
+
33
+
34
+
35
+
36
+
37
+
38
+ <div class="bk-root" id="bcd4884b-b717-47de-8e3e-df924578d8fe" data-root-id="6837"></div>
39
+
40
+
41
+
42
+
43
+
44
+ <script type="application/json" id="6983">
45
+ {"b4f63770-feb9-4692-805f-8f9c326318c2":{"roots":{"references":[{"attributes":{"callback":null,"data":{"right":[90,80,70,60,50],"y":[0,1,2,3,4]},"selected":{"id":"6894","type":"Selection"},"selection_policy":{"id":"6895","type":"UnionRenderers"}},"id":"6877","type":"ColumnDataSource"},{"attributes":{"fill_color":{"value":"#1f77b4"},"height":{"value":0.8},"line_color":{"value":"#1f77b4"},"right":{"field":"right"},"y":{"field":"y"}},"id":"6878","type":"HBar"},{"attributes":{},"id":"6860","type":"SaveTool"},{"attributes":{},"id":"6857","type":"PanTool"},{"attributes":{},"id":"6894","type":"Selection"},{"attributes":{"overlay":{"id":"6865","type":"BoxAnnotation"}},"id":"6859","type":"BoxZoomTool"},{"attributes":{"fill_color":{"value":"#1f77b4"},"height":{"value":0.8},"line_color":{"value":"#1f77b4"},"right":{"field":"right"},"y":{"field":"y"}},"id":"6883","type":"HBar"},{"attributes":{},"id":"6853","type":"BasicTicker"},{"attributes":{},"id":"6895","type":"UnionRenderers"},{"attributes":{"source":{"id":"6872","type":"ColumnDataSource"}},"id":"6876","type":"CDSView"},{"attributes":{"data_source":{"id":"6882","type":"ColumnDataSource"},"glyph":{"id":"6883","type":"HBar"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"6884","type":"HBar"},"selection_glyph":null,"view":{"id":"6886","type":"CDSView"}},"id":"6885","type":"GlyphRenderer"},{"attributes":{},"id":"6843","type":"LinearScale"},{"attributes":{},"id":"6845","type":"LinearScale"},{"attributes":{"source":{"id":"6882","type":"ColumnDataSource"}},"id":"6886","type":"CDSView"},{"attributes":{"fill_color":{"value":"#1f77b4"},"height":{"value":0.8},"line_color":{"value":"#1f77b4"},"right":{"field":"right"},"y":{"field":"y"}},"id":"6873","type":"HBar"},{"attributes":{"axis_label":"bar","formatter":{"id":"6891","type":"BasicTickFormatter"},"plot":{"id":"6837","subtype":"Figure","type":"Plot"},"ticker":{"id":"6853","type":"BasicTicker"}},"id":"6852","type":"LinearAxis"},{"attributes":{"axis_label":"foo","formatter":{"id":"6889","type":"BasicTickFormatter"},"plot":{"id":"6837","subtype":"Figure","type":"Plot"},"ticker":{"id":"6848","type":"BasicTicker"}},"id":"6847","type":"LinearAxis"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"6857","type":"PanTool"},{"id":"6858","type":"WheelZoomTool"},{"id":"6859","type":"BoxZoomTool"},{"id":"6860","type":"SaveTool"},{"id":"6861","type":"ResetTool"},{"id":"6862","type":"HelpTool"}]},"id":"6863","type":"Toolbar"},{"attributes":{"callback":null},"id":"6841","type":"DataRange1d"},{"attributes":{"callback":null,"data":{"right":[10,40,20,90,70],"y":[0,1,2,3,4]},"selected":{"id":"6892","type":"Selection"},"selection_policy":{"id":"6893","type":"UnionRenderers"}},"id":"6872","type":"ColumnDataSource"},{"attributes":{"source":{"id":"6877","type":"ColumnDataSource"}},"id":"6881","type":"CDSView"},{"attributes":{"below":[{"id":"6847","type":"LinearAxis"}],"left":[{"id":"6852","type":"LinearAxis"}],"renderers":[{"id":"6847","type":"LinearAxis"},{"id":"6851","type":"Grid"},{"id":"6852","type":"LinearAxis"},{"id":"6856","type":"Grid"},{"id":"6865","type":"BoxAnnotation"},{"id":"6875","type":"GlyphRenderer"},{"id":"6880","type":"GlyphRenderer"},{"id":"6885","type":"GlyphRenderer"}],"title":{"id":"6836","type":"Title"},"toolbar":{"id":"6863","type":"Toolbar"},"x_range":{"id":"6839","type":"DataRange1d"},"x_scale":{"id":"6843","type":"LinearScale"},"y_range":{"id":"6841","type":"DataRange1d"},"y_scale":{"id":"6845","type":"LinearScale"}},"id":"6837","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"6862","type":"HelpTool"},{"attributes":{"plot":null,"text":"bar plot"},"id":"6836","type":"Title"},{"attributes":{},"id":"6861","type":"ResetTool"},{"attributes":{"callback":null},"id":"6839","type":"DataRange1d"},{"attributes":{"callback":null,"data":{"right":[50,60,20,30,10,90,0,100,50],"y":[0,1,2,3,4,5,6,7,8]},"selected":{"id":"6896","type":"Selection"},"selection_policy":{"id":"6897","type":"UnionRenderers"}},"id":"6882","type":"ColumnDataSource"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"height":{"value":0.8},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"right":{"field":"right"},"y":{"field":"y"}},"id":"6884","type":"HBar"},{"attributes":{},"id":"6848","type":"BasicTicker"},{"attributes":{"dimension":1,"plot":{"id":"6837","subtype":"Figure","type":"Plot"},"ticker":{"id":"6853","type":"BasicTicker"}},"id":"6856","type":"Grid"},{"attributes":{"data_source":{"id":"6877","type":"ColumnDataSource"},"glyph":{"id":"6878","type":"HBar"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"6879","type":"HBar"},"selection_glyph":null,"view":{"id":"6881","type":"CDSView"}},"id":"6880","type":"GlyphRenderer"},{"attributes":{"data_source":{"id":"6872","type":"ColumnDataSource"},"glyph":{"id":"6873","type":"HBar"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"6874","type":"HBar"},"selection_glyph":null,"view":{"id":"6876","type":"CDSView"}},"id":"6875","type":"GlyphRenderer"},{"attributes":{},"id":"6889","type":"BasicTickFormatter"},{"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":"6865","type":"BoxAnnotation"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"height":{"value":0.8},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"right":{"field":"right"},"y":{"field":"y"}},"id":"6874","type":"HBar"},{"attributes":{},"id":"6892","type":"Selection"},{"attributes":{"fill_alpha":{"value":0.1},"fill_color":{"value":"#1f77b4"},"height":{"value":0.8},"line_alpha":{"value":0.1},"line_color":{"value":"#1f77b4"},"right":{"field":"right"},"y":{"field":"y"}},"id":"6879","type":"HBar"},{"attributes":{},"id":"6891","type":"BasicTickFormatter"},{"attributes":{},"id":"6897","type":"UnionRenderers"},{"attributes":{},"id":"6896","type":"Selection"},{"attributes":{"plot":{"id":"6837","subtype":"Figure","type":"Plot"},"ticker":{"id":"6848","type":"BasicTicker"}},"id":"6851","type":"Grid"},{"attributes":{},"id":"6893","type":"UnionRenderers"},{"attributes":{},"id":"6858","type":"WheelZoomTool"}],"root_ids":["6837"]},"title":"Bokeh Application","version":"1.0.4"}}
46
+ </script>
47
+ <script type="text/javascript">
48
+ (function() {
49
+ var fn = function() {
50
+ Bokeh.safely(function() {
51
+ (function(root) {
52
+ function embed_document(root) {
53
+
54
+ var docs_json = document.getElementById('6983').textContent;
55
+ var render_items = [{"docid":"b4f63770-feb9-4692-805f-8f9c326318c2","roots":{"6837":"bcd4884b-b717-47de-8e3e-df924578d8fe"}}];
56
+ root.Bokeh.embed.embed_items(docs_json, render_items);
57
+
58
+ }
59
+ if (root.Bokeh !== undefined) {
60
+ embed_document(root);
61
+ } else {
62
+ var attempts = 0;
63
+ var timer = setInterval(function(root) {
64
+ if (root.Bokeh !== undefined) {
65
+ embed_document(root);
66
+ clearInterval(timer);
67
+ }
68
+ attempts++;
69
+ if (attempts > 100) {
70
+ console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
71
+ clearInterval(timer);
72
+ }
73
+ }, 10, root)
74
+ }
75
+ })(window);
76
+ });
77
+ };
78
+ if (document.readyState != "loading") fn();
79
+ else document.addEventListener("DOMContentLoaded", fn);
80
+ })();
81
+ </script>
82
+
83
+ </body>
84
+
85
+ </html>
@@ -0,0 +1,85 @@
1
+
2
+
3
+
4
+
5
+ <!DOCTYPE html>
6
+ <html lang="en">
7
+
8
+ <head>
9
+
10
+ <meta charset="utf-8">
11
+ <title>Bokeh Plot</title>
12
+
13
+
14
+
15
+
16
+ <link rel="stylesheet" href="https://cdn.pydata.org/bokeh/release/bokeh-1.0.4.min.css" type="text/css" />
17
+
18
+
19
+
20
+ <script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-1.0.4.min.js"></script>
21
+ <script type="text/javascript">
22
+ Bokeh.set_log_level("info");
23
+ </script>
24
+
25
+
26
+
27
+
28
+ </head>
29
+
30
+
31
+ <body>
32
+
33
+
34
+
35
+
36
+
37
+
38
+ <div class="bk-root" id="8b7c69a2-ee4d-4435-b7b2-652d4ef766dc" data-root-id="7070"></div>
39
+
40
+
41
+
42
+
43
+
44
+ <script type="application/json" id="7153">
45
+ {"f8535cd0-140e-47a6-ac69-9bc1816f46ab":{"roots":{"references":[{"attributes":{"axis_label":"bar","formatter":{"id":"7109","type":"BasicTickFormatter"},"plot":{"id":"7070","subtype":"Figure","type":"Plot"},"ticker":{"id":"7086","type":"BasicTicker"}},"id":"7085","type":"LinearAxis"},{"attributes":{"plot":null,"text":"box plot"},"id":"7069","type":"Title"},{"attributes":{},"id":"7086","type":"BasicTicker"},{"attributes":{},"id":"7076","type":"LinearScale"},{"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":"7098","type":"BoxAnnotation"},{"attributes":{"dimension":1,"plot":{"id":"7070","subtype":"Figure","type":"Plot"},"ticker":{"id":"7086","type":"BasicTicker"}},"id":"7089","type":"Grid"},{"attributes":{"plot":{"id":"7070","subtype":"Figure","type":"Plot"},"ticker":{"id":"7081","type":"BasicTicker"}},"id":"7084","type":"Grid"},{"attributes":{"overlay":{"id":"7098","type":"BoxAnnotation"}},"id":"7092","type":"BoxZoomTool"},{"attributes":{},"id":"7091","type":"WheelZoomTool"},{"attributes":{"callback":null},"id":"7072","type":"DataRange1d"},{"attributes":{},"id":"7093","type":"SaveTool"},{"attributes":{"axis_label":"foo","formatter":{"id":"7107","type":"BasicTickFormatter"},"plot":{"id":"7070","subtype":"Figure","type":"Plot"},"ticker":{"id":"7081","type":"BasicTicker"}},"id":"7080","type":"LinearAxis"},{"attributes":{"callback":null},"id":"7074","type":"DataRange1d"},{"attributes":{},"id":"7081","type":"BasicTicker"},{"attributes":{},"id":"7107","type":"BasicTickFormatter"},{"attributes":{},"id":"7078","type":"LinearScale"},{"attributes":{},"id":"7095","type":"HelpTool"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"7090","type":"PanTool"},{"id":"7091","type":"WheelZoomTool"},{"id":"7092","type":"BoxZoomTool"},{"id":"7093","type":"SaveTool"},{"id":"7094","type":"ResetTool"},{"id":"7095","type":"HelpTool"}]},"id":"7096","type":"Toolbar"},{"attributes":{},"id":"7094","type":"ResetTool"},{"attributes":{},"id":"7090","type":"PanTool"},{"attributes":{"below":[{"id":"7080","type":"LinearAxis"}],"left":[{"id":"7085","type":"LinearAxis"}],"renderers":[{"id":"7080","type":"LinearAxis"},{"id":"7084","type":"Grid"},{"id":"7085","type":"LinearAxis"},{"id":"7089","type":"Grid"},{"id":"7098","type":"BoxAnnotation"}],"title":{"id":"7069","type":"Title"},"toolbar":{"id":"7096","type":"Toolbar"},"x_range":{"id":"7072","type":"DataRange1d"},"x_scale":{"id":"7076","type":"LinearScale"},"y_range":{"id":"7074","type":"DataRange1d"},"y_scale":{"id":"7078","type":"LinearScale"}},"id":"7070","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"7109","type":"BasicTickFormatter"}],"root_ids":["7070"]},"title":"Bokeh Application","version":"1.0.4"}}
46
+ </script>
47
+ <script type="text/javascript">
48
+ (function() {
49
+ var fn = function() {
50
+ Bokeh.safely(function() {
51
+ (function(root) {
52
+ function embed_document(root) {
53
+
54
+ var docs_json = document.getElementById('7153').textContent;
55
+ var render_items = [{"docid":"f8535cd0-140e-47a6-ac69-9bc1816f46ab","roots":{"7070":"8b7c69a2-ee4d-4435-b7b2-652d4ef766dc"}}];
56
+ root.Bokeh.embed.embed_items(docs_json, render_items);
57
+
58
+ }
59
+ if (root.Bokeh !== undefined) {
60
+ embed_document(root);
61
+ } else {
62
+ var attempts = 0;
63
+ var timer = setInterval(function(root) {
64
+ if (root.Bokeh !== undefined) {
65
+ embed_document(root);
66
+ clearInterval(timer);
67
+ }
68
+ attempts++;
69
+ if (attempts > 100) {
70
+ console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
71
+ clearInterval(timer);
72
+ }
73
+ }, 10, root)
74
+ }
75
+ })(window);
76
+ });
77
+ };
78
+ if (document.readyState != "loading") fn();
79
+ else document.addEventListener("DOMContentLoaded", fn);
80
+ })();
81
+ </script>
82
+
83
+ </body>
84
+
85
+ </html>
@@ -0,0 +1,85 @@
1
+
2
+
3
+
4
+
5
+ <!DOCTYPE html>
6
+ <html lang="en">
7
+
8
+ <head>
9
+
10
+ <meta charset="utf-8">
11
+ <title>Bokeh Plot</title>
12
+
13
+
14
+
15
+
16
+ <link rel="stylesheet" href="https://cdn.pydata.org/bokeh/release/bokeh-1.0.4.min.css" type="text/css" />
17
+
18
+
19
+
20
+ <script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-1.0.4.min.js"></script>
21
+ <script type="text/javascript">
22
+ Bokeh.set_log_level("info");
23
+ </script>
24
+
25
+
26
+
27
+
28
+ </head>
29
+
30
+
31
+ <body>
32
+
33
+
34
+
35
+
36
+
37
+
38
+ <div class="bk-root" id="673bc96d-0b03-4254-8ab5-3e91bd2405b3" data-root-id="6371"></div>
39
+
40
+
41
+
42
+
43
+
44
+ <script type="application/json" id="6517">
45
+ {"ad00ca23-73f1-4ae2-8d10-e282e7c5229e":{"roots":{"references":[{"attributes":{},"id":"6431","type":"UnionRenderers"},{"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":"6399","type":"BoxAnnotation"},{"attributes":{"line_color":"#1f77b4","x":{"field":"x"},"y":{"field":"y"}},"id":"6417","type":"Line"},{"attributes":{},"id":"6391","type":"PanTool"},{"attributes":{},"id":"6382","type":"BasicTicker"},{"attributes":{"source":{"id":"6406","type":"ColumnDataSource"}},"id":"6410","type":"CDSView"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"6391","type":"PanTool"},{"id":"6392","type":"WheelZoomTool"},{"id":"6393","type":"BoxZoomTool"},{"id":"6394","type":"SaveTool"},{"id":"6395","type":"ResetTool"},{"id":"6396","type":"HelpTool"}]},"id":"6397","type":"Toolbar"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","x":{"field":"x"},"y":{"field":"y"}},"id":"6418","type":"Line"},{"attributes":{},"id":"6425","type":"BasicTickFormatter"},{"attributes":{"source":{"id":"6411","type":"ColumnDataSource"}},"id":"6415","type":"CDSView"},{"attributes":{"callback":null},"id":"6373","type":"DataRange1d"},{"attributes":{"line_color":"#1f77b4","x":{"field":"x"},"y":{"field":"y"}},"id":"6412","type":"Line"},{"attributes":{"line_color":"#1f77b4","x":{"field":"x"},"y":{"field":"y"}},"id":"6407","type":"Line"},{"attributes":{},"id":"6423","type":"BasicTickFormatter"},{"attributes":{"plot":{"id":"6371","subtype":"Figure","type":"Plot"},"ticker":{"id":"6382","type":"BasicTicker"}},"id":"6385","type":"Grid"},{"attributes":{},"id":"6394","type":"SaveTool"},{"attributes":{"callback":null},"id":"6375","type":"DataRange1d"},{"attributes":{},"id":"6428","type":"Selection"},{"attributes":{},"id":"6392","type":"WheelZoomTool"},{"attributes":{"axis_label":"bar","formatter":{"id":"6425","type":"BasicTickFormatter"},"plot":{"id":"6371","subtype":"Figure","type":"Plot"},"ticker":{"id":"6387","type":"BasicTicker"}},"id":"6386","type":"LinearAxis"},{"attributes":{"axis_label":"foo","formatter":{"id":"6423","type":"BasicTickFormatter"},"plot":{"id":"6371","subtype":"Figure","type":"Plot"},"ticker":{"id":"6382","type":"BasicTicker"}},"id":"6381","type":"LinearAxis"},{"attributes":{"overlay":{"id":"6399","type":"BoxAnnotation"}},"id":"6393","type":"BoxZoomTool"},{"attributes":{"callback":null,"data":{"x":[0,1,2,3,4],"y":[10,40,20,90,70]},"selected":{"id":"6426","type":"Selection"},"selection_policy":{"id":"6427","type":"UnionRenderers"}},"id":"6406","type":"ColumnDataSource"},{"attributes":{"data_source":{"id":"6406","type":"ColumnDataSource"},"glyph":{"id":"6407","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"6408","type":"Line"},"selection_glyph":null,"view":{"id":"6410","type":"CDSView"}},"id":"6409","type":"GlyphRenderer"},{"attributes":{"data_source":{"id":"6416","type":"ColumnDataSource"},"glyph":{"id":"6417","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"6418","type":"Line"},"selection_glyph":null,"view":{"id":"6420","type":"CDSView"}},"id":"6419","type":"GlyphRenderer"},{"attributes":{"source":{"id":"6416","type":"ColumnDataSource"}},"id":"6420","type":"CDSView"},{"attributes":{},"id":"6427","type":"UnionRenderers"},{"attributes":{},"id":"6430","type":"Selection"},{"attributes":{},"id":"6395","type":"ResetTool"},{"attributes":{},"id":"6377","type":"LinearScale"},{"attributes":{"below":[{"id":"6381","type":"LinearAxis"}],"left":[{"id":"6386","type":"LinearAxis"}],"renderers":[{"id":"6381","type":"LinearAxis"},{"id":"6385","type":"Grid"},{"id":"6386","type":"LinearAxis"},{"id":"6390","type":"Grid"},{"id":"6399","type":"BoxAnnotation"},{"id":"6409","type":"GlyphRenderer"},{"id":"6414","type":"GlyphRenderer"},{"id":"6419","type":"GlyphRenderer"}],"title":null,"toolbar":{"id":"6397","type":"Toolbar"},"x_range":{"id":"6373","type":"DataRange1d"},"x_scale":{"id":"6377","type":"LinearScale"},"y_range":{"id":"6375","type":"DataRange1d"},"y_scale":{"id":"6379","type":"LinearScale"}},"id":"6371","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"6426","type":"Selection"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","x":{"field":"x"},"y":{"field":"y"}},"id":"6408","type":"Line"},{"attributes":{},"id":"6429","type":"UnionRenderers"},{"attributes":{},"id":"6379","type":"LinearScale"},{"attributes":{"callback":null,"data":{"x":[0,1,2,3,4,5,6,7,8],"y":[50,60,20,30,10,90,0,100,50]},"selected":{"id":"6430","type":"Selection"},"selection_policy":{"id":"6431","type":"UnionRenderers"}},"id":"6416","type":"ColumnDataSource"},{"attributes":{"dimension":1,"plot":{"id":"6371","subtype":"Figure","type":"Plot"},"ticker":{"id":"6387","type":"BasicTicker"}},"id":"6390","type":"Grid"},{"attributes":{"data_source":{"id":"6411","type":"ColumnDataSource"},"glyph":{"id":"6412","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"6413","type":"Line"},"selection_glyph":null,"view":{"id":"6415","type":"CDSView"}},"id":"6414","type":"GlyphRenderer"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","x":{"field":"x"},"y":{"field":"y"}},"id":"6413","type":"Line"},{"attributes":{},"id":"6396","type":"HelpTool"},{"attributes":{"callback":null,"data":{"x":[0,1,2,3,4],"y":[90,80,70,60,50]},"selected":{"id":"6428","type":"Selection"},"selection_policy":{"id":"6429","type":"UnionRenderers"}},"id":"6411","type":"ColumnDataSource"},{"attributes":{},"id":"6387","type":"BasicTicker"}],"root_ids":["6371"]},"title":"Bokeh Application","version":"1.0.4"}}
46
+ </script>
47
+ <script type="text/javascript">
48
+ (function() {
49
+ var fn = function() {
50
+ Bokeh.safely(function() {
51
+ (function(root) {
52
+ function embed_document(root) {
53
+
54
+ var docs_json = document.getElementById('6517').textContent;
55
+ var render_items = [{"docid":"ad00ca23-73f1-4ae2-8d10-e282e7c5229e","roots":{"6371":"673bc96d-0b03-4254-8ab5-3e91bd2405b3"}}];
56
+ root.Bokeh.embed.embed_items(docs_json, render_items);
57
+
58
+ }
59
+ if (root.Bokeh !== undefined) {
60
+ embed_document(root);
61
+ } else {
62
+ var attempts = 0;
63
+ var timer = setInterval(function(root) {
64
+ if (root.Bokeh !== undefined) {
65
+ embed_document(root);
66
+ clearInterval(timer);
67
+ }
68
+ attempts++;
69
+ if (attempts > 100) {
70
+ console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
71
+ clearInterval(timer);
72
+ }
73
+ }, 10, root)
74
+ }
75
+ })(window);
76
+ });
77
+ };
78
+ if (document.readyState != "loading") fn();
79
+ else document.addEventListener("DOMContentLoaded", fn);
80
+ })();
81
+ </script>
82
+
83
+ </body>
84
+
85
+ </html>
@@ -0,0 +1,85 @@
1
+
2
+
3
+
4
+
5
+ <!DOCTYPE html>
6
+ <html lang="en">
7
+
8
+ <head>
9
+
10
+ <meta charset="utf-8">
11
+ <title>Bokeh Plot</title>
12
+
13
+
14
+
15
+
16
+ <link rel="stylesheet" href="https://cdn.pydata.org/bokeh/release/bokeh-1.0.4.min.css" type="text/css" />
17
+
18
+
19
+
20
+ <script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-1.0.4.min.js"></script>
21
+ <script type="text/javascript">
22
+ Bokeh.set_log_level("info");
23
+ </script>
24
+
25
+
26
+
27
+
28
+ </head>
29
+
30
+
31
+ <body>
32
+
33
+
34
+
35
+
36
+
37
+
38
+ <div class="bk-root" id="2b3ba447-d52a-446a-a311-8a04bdf1b9e4" data-root-id="6209"></div>
39
+
40
+
41
+
42
+
43
+
44
+ <script type="application/json" id="6313">
45
+ {"e1e166c5-3ed7-470a-90a3-265771e617ca":{"roots":{"references":[{"attributes":{"axis_label":"bar","formatter":{"id":"6253","type":"BasicTickFormatter"},"plot":{"id":"6209","subtype":"Figure","type":"Plot"},"ticker":{"id":"6225","type":"BasicTicker"}},"id":"6224","type":"LinearAxis"},{"attributes":{},"id":"6253","type":"BasicTickFormatter"},{"attributes":{"overlay":{"id":"6237","type":"BoxAnnotation"}},"id":"6231","type":"BoxZoomTool"},{"attributes":{},"id":"6230","type":"WheelZoomTool"},{"attributes":{},"id":"6232","type":"SaveTool"},{"attributes":{"source":{"id":"6244","type":"ColumnDataSource"}},"id":"6248","type":"CDSView"},{"attributes":{},"id":"6255","type":"UnionRenderers"},{"attributes":{},"id":"6234","type":"HelpTool"},{"attributes":{},"id":"6254","type":"Selection"},{"attributes":{"below":[{"id":"6219","type":"LinearAxis"}],"left":[{"id":"6224","type":"LinearAxis"}],"renderers":[{"id":"6219","type":"LinearAxis"},{"id":"6223","type":"Grid"},{"id":"6224","type":"LinearAxis"},{"id":"6228","type":"Grid"},{"id":"6237","type":"BoxAnnotation"},{"id":"6247","type":"GlyphRenderer"}],"title":null,"toolbar":{"id":"6235","type":"Toolbar"},"x_range":{"id":"6211","type":"DataRange1d"},"x_scale":{"id":"6215","type":"LinearScale"},"y_range":{"id":"6213","type":"DataRange1d"},"y_scale":{"id":"6217","type":"LinearScale"}},"id":"6209","subtype":"Figure","type":"Plot"},{"attributes":{},"id":"6251","type":"BasicTickFormatter"},{"attributes":{},"id":"6229","type":"PanTool"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"6229","type":"PanTool"},{"id":"6230","type":"WheelZoomTool"},{"id":"6231","type":"BoxZoomTool"},{"id":"6232","type":"SaveTool"},{"id":"6233","type":"ResetTool"},{"id":"6234","type":"HelpTool"}]},"id":"6235","type":"Toolbar"},{"attributes":{"line_alpha":0.1,"line_color":"#1f77b4","x":{"field":"x"},"y":{"field":"y"}},"id":"6246","type":"Line"},{"attributes":{"dimension":1,"plot":{"id":"6209","subtype":"Figure","type":"Plot"},"ticker":{"id":"6225","type":"BasicTicker"}},"id":"6228","type":"Grid"},{"attributes":{"callback":null,"data":{"x":[0.0,0.1,0.2,0.30000000000000004,0.4,0.5,0.6000000000000001,0.7000000000000001,0.8,0.9,1.0,1.1,1.2000000000000002,1.3,1.4000000000000001,1.5,1.6,1.7000000000000002,1.8,1.9000000000000001,2.0,2.1,2.2,2.3000000000000003,2.4000000000000004,2.5,2.6,2.7,2.8000000000000003,2.9000000000000004,3.0,3.1,3.2,3.3000000000000003,3.4000000000000004,3.5,3.6,3.7,3.8000000000000003,3.9000000000000004,4.0,4.1000000000000005,4.2,4.3,4.4,4.5,4.6000000000000005,4.7,4.800000000000001,4.9,5.0,5.1000000000000005,5.2,5.300000000000001,5.4,5.5,5.6000000000000005,5.7,5.800000000000001,5.9,6.0,6.1000000000000005,6.2,6.300000000000001,6.4,6.5,6.6000000000000005,6.7,6.800000000000001,6.9,7.0,7.1000000000000005,7.2,7.300000000000001,7.4,7.5,7.6000000000000005,7.7,7.800000000000001,7.9,8.0,8.1,8.200000000000001,8.3,8.4,8.5,8.6,8.700000000000001,8.8,8.9,9.0,9.1,9.200000000000001,9.3,9.4,9.5,9.600000000000001,9.700000000000001,9.8,10],"y":[0.0,0.09983341664682815,0.19866933079506122,0.2955202066613396,0.3894183423086505,0.479425538604203,0.5646424733950355,0.6442176872376911,0.7173560908995228,0.7833269096274834,0.8414709848078965,0.8912073600614354,0.9320390859672264,0.963558185417193,0.9854497299884603,0.9974949866040544,0.9995736030415051,0.9916648104524686,0.9738476308781951,0.9463000876874145,0.9092974268256817,0.8632093666488737,0.8084964038195901,0.74570521217672,0.6754631805511506,0.5984721441039565,0.5155013718214642,0.4273798802338298,0.33498815015590466,0.23924932921398198,0.1411200080598672,0.04158066243329049,-0.058374143427580086,-0.15774569414324865,-0.25554110202683167,-0.35078322768961984,-0.44252044329485246,-0.5298361409084934,-0.6118578909427193,-0.6877661591839741,-0.7568024953079282,-0.8182771110644108,-0.8715757724135882,-0.9161659367494549,-0.951602073889516,-0.977530117665097,-0.9936910036334645,-0.9999232575641008,-0.9961646088358406,-0.9824526126243325,-0.9589242746631385,-0.9258146823277321,-0.8834546557201531,-0.8322674422239008,-0.7727644875559871,-0.7055403255703919,-0.6312666378723208,-0.5506855425976376,-0.4646021794137566,-0.373876664830236,-0.27941549819892586,-0.18216250427209502,-0.0830894028174964,0.0168139004843506,0.11654920485049364,0.21511998808781552,0.3115413635133787,0.4048499206165983,0.49411335113860894,0.5784397643882001,0.6569865987187891,0.7289690401258765,0.7936678638491531,0.8504366206285648,0.8987080958116269,0.9379999767747389,0.9679196720314865,0.9881682338770004,0.998543345374605,0.998941341839772,0.9893582466233818,0.9698898108450863,0.9407305566797726,0.9021718337562933,0.8545989080882804,0.7984871126234903,0.7343970978741133,0.662969230082182,0.5849171928917617,0.5010208564578846,0.4121184852417566,0.3190983623493521,0.22288991410024592,0.1244544235070617,0.024775425453357765,-0.0751511204618093,-0.1743267812229814,-0.2717606264109442,-0.3664791292519284,-0.5440211108893698]},"selected":{"id":"6254","type":"Selection"},"selection_policy":{"id":"6255","type":"UnionRenderers"}},"id":"6244","type":"ColumnDataSource"},{"attributes":{},"id":"6215","type":"LinearScale"},{"attributes":{},"id":"6220","type":"BasicTicker"},{"attributes":{"axis_label":"foo","formatter":{"id":"6251","type":"BasicTickFormatter"},"plot":{"id":"6209","subtype":"Figure","type":"Plot"},"ticker":{"id":"6220","type":"BasicTicker"}},"id":"6219","type":"LinearAxis"},{"attributes":{},"id":"6217","type":"LinearScale"},{"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":"6237","type":"BoxAnnotation"},{"attributes":{"plot":{"id":"6209","subtype":"Figure","type":"Plot"},"ticker":{"id":"6220","type":"BasicTicker"}},"id":"6223","type":"Grid"},{"attributes":{"line_color":"#1f77b4","x":{"field":"x"},"y":{"field":"y"}},"id":"6245","type":"Line"},{"attributes":{"callback":null},"id":"6211","type":"DataRange1d"},{"attributes":{},"id":"6225","type":"BasicTicker"},{"attributes":{"data_source":{"id":"6244","type":"ColumnDataSource"},"glyph":{"id":"6245","type":"Line"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"6246","type":"Line"},"selection_glyph":null,"view":{"id":"6248","type":"CDSView"}},"id":"6247","type":"GlyphRenderer"},{"attributes":{},"id":"6233","type":"ResetTool"},{"attributes":{"callback":null},"id":"6213","type":"DataRange1d"}],"root_ids":["6209"]},"title":"Bokeh Application","version":"1.0.4"}}
46
+ </script>
47
+ <script type="text/javascript">
48
+ (function() {
49
+ var fn = function() {
50
+ Bokeh.safely(function() {
51
+ (function(root) {
52
+ function embed_document(root) {
53
+
54
+ var docs_json = document.getElementById('6313').textContent;
55
+ var render_items = [{"docid":"e1e166c5-3ed7-470a-90a3-265771e617ca","roots":{"6209":"2b3ba447-d52a-446a-a311-8a04bdf1b9e4"}}];
56
+ root.Bokeh.embed.embed_items(docs_json, render_items);
57
+
58
+ }
59
+ if (root.Bokeh !== undefined) {
60
+ embed_document(root);
61
+ } else {
62
+ var attempts = 0;
63
+ var timer = setInterval(function(root) {
64
+ if (root.Bokeh !== undefined) {
65
+ embed_document(root);
66
+ clearInterval(timer);
67
+ }
68
+ attempts++;
69
+ if (attempts > 100) {
70
+ console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
71
+ clearInterval(timer);
72
+ }
73
+ }, 10, root)
74
+ }
75
+ })(window);
76
+ });
77
+ };
78
+ if (document.readyState != "loading") fn();
79
+ else document.addEventListener("DOMContentLoaded", fn);
80
+ })();
81
+ </script>
82
+
83
+ </body>
84
+
85
+ </html>
@@ -0,0 +1,85 @@
1
+
2
+
3
+
4
+
5
+ <!DOCTYPE html>
6
+ <html lang="en">
7
+
8
+ <head>
9
+
10
+ <meta charset="utf-8">
11
+ <title>Bokeh Plot</title>
12
+
13
+
14
+
15
+
16
+ <link rel="stylesheet" href="https://cdn.pydata.org/bokeh/release/bokeh-1.0.4.min.css" type="text/css" />
17
+
18
+
19
+
20
+ <script type="text/javascript" src="https://cdn.pydata.org/bokeh/release/bokeh-1.0.4.min.js"></script>
21
+ <script type="text/javascript">
22
+ Bokeh.set_log_level("info");
23
+ </script>
24
+
25
+
26
+
27
+
28
+ </head>
29
+
30
+
31
+ <body>
32
+
33
+
34
+
35
+
36
+
37
+
38
+ <div class="bk-root" id="fb7e1eeb-4864-4c80-ab90-59c527dfa94f" data-root-id="7198"></div>
39
+
40
+
41
+
42
+
43
+
44
+ <script type="application/json" id="7344">
45
+ {"d968830a-a2ec-4aab-a259-56bdfa55767a":{"roots":{"references":[{"attributes":{"source":{"id":"7233","type":"ColumnDataSource"}},"id":"7237","type":"CDSView"},{"attributes":{"fill_color":{"value":"#1f77b4"},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"7234","type":"Scatter"},{"attributes":{},"id":"7214","type":"BasicTicker"},{"attributes":{"plot":{"id":"7198","subtype":"Figure","type":"Plot"},"ticker":{"id":"7209","type":"BasicTicker"}},"id":"7212","type":"Grid"},{"attributes":{"fill_color":{"value":"#1f77b4"},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"7244","type":"Scatter"},{"attributes":{},"id":"7209","type":"BasicTicker"},{"attributes":{"fill_color":{"value":"#1f77b4"},"line_color":{"value":"#1f77b4"},"x":{"field":"x"},"y":{"field":"y"}},"id":"7239","type":"Scatter"},{"attributes":{},"id":"7256","type":"UnionRenderers"},{"attributes":{},"id":"7255","type":"Selection"},{"attributes":{},"id":"7204","type":"LinearScale"},{"attributes":{},"id":"7257","type":"Selection"},{"attributes":{"overlay":{"id":"7226","type":"BoxAnnotation"}},"id":"7220","type":"BoxZoomTool"},{"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":"7235","type":"Scatter"},{"attributes":{},"id":"7206","type":"LinearScale"},{"attributes":{},"id":"7252","type":"BasicTickFormatter"},{"attributes":{"callback":null,"data":{"x":[0,1,2,3,4,5,6,7,8,9,10],"y":[0.0,0.1,0.2,0.30000000000000004,0.4,0.5,0.6000000000000001,0.7000000000000001,0.8,0.9,1.0]},"selected":{"id":"7253","type":"Selection"},"selection_policy":{"id":"7254","type":"UnionRenderers"}},"id":"7233","type":"ColumnDataSource"},{"attributes":{"callback":null,"data":{"x":[0,1,2,3,4],"y":[0,-0.1,-0.5,-0.5,0.1]},"selected":{"id":"7257","type":"Selection"},"selection_policy":{"id":"7258","type":"UnionRenderers"}},"id":"7243","type":"ColumnDataSource"},{"attributes":{},"id":"7253","type":"Selection"},{"attributes":{},"id":"7222","type":"ResetTool"},{"attributes":{"data_source":{"id":"7243","type":"ColumnDataSource"},"glyph":{"id":"7244","type":"Scatter"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"7245","type":"Scatter"},"selection_glyph":null,"view":{"id":"7247","type":"CDSView"}},"id":"7246","type":"GlyphRenderer"},{"attributes":{"dimension":1,"plot":{"id":"7198","subtype":"Figure","type":"Plot"},"ticker":{"id":"7214","type":"BasicTicker"}},"id":"7217","type":"Grid"},{"attributes":{"callback":null},"id":"7202","type":"DataRange1d"},{"attributes":{"callback":null},"id":"7200","type":"DataRange1d"},{"attributes":{"axis_label":null,"formatter":{"id":"7250","type":"BasicTickFormatter"},"plot":{"id":"7198","subtype":"Figure","type":"Plot"},"ticker":{"id":"7209","type":"BasicTicker"}},"id":"7208","type":"LinearAxis"},{"attributes":{"source":{"id":"7238","type":"ColumnDataSource"}},"id":"7242","type":"CDSView"},{"attributes":{},"id":"7258","type":"UnionRenderers"},{"attributes":{"plot":null,"text":"scatter sample"},"id":"7197","type":"Title"},{"attributes":{},"id":"7250","type":"BasicTickFormatter"},{"attributes":{"axis_label":"y label","formatter":{"id":"7252","type":"BasicTickFormatter"},"plot":{"id":"7198","subtype":"Figure","type":"Plot"},"ticker":{"id":"7214","type":"BasicTicker"}},"id":"7213","type":"LinearAxis"},{"attributes":{},"id":"7223","type":"HelpTool"},{"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":"7226","type":"BoxAnnotation"},{"attributes":{"data_source":{"id":"7238","type":"ColumnDataSource"},"glyph":{"id":"7239","type":"Scatter"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"7240","type":"Scatter"},"selection_glyph":null,"view":{"id":"7242","type":"CDSView"}},"id":"7241","type":"GlyphRenderer"},{"attributes":{},"id":"7254","type":"UnionRenderers"},{"attributes":{"active_drag":"auto","active_inspect":"auto","active_multi":null,"active_scroll":"auto","active_tap":"auto","tools":[{"id":"7218","type":"PanTool"},{"id":"7219","type":"WheelZoomTool"},{"id":"7220","type":"BoxZoomTool"},{"id":"7221","type":"SaveTool"},{"id":"7222","type":"ResetTool"},{"id":"7223","type":"HelpTool"}]},"id":"7224","type":"Toolbar"},{"attributes":{"data_source":{"id":"7233","type":"ColumnDataSource"},"glyph":{"id":"7234","type":"Scatter"},"hover_glyph":null,"muted_glyph":null,"nonselection_glyph":{"id":"7235","type":"Scatter"},"selection_glyph":null,"view":{"id":"7237","type":"CDSView"}},"id":"7236","type":"GlyphRenderer"},{"attributes":{},"id":"7219","type":"WheelZoomTool"},{"attributes":{"source":{"id":"7243","type":"ColumnDataSource"}},"id":"7247","type":"CDSView"},{"attributes":{"below":[{"id":"7208","type":"LinearAxis"}],"left":[{"id":"7213","type":"LinearAxis"}],"renderers":[{"id":"7208","type":"LinearAxis"},{"id":"7212","type":"Grid"},{"id":"7213","type":"LinearAxis"},{"id":"7217","type":"Grid"},{"id":"7226","type":"BoxAnnotation"},{"id":"7236","type":"GlyphRenderer"},{"id":"7241","type":"GlyphRenderer"},{"id":"7246","type":"GlyphRenderer"}],"title":{"id":"7197","type":"Title"},"toolbar":{"id":"7224","type":"Toolbar"},"x_range":{"id":"7200","type":"DataRange1d"},"x_scale":{"id":"7204","type":"LinearScale"},"y_range":{"id":"7202","type":"DataRange1d"},"y_scale":{"id":"7206","type":"LinearScale"}},"id":"7198","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":"7245","type":"Scatter"},{"attributes":{},"id":"7221","type":"SaveTool"},{"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":"7240","type":"Scatter"},{"attributes":{},"id":"7218","type":"PanTool"},{"attributes":{"callback":null,"data":{"x":[0,1,2,3,4,5],"y":[0.0,0.2,0.4,0.6000000000000001,0.8,1.0]},"selected":{"id":"7255","type":"Selection"},"selection_policy":{"id":"7256","type":"UnionRenderers"}},"id":"7238","type":"ColumnDataSource"}],"root_ids":["7198"]},"title":"Bokeh Application","version":"1.0.4"}}
46
+ </script>
47
+ <script type="text/javascript">
48
+ (function() {
49
+ var fn = function() {
50
+ Bokeh.safely(function() {
51
+ (function(root) {
52
+ function embed_document(root) {
53
+
54
+ var docs_json = document.getElementById('7344').textContent;
55
+ var render_items = [{"docid":"d968830a-a2ec-4aab-a259-56bdfa55767a","roots":{"7198":"fb7e1eeb-4864-4c80-ab90-59c527dfa94f"}}];
56
+ root.Bokeh.embed.embed_items(docs_json, render_items);
57
+
58
+ }
59
+ if (root.Bokeh !== undefined) {
60
+ embed_document(root);
61
+ } else {
62
+ var attempts = 0;
63
+ var timer = setInterval(function(root) {
64
+ if (root.Bokeh !== undefined) {
65
+ embed_document(root);
66
+ clearInterval(timer);
67
+ }
68
+ attempts++;
69
+ if (attempts > 100) {
70
+ console.log("Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing");
71
+ clearInterval(timer);
72
+ }
73
+ }, 10, root)
74
+ }
75
+ })(window);
76
+ });
77
+ };
78
+ if (document.readyState != "loading") fn();
79
+ else document.addEventListener("DOMContentLoaded", fn);
80
+ })();
81
+ </script>
82
+
83
+ </body>
84
+
85
+ </html>