rbplotly 0.1.2 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/CHANGELOG.md +64 -0
- data/LICENSE.txt +1 -1
- data/README.md +176 -51
- data/lib/plotly/assets/plotly.min.js +3620 -0
- data/lib/plotly/attributes.rb +221 -0
- data/lib/plotly/figure.rb +236 -0
- data/lib/plotly/html.rb +150 -0
- data/lib/plotly/plot.rb +11 -28
- data/lib/plotly/schema/plot-schema.json +57234 -0
- data/lib/plotly/schema.rb +96 -0
- data/lib/plotly/serializer.rb +49 -0
- data/lib/plotly/subplots.rb +118 -0
- data/lib/plotly/version.rb +7 -1
- data/lib/plotly.rb +21 -0
- data/lib/rbplotly.rb +3 -4
- metadata +34 -179
- data/.gitignore +0 -11
- data/.rspec +0 -2
- data/.rubocop.yml +0 -22
- data/.travis.yml +0 -9
- data/CODE_OF_CONDUCT.md +0 -49
- data/Gemfile +0 -4
- data/Guardfile +0 -12
- data/Rakefile +0 -9
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/docs/images/line_chart.png +0 -0
- data/examples/Bar Charts.ipynb +0 -254
- data/examples/Basic Usage.ipynb +0 -227
- data/examples/Histograms.ipynb +0 -79
- data/examples/Line charts.ipynb +0 -88
- data/examples/Pie Charts.ipynb +0 -151
- data/examples/Scatter Plots.ipynb +0 -224
- data/examples/heatmaps.ipynb +0 -150
- data/lib/plotly/axis.rb +0 -18
- data/lib/plotly/castable.rb +0 -20
- data/lib/plotly/client.rb +0 -45
- data/lib/plotly/data.rb +0 -33
- data/lib/plotly/exportable.rb +0 -23
- data/lib/plotly/layout.rb +0 -33
- data/lib/plotly/line.rb +0 -17
- data/lib/plotly/marker.rb +0 -23
- data/lib/plotly/offline/exportable.rb +0 -36
- data/lib/plotly/offline/html.rb +0 -46
- data/lib/plotly/offline/plotly.min.js +0 -59
- data/lib/plotly/offline/templates/body.erb +0 -26
- data/lib/plotly/offline/templates/plot.erb +0 -12
- data/lib/plotly/util.rb +0 -11
- data/rbplotly.gemspec +0 -35
data/examples/Basic Usage.ipynb
DELETED
|
@@ -1,227 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"cells": [
|
|
3
|
-
{
|
|
4
|
-
"cell_type": "code",
|
|
5
|
-
"execution_count": 1,
|
|
6
|
-
"metadata": {
|
|
7
|
-
"collapsed": false
|
|
8
|
-
},
|
|
9
|
-
"outputs": [
|
|
10
|
-
{
|
|
11
|
-
"data": {
|
|
12
|
-
"text/html": [
|
|
13
|
-
"\n",
|
|
14
|
-
" <script>\n",
|
|
15
|
-
" requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})\n",
|
|
16
|
-
" </script>\n",
|
|
17
|
-
"\n",
|
|
18
|
-
"\n",
|
|
19
|
-
"<div id=\"d834e8a3-484e-4ed3-858d-d36369ba2e72\" style=\"height: 100%; width: 100%;\"></div>\n",
|
|
20
|
-
"\n",
|
|
21
|
-
"<script>\n",
|
|
22
|
-
" require(['plotly'], function(Plotly) { \n",
|
|
23
|
-
"Plotly.newPlot(\n",
|
|
24
|
-
" 'd834e8a3-484e-4ed3-858d-d36369ba2e72',\n",
|
|
25
|
-
" [{\"x\":[0.0,0.010101010101010102,0.020202020202020204,0.030303030303030304,0.04040404040404041,0.050505050505050504,0.06060606060606061,0.0707070707070707,0.08080808080808081,0.09090909090909091,0.10101010101010101,0.1111111111111111,0.12121212121212122,0.13131313131313133,0.1414141414141414,0.15151515151515152,0.16161616161616163,0.1717171717171717,0.18181818181818182,0.1919191919191919,0.20202020202020202,0.21212121212121213,0.2222222222222222,0.23232323232323232,0.24242424242424243,0.25252525252525254,0.26262626262626265,0.2727272727272727,0.2828282828282828,0.29292929292929293,0.30303030303030304,0.31313131313131315,0.32323232323232326,0.3333333333333333,0.3434343434343434,0.35353535353535354,0.36363636363636365,0.37373737373737376,0.3838383838383838,0.3939393939393939,0.40404040404040403,0.41414141414141414,0.42424242424242425,0.43434343434343436,0.4444444444444444,0.45454545454545453,0.46464646464646464,0.47474747474747475,0.48484848484848486,0.494949494949495,0.5050505050505051,0.5151515151515151,0.5252525252525253,0.5353535353535354,0.5454545454545454,0.5555555555555556,0.5656565656565656,0.5757575757575758,0.5858585858585859,0.5959595959595959,0.6060606060606061,0.6161616161616161,0.6262626262626263,0.6363636363636364,0.6464646464646465,0.6565656565656566,0.6666666666666666,0.6767676767676768,0.6868686868686869,0.696969696969697,0.7070707070707071,0.7171717171717171,0.7272727272727273,0.7373737373737373,0.7474747474747475,0.7575757575757576,0.7676767676767676,0.7777777777777778,0.7878787878787878,0.797979797979798,0.8080808080808081,0.8181818181818182,0.8282828282828283,0.8383838383838383,0.8484848484848485,0.8585858585858586,0.8686868686868687,0.8787878787878788,0.8888888888888888,0.898989898989899,0.9090909090909091,0.9191919191919192,0.9292929292929293,0.9393939393939394,0.9494949494949495,0.9595959595959596,0.9696969696969697,0.9797979797979798,0.98989898989899,1.0],\"y\":[6.77311715080506,4.862765964855296,4.13142835150361,4.472879140134292,6.59712986410501,4.581611643903291,3.732699233243934,3.3187335628025205,3.514708853058782,4.628537440947461,3.0572774512304406,5.310455588442985,3.2195080414253963,5.508880810199349,4.079165256692786,5.144490489745197,5.087503837699314,6.662864395553022,5.483400490383898,6.2328950486666255,6.322765720406402,5.526923555372802,4.16061793970762,6.088249600149483,3.5018686225984106,4.946459566075038,6.262236327371372,3.34114474449722,3.8219300015718876,6.315086432207746,4.4222109816989015,3.293453780418781,3.4266982295548094,6.795912383470517,3.806362754241208,6.525504377480084,3.711796659136092,5.466409909504149,6.907469414115759,3.9719619934968544,3.6170069436245633,6.677747361952273,5.0215441055200625,5.449361223852634,5.205348702752944,4.8313217488121065,4.577881215875594,5.39857266789679,5.650277691412304,4.207490301347633,5.384928342509909,5.4228356432784395,3.604462119954402,6.63007621597188,4.944803950358495,3.1187056044625483,4.6900366441183845,4.8037917898775735,3.2810453262061126,5.152617488407588,4.9613246386880485,6.589949076774452,4.272857036948782,4.376334785729922,6.164340938513066,5.816620958760915,4.207286847990619,5.9027685322685635,6.012038460114505,3.0298961869363588,5.944855980400082,4.277758706768546,6.170483345532586,3.2845989481724693,3.9965460445434937,6.79088944285402,6.305277279551269,6.990476823897151,4.949469499114802,6.577883393953493,6.161702137067484,5.285744641961875,5.49711766662192,5.177694032263164,4.251220447376818,3.113140026042313,5.783385159954685,3.238061177738049,4.120580345684331,6.931017288113543,6.011796291756263,6.9517494903724755,4.7292782340504775,5.647087277451479,3.887764966738919,4.950517367118577,6.308283654337372,6.180046956438597,3.0513566525381157,3.768961668864381],\"type\":\"scatter\",\"mode\":\"markers\"},{\"x\":[0.0,0.010101010101010102,0.020202020202020204,0.030303030303030304,0.04040404040404041,0.050505050505050504,0.06060606060606061,0.0707070707070707,0.08080808080808081,0.09090909090909091,0.10101010101010101,0.1111111111111111,0.12121212121212122,0.13131313131313133,0.1414141414141414,0.15151515151515152,0.16161616161616163,0.1717171717171717,0.18181818181818182,0.1919191919191919,0.20202020202020202,0.21212121212121213,0.2222222222222222,0.23232323232323232,0.24242424242424243,0.25252525252525254,0.26262626262626265,0.2727272727272727,0.2828282828282828,0.29292929292929293,0.30303030303030304,0.31313131313131315,0.32323232323232326,0.3333333333333333,0.3434343434343434,0.35353535353535354,0.36363636363636365,0.37373737373737376,0.3838383838383838,0.3939393939393939,0.40404040404040403,0.41414141414141414,0.42424242424242425,0.43434343434343436,0.4444444444444444,0.45454545454545453,0.46464646464646464,0.47474747474747475,0.48484848484848486,0.494949494949495,0.5050505050505051,0.5151515151515151,0.5252525252525253,0.5353535353535354,0.5454545454545454,0.5555555555555556,0.5656565656565656,0.5757575757575758,0.5858585858585859,0.5959595959595959,0.6060606060606061,0.6161616161616161,0.6262626262626263,0.6363636363636364,0.6464646464646465,0.6565656565656566,0.6666666666666666,0.6767676767676768,0.6868686868686869,0.696969696969697,0.7070707070707071,0.7171717171717171,0.7272727272727273,0.7373737373737373,0.7474747474747475,0.7575757575757576,0.7676767676767676,0.7777777777777778,0.7878787878787878,0.797979797979798,0.8080808080808081,0.8181818181818182,0.8282828282828283,0.8383838383838383,0.8484848484848485,0.8585858585858586,0.8686868686868687,0.8787878787878788,0.8888888888888888,0.898989898989899,0.9090909090909091,0.9191919191919192,0.9292929292929293,0.9393939393939394,0.9494949494949495,0.9595959595959596,0.9696969696969697,0.9797979797979798,0.98989898989899,1.0],\"y\":[-0.6966618502264348,-1.6264124270203122,-0.8003663421080791,0.7755178680407844,1.3467177364291456,-1.783943874368401,0.23890250005347502,-1.8222131835331687,1.8155819535547595,1.9190772353715304,0.11739314102449772,1.9647914327561606,1.1946139106268245,-0.2899067354420177,1.6319732776260274,-0.630579760168311,-1.858468921293241,-0.5513809641610381,1.2059524769750953,1.4194866223153233,0.16547876308972453,-0.8907524296608109,-0.5463432419351961,1.6638983056628973,1.5241095837738032,-0.6386557277385791,1.720373855342178,-1.9293557094181497,1.4171262559835527,-0.20547132798780954,-1.142641855633706,0.5086465199346946,0.5373860143490106,-1.8579270451575938,-1.373349204764339,1.2241369637819175,-1.5433546221061696,1.5047052296200478,0.5365390684974742,0.6962876588613307,-0.33630799682555823,1.3593610402999468,-0.19130062791131808,-0.31173382695266616,-0.7299210787559862,1.1958213265302677,-0.21287210052657368,-1.241065976994069,-1.7267628879597945,0.8348012859189913,1.9010315586695028,0.6217012909331925,1.7342338182040642,-1.6065587343158727,0.7270787222946096,-0.7205958079365673,1.8660968507222297,-0.5074274645669057,1.017315346917123,0.012224662765817573,0.4149141121801989,0.8251787072142021,1.1028031474881588,-1.8781054149094993,0.7606117670160208,-1.6048313622764239,1.1139357802214835,1.3272211968346679,-1.1236777882692803,0.7652360059607837,-0.24951048901325734,1.2357371796202732,-0.49649906688278955,0.27251550261956536,-0.266670948671726,-1.5494746144889047,1.7752715884446366,0.020400097917685045,0.5246739671819829,-0.9765259480050186,1.9979359592809143,1.393428862636667,-0.936140697588054,1.2534656965029236,-0.19742269197114037,-1.6879776386804575,0.6674863642398075,0.12371023164690209,-0.15903201739414952,-0.24703278718741473,-1.1127290324686898,0.6482963535940995,-1.4486281457850603,0.7003438375731235,0.8990232674550267,-0.34148975589598773,0.9006708904535641,0.474541087084412,1.2727364042683016,-1.8597570490686843],\"type\":\"scatter\",\"mode\":\"markers+lines\"}],\n",
|
|
26
|
-
" {},\n",
|
|
27
|
-
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
|
28
|
-
")\n",
|
|
29
|
-
"\n",
|
|
30
|
-
"window.addEventListener('resize', function() {\n",
|
|
31
|
-
" Plotly.Plots.resize(document.getElementById('d834e8a3-484e-4ed3-858d-d36369ba2e72'))\n",
|
|
32
|
-
"})\n",
|
|
33
|
-
" }) \n",
|
|
34
|
-
"</script>"
|
|
35
|
-
],
|
|
36
|
-
"text/plain": [
|
|
37
|
-
"#<Plotly::Offline::HTML:0x007fcea3285018 @id=\"d834e8a3-484e-4ed3-858d-d36369ba2e72\", @data=[{:x=>[0.0, 0.010101010101010102, 0.020202020202020204, 0.030303030303030304, 0.04040404040404041, 0.050505050505050504, 0.06060606060606061, 0.0707070707070707, 0.08080808080808081, 0.09090909090909091, 0.10101010101010101, 0.1111111111111111, 0.12121212121212122, 0.13131313131313133, 0.1414141414141414, 0.15151515151515152, 0.16161616161616163, 0.1717171717171717, 0.18181818181818182, 0.1919191919191919, 0.20202020202020202, 0.21212121212121213, 0.2222222222222222, 0.23232323232323232, 0.24242424242424243, 0.25252525252525254, 0.26262626262626265, 0.2727272727272727, 0.2828282828282828, 0.29292929292929293, 0.30303030303030304, 0.31313131313131315, 0.32323232323232326, 0.3333333333333333, 0.3434343434343434, 0.35353535353535354, 0.36363636363636365, 0.37373737373737376, 0.3838383838383838, 0.3939393939393939, 0.40404040404040403, 0.41414141414141414, 0.42424242424242425, 0.43434343434343436, 0.4444444444444444, 0.45454545454545453, 0.46464646464646464, 0.47474747474747475, 0.48484848484848486, 0.494949494949495, 0.5050505050505051, 0.5151515151515151, 0.5252525252525253, 0.5353535353535354, 0.5454545454545454, 0.5555555555555556, 0.5656565656565656, 0.5757575757575758, 0.5858585858585859, 0.5959595959595959, 0.6060606060606061, 0.6161616161616161, 0.6262626262626263, 0.6363636363636364, 0.6464646464646465, 0.6565656565656566, 0.6666666666666666, 0.6767676767676768, 0.6868686868686869, 0.696969696969697, 0.7070707070707071, 0.7171717171717171, 0.7272727272727273, 0.7373737373737373, 0.7474747474747475, 0.7575757575757576, 0.7676767676767676, 0.7777777777777778, 0.7878787878787878, 0.797979797979798, 0.8080808080808081, 0.8181818181818182, 0.8282828282828283, 0.8383838383838383, 0.8484848484848485, 0.8585858585858586, 0.8686868686868687, 0.8787878787878788, 0.8888888888888888, 0.898989898989899, 0.9090909090909091, 0.9191919191919192, 0.9292929292929293, 0.9393939393939394, 0.9494949494949495, 0.9595959595959596, 0.9696969696969697, 0.9797979797979798, 0.98989898989899, 1.0], :y=>[6.77311715080506, 4.862765964855296, 4.13142835150361, 4.472879140134292, 6.59712986410501, 4.581611643903291, 3.732699233243934, 3.3187335628025205, 3.514708853058782, 4.628537440947461, 3.0572774512304406, 5.310455588442985, 3.2195080414253963, 5.508880810199349, 4.079165256692786, 5.144490489745197, 5.087503837699314, 6.662864395553022, 5.483400490383898, 6.2328950486666255, 6.322765720406402, 5.526923555372802, 4.16061793970762, 6.088249600149483, 3.5018686225984106, 4.946459566075038, 6.262236327371372, 3.34114474449722, 3.8219300015718876, 6.315086432207746, 4.4222109816989015, 3.293453780418781, 3.4266982295548094, 6.795912383470517, 3.806362754241208, 6.525504377480084, 3.711796659136092, 5.466409909504149, 6.907469414115759, 3.9719619934968544, 3.6170069436245633, 6.677747361952273, 5.0215441055200625, 5.449361223852634, 5.205348702752944, 4.8313217488121065, 4.577881215875594, 5.39857266789679, 5.650277691412304, 4.207490301347633, 5.384928342509909, 5.4228356432784395, 3.604462119954402, 6.63007621597188, 4.944803950358495, 3.1187056044625483, 4.6900366441183845, 4.8037917898775735, 3.2810453262061126, 5.152617488407588, 4.9613246386880485, 6.589949076774452, 4.272857036948782, 4.376334785729922, 6.164340938513066, 5.816620958760915, 4.207286847990619, 5.9027685322685635, 6.012038460114505, 3.0298961869363588, 5.944855980400082, 4.277758706768546, 6.170483345532586, 3.2845989481724693, 3.9965460445434937, 6.79088944285402, 6.305277279551269, 6.990476823897151, 4.949469499114802, 6.577883393953493, 6.161702137067484, 5.285744641961875, 5.49711766662192, 5.177694032263164, 4.251220447376818, 3.113140026042313, 5.783385159954685, 3.238061177738049, 4.120580345684331, 6.931017288113543, 6.011796291756263, 6.9517494903724755, 4.7292782340504775, 5.647087277451479, 3.887764966738919, 4.950517367118577, 6.308283654337372, 6.180046956438597, 3.0513566525381157, 3.768961668864381], :type=>:scatter, :mode=>:markers}, {:x=>[0.0, 0.010101010101010102, 0.020202020202020204, 0.030303030303030304, 0.04040404040404041, 0.050505050505050504, 0.06060606060606061, 0.0707070707070707, 0.08080808080808081, 0.09090909090909091, 0.10101010101010101, 0.1111111111111111, 0.12121212121212122, 0.13131313131313133, 0.1414141414141414, 0.15151515151515152, 0.16161616161616163, 0.1717171717171717, 0.18181818181818182, 0.1919191919191919, 0.20202020202020202, 0.21212121212121213, 0.2222222222222222, 0.23232323232323232, 0.24242424242424243, 0.25252525252525254, 0.26262626262626265, 0.2727272727272727, 0.2828282828282828, 0.29292929292929293, 0.30303030303030304, 0.31313131313131315, 0.32323232323232326, 0.3333333333333333, 0.3434343434343434, 0.35353535353535354, 0.36363636363636365, 0.37373737373737376, 0.3838383838383838, 0.3939393939393939, 0.40404040404040403, 0.41414141414141414, 0.42424242424242425, 0.43434343434343436, 0.4444444444444444, 0.45454545454545453, 0.46464646464646464, 0.47474747474747475, 0.48484848484848486, 0.494949494949495, 0.5050505050505051, 0.5151515151515151, 0.5252525252525253, 0.5353535353535354, 0.5454545454545454, 0.5555555555555556, 0.5656565656565656, 0.5757575757575758, 0.5858585858585859, 0.5959595959595959, 0.6060606060606061, 0.6161616161616161, 0.6262626262626263, 0.6363636363636364, 0.6464646464646465, 0.6565656565656566, 0.6666666666666666, 0.6767676767676768, 0.6868686868686869, 0.696969696969697, 0.7070707070707071, 0.7171717171717171, 0.7272727272727273, 0.7373737373737373, 0.7474747474747475, 0.7575757575757576, 0.7676767676767676, 0.7777777777777778, 0.7878787878787878, 0.797979797979798, 0.8080808080808081, 0.8181818181818182, 0.8282828282828283, 0.8383838383838383, 0.8484848484848485, 0.8585858585858586, 0.8686868686868687, 0.8787878787878788, 0.8888888888888888, 0.898989898989899, 0.9090909090909091, 0.9191919191919192, 0.9292929292929293, 0.9393939393939394, 0.9494949494949495, 0.9595959595959596, 0.9696969696969697, 0.9797979797979798, 0.98989898989899, 1.0], :y=>[-0.6966618502264348, -1.6264124270203122, -0.8003663421080791, 0.7755178680407844, 1.3467177364291456, -1.783943874368401, 0.23890250005347502, -1.8222131835331687, 1.8155819535547595, 1.9190772353715304, 0.11739314102449772, 1.9647914327561606, 1.1946139106268245, -0.2899067354420177, 1.6319732776260274, -0.630579760168311, -1.858468921293241, -0.5513809641610381, 1.2059524769750953, 1.4194866223153233, 0.16547876308972453, -0.8907524296608109, -0.5463432419351961, 1.6638983056628973, 1.5241095837738032, -0.6386557277385791, 1.720373855342178, -1.9293557094181497, 1.4171262559835527, -0.20547132798780954, -1.142641855633706, 0.5086465199346946, 0.5373860143490106, -1.8579270451575938, -1.373349204764339, 1.2241369637819175, -1.5433546221061696, 1.5047052296200478, 0.5365390684974742, 0.6962876588613307, -0.33630799682555823, 1.3593610402999468, -0.19130062791131808, -0.31173382695266616, -0.7299210787559862, 1.1958213265302677, -0.21287210052657368, -1.241065976994069, -1.7267628879597945, 0.8348012859189913, 1.9010315586695028, 0.6217012909331925, 1.7342338182040642, -1.6065587343158727, 0.7270787222946096, -0.7205958079365673, 1.8660968507222297, -0.5074274645669057, 1.017315346917123, 0.012224662765817573, 0.4149141121801989, 0.8251787072142021, 1.1028031474881588, -1.8781054149094993, 0.7606117670160208, -1.6048313622764239, 1.1139357802214835, 1.3272211968346679, -1.1236777882692803, 0.7652360059607837, -0.24951048901325734, 1.2357371796202732, -0.49649906688278955, 0.27251550261956536, -0.266670948671726, -1.5494746144889047, 1.7752715884446366, 0.020400097917685045, 0.5246739671819829, -0.9765259480050186, 1.9979359592809143, 1.393428862636667, -0.936140697588054, 1.2534656965029236, -0.19742269197114037, -1.6879776386804575, 0.6674863642398075, 0.12371023164690209, -0.15903201739414952, -0.24703278718741473, -1.1127290324686898, 0.6482963535940995, -1.4486281457850603, 0.7003438375731235, 0.8990232674550267, -0.34148975589598773, 0.9006708904535641, 0.474541087084412, 1.2727364042683016, -1.8597570490686843], :type=>:scatter, :mode=>:\"markers+lines\"}], @layout={}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
|
38
|
-
]
|
|
39
|
-
},
|
|
40
|
-
"metadata": {},
|
|
41
|
-
"output_type": "display_data"
|
|
42
|
-
}
|
|
43
|
-
],
|
|
44
|
-
"source": [
|
|
45
|
-
"require 'rbplotly'\n",
|
|
46
|
-
"\n",
|
|
47
|
-
"n = 100\n",
|
|
48
|
-
"\n",
|
|
49
|
-
"x = n.times.map { |i| i.to_f / (n - 1) }\n",
|
|
50
|
-
"y0 = n.times.map { rand(-2.0..2.0) + 5 }\n",
|
|
51
|
-
"y1 = n.times.map { rand(-2.0..2.0) }\n",
|
|
52
|
-
"\n",
|
|
53
|
-
"trace0 = { x: x, y: y0, type: :scatter, mode: :markers }\n",
|
|
54
|
-
"trace1 = trace0.merge(y: y1, mode: :'markers+lines')\n",
|
|
55
|
-
"\n",
|
|
56
|
-
"plot = Plotly::Plot.new(data: [trace0, trace1])\n",
|
|
57
|
-
"plot.show"
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
"cell_type": "code",
|
|
62
|
-
"execution_count": 2,
|
|
63
|
-
"metadata": {
|
|
64
|
-
"collapsed": false
|
|
65
|
-
},
|
|
66
|
-
"outputs": [
|
|
67
|
-
{
|
|
68
|
-
"data": {
|
|
69
|
-
"text/html": [
|
|
70
|
-
"\n",
|
|
71
|
-
" <script>\n",
|
|
72
|
-
" requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})\n",
|
|
73
|
-
" </script>\n",
|
|
74
|
-
"\n",
|
|
75
|
-
"\n",
|
|
76
|
-
"<div id=\"341a3c70-a5b5-418a-8610-7906c24e482d\" style=\"height: 100%; width: 100%;\"></div>\n",
|
|
77
|
-
"\n",
|
|
78
|
-
"<script>\n",
|
|
79
|
-
" require(['plotly'], function(Plotly) { \n",
|
|
80
|
-
"Plotly.newPlot(\n",
|
|
81
|
-
" '341a3c70-a5b5-418a-8610-7906c24e482d',\n",
|
|
82
|
-
" [{\"x\":[0.0,0.010101010101010102,0.020202020202020204,0.030303030303030304,0.04040404040404041,0.050505050505050504,0.06060606060606061,0.0707070707070707,0.08080808080808081,0.09090909090909091,0.10101010101010101,0.1111111111111111,0.12121212121212122,0.13131313131313133,0.1414141414141414,0.15151515151515152,0.16161616161616163,0.1717171717171717,0.18181818181818182,0.1919191919191919,0.20202020202020202,0.21212121212121213,0.2222222222222222,0.23232323232323232,0.24242424242424243,0.25252525252525254,0.26262626262626265,0.2727272727272727,0.2828282828282828,0.29292929292929293,0.30303030303030304,0.31313131313131315,0.32323232323232326,0.3333333333333333,0.3434343434343434,0.35353535353535354,0.36363636363636365,0.37373737373737376,0.3838383838383838,0.3939393939393939,0.40404040404040403,0.41414141414141414,0.42424242424242425,0.43434343434343436,0.4444444444444444,0.45454545454545453,0.46464646464646464,0.47474747474747475,0.48484848484848486,0.494949494949495,0.5050505050505051,0.5151515151515151,0.5252525252525253,0.5353535353535354,0.5454545454545454,0.5555555555555556,0.5656565656565656,0.5757575757575758,0.5858585858585859,0.5959595959595959,0.6060606060606061,0.6161616161616161,0.6262626262626263,0.6363636363636364,0.6464646464646465,0.6565656565656566,0.6666666666666666,0.6767676767676768,0.6868686868686869,0.696969696969697,0.7070707070707071,0.7171717171717171,0.7272727272727273,0.7373737373737373,0.7474747474747475,0.7575757575757576,0.7676767676767676,0.7777777777777778,0.7878787878787878,0.797979797979798,0.8080808080808081,0.8181818181818182,0.8282828282828283,0.8383838383838383,0.8484848484848485,0.8585858585858586,0.8686868686868687,0.8787878787878788,0.8888888888888888,0.898989898989899,0.9090909090909091,0.9191919191919192,0.9292929292929293,0.9393939393939394,0.9494949494949495,0.9595959595959596,0.9696969696969697,0.9797979797979798,0.98989898989899,1.0],\"y\":[6.77311715080506,4.862765964855296,4.13142835150361,4.472879140134292,6.59712986410501,4.581611643903291,3.732699233243934,3.3187335628025205,3.514708853058782,4.628537440947461,3.0572774512304406,5.310455588442985,3.2195080414253963,5.508880810199349,4.079165256692786,5.144490489745197,5.087503837699314,6.662864395553022,5.483400490383898,6.2328950486666255,6.322765720406402,5.526923555372802,4.16061793970762,6.088249600149483,3.5018686225984106,4.946459566075038,6.262236327371372,3.34114474449722,3.8219300015718876,6.315086432207746,4.4222109816989015,3.293453780418781,3.4266982295548094,6.795912383470517,3.806362754241208,6.525504377480084,3.711796659136092,5.466409909504149,6.907469414115759,3.9719619934968544,3.6170069436245633,6.677747361952273,5.0215441055200625,5.449361223852634,5.205348702752944,4.8313217488121065,4.577881215875594,5.39857266789679,5.650277691412304,4.207490301347633,5.384928342509909,5.4228356432784395,3.604462119954402,6.63007621597188,4.944803950358495,3.1187056044625483,4.6900366441183845,4.8037917898775735,3.2810453262061126,5.152617488407588,4.9613246386880485,6.589949076774452,4.272857036948782,4.376334785729922,6.164340938513066,5.816620958760915,4.207286847990619,5.9027685322685635,6.012038460114505,3.0298961869363588,5.944855980400082,4.277758706768546,6.170483345532586,3.2845989481724693,3.9965460445434937,6.79088944285402,6.305277279551269,6.990476823897151,4.949469499114802,6.577883393953493,6.161702137067484,5.285744641961875,5.49711766662192,5.177694032263164,4.251220447376818,3.113140026042313,5.783385159954685,3.238061177738049,4.120580345684331,6.931017288113543,6.011796291756263,6.9517494903724755,4.7292782340504775,5.647087277451479,3.887764966738919,4.950517367118577,6.308283654337372,6.180046956438597,3.0513566525381157,3.768961668864381],\"type\":\"scatter\",\"mode\":\"markers\"},{\"x\":[0.0,0.010101010101010102,0.020202020202020204,0.030303030303030304,0.04040404040404041,0.050505050505050504,0.06060606060606061,0.0707070707070707,0.08080808080808081,0.09090909090909091,0.10101010101010101,0.1111111111111111,0.12121212121212122,0.13131313131313133,0.1414141414141414,0.15151515151515152,0.16161616161616163,0.1717171717171717,0.18181818181818182,0.1919191919191919,0.20202020202020202,0.21212121212121213,0.2222222222222222,0.23232323232323232,0.24242424242424243,0.25252525252525254,0.26262626262626265,0.2727272727272727,0.2828282828282828,0.29292929292929293,0.30303030303030304,0.31313131313131315,0.32323232323232326,0.3333333333333333,0.3434343434343434,0.35353535353535354,0.36363636363636365,0.37373737373737376,0.3838383838383838,0.3939393939393939,0.40404040404040403,0.41414141414141414,0.42424242424242425,0.43434343434343436,0.4444444444444444,0.45454545454545453,0.46464646464646464,0.47474747474747475,0.48484848484848486,0.494949494949495,0.5050505050505051,0.5151515151515151,0.5252525252525253,0.5353535353535354,0.5454545454545454,0.5555555555555556,0.5656565656565656,0.5757575757575758,0.5858585858585859,0.5959595959595959,0.6060606060606061,0.6161616161616161,0.6262626262626263,0.6363636363636364,0.6464646464646465,0.6565656565656566,0.6666666666666666,0.6767676767676768,0.6868686868686869,0.696969696969697,0.7070707070707071,0.7171717171717171,0.7272727272727273,0.7373737373737373,0.7474747474747475,0.7575757575757576,0.7676767676767676,0.7777777777777778,0.7878787878787878,0.797979797979798,0.8080808080808081,0.8181818181818182,0.8282828282828283,0.8383838383838383,0.8484848484848485,0.8585858585858586,0.8686868686868687,0.8787878787878788,0.8888888888888888,0.898989898989899,0.9090909090909091,0.9191919191919192,0.9292929292929293,0.9393939393939394,0.9494949494949495,0.9595959595959596,0.9696969696969697,0.9797979797979798,0.98989898989899,1.0],\"y\":[-0.3232758959890951,0.4970899355553401,0.44580438294604785,0.22282666560072417,0.12703635909022337,0.3456844063472898,-0.33137320867313524,0.21374727733358878,0.09019084088863194,-0.07828103511131257,0.11818140562358637,0.4272277810810994,-0.03561356188099385,-0.3434670471909461,-0.15441368070673223,0.4389207489024166,-0.426092981190782,-0.05380118340131901,0.28559718846282,-0.14375100573294086,0.3805021888930167,-0.21313907659185227,0.3317363568334334,0.043720004132245416,0.3385507311363235,-0.3353926890263679,0.4548490493897521,-0.01912803436170163,0.11242276332062229,0.43577114881048107,-0.11751025750114097,-0.16136173282450217,0.2624780071814047,-0.45180056620937326,-0.16006360685277488,-0.16251140528885422,0.4903074614775397,0.12150233210233363,-0.14483220560150611,-0.30705614974414486,-0.2995249792105883,0.39615142135164494,0.2773298630939377,-0.33218218441388114,-0.1459411809357657,0.26788450414886245,0.39478091637643364,-0.1285213470719101,0.4388783001516544,-0.25053749948666426,0.2299278509161916,0.0031951945713151186,0.4950458782762306,0.2996194766785414,0.30357480618776755,0.12284737965102088,0.22672540838058264,-0.49441378767479127,0.13997949874714333,0.20297488100662697,-0.09180582878714005,0.48403708564866166,-0.3647509348411496,0.34962860591895784,-0.31627892268415014,-0.0803803306066112,-0.22892199408312386,0.37197501974988845,0.34157035563814586,0.4580645660977263,-0.17860377020291196,-0.3358840997156075,0.48618731667749526,-0.31731144800911437,0.293577228357466,0.28512440957105634,-0.0696911314205142,-0.21765739644286886,0.2272563357891796,-0.48669044359902114,-0.02978911562197728,-0.02411438111270403,0.3200812721047154,0.43591726876951487,0.24606053395619543,0.10820705760286786,0.10392345906011524,-0.13637797972818855,-0.39197245334844943,0.4735280906807313,0.14094063653786293,0.4660935792863511,0.10419400195156325,-0.27382310522488906,0.12707720874721307,-0.4903762719072222,0.4587878771719298,-0.08868757443663533,0.2604772137426018,-0.3223224415138706],\"type\":\"scatter\",\"mode\":\"markers+lines\"}],\n",
|
|
83
|
-
" {},\n",
|
|
84
|
-
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
|
85
|
-
")\n",
|
|
86
|
-
"\n",
|
|
87
|
-
"window.addEventListener('resize', function() {\n",
|
|
88
|
-
" Plotly.Plots.resize(document.getElementById('341a3c70-a5b5-418a-8610-7906c24e482d'))\n",
|
|
89
|
-
"})\n",
|
|
90
|
-
" }) \n",
|
|
91
|
-
"</script>"
|
|
92
|
-
],
|
|
93
|
-
"text/plain": [
|
|
94
|
-
"#<Plotly::Offline::HTML:0x007fcea3de3ec8 @id=\"341a3c70-a5b5-418a-8610-7906c24e482d\", @data=[{:x=>[0.0, 0.010101010101010102, 0.020202020202020204, 0.030303030303030304, 0.04040404040404041, 0.050505050505050504, 0.06060606060606061, 0.0707070707070707, 0.08080808080808081, 0.09090909090909091, 0.10101010101010101, 0.1111111111111111, 0.12121212121212122, 0.13131313131313133, 0.1414141414141414, 0.15151515151515152, 0.16161616161616163, 0.1717171717171717, 0.18181818181818182, 0.1919191919191919, 0.20202020202020202, 0.21212121212121213, 0.2222222222222222, 0.23232323232323232, 0.24242424242424243, 0.25252525252525254, 0.26262626262626265, 0.2727272727272727, 0.2828282828282828, 0.29292929292929293, 0.30303030303030304, 0.31313131313131315, 0.32323232323232326, 0.3333333333333333, 0.3434343434343434, 0.35353535353535354, 0.36363636363636365, 0.37373737373737376, 0.3838383838383838, 0.3939393939393939, 0.40404040404040403, 0.41414141414141414, 0.42424242424242425, 0.43434343434343436, 0.4444444444444444, 0.45454545454545453, 0.46464646464646464, 0.47474747474747475, 0.48484848484848486, 0.494949494949495, 0.5050505050505051, 0.5151515151515151, 0.5252525252525253, 0.5353535353535354, 0.5454545454545454, 0.5555555555555556, 0.5656565656565656, 0.5757575757575758, 0.5858585858585859, 0.5959595959595959, 0.6060606060606061, 0.6161616161616161, 0.6262626262626263, 0.6363636363636364, 0.6464646464646465, 0.6565656565656566, 0.6666666666666666, 0.6767676767676768, 0.6868686868686869, 0.696969696969697, 0.7070707070707071, 0.7171717171717171, 0.7272727272727273, 0.7373737373737373, 0.7474747474747475, 0.7575757575757576, 0.7676767676767676, 0.7777777777777778, 0.7878787878787878, 0.797979797979798, 0.8080808080808081, 0.8181818181818182, 0.8282828282828283, 0.8383838383838383, 0.8484848484848485, 0.8585858585858586, 0.8686868686868687, 0.8787878787878788, 0.8888888888888888, 0.898989898989899, 0.9090909090909091, 0.9191919191919192, 0.9292929292929293, 0.9393939393939394, 0.9494949494949495, 0.9595959595959596, 0.9696969696969697, 0.9797979797979798, 0.98989898989899, 1.0], :y=>[6.77311715080506, 4.862765964855296, 4.13142835150361, 4.472879140134292, 6.59712986410501, 4.581611643903291, 3.732699233243934, 3.3187335628025205, 3.514708853058782, 4.628537440947461, 3.0572774512304406, 5.310455588442985, 3.2195080414253963, 5.508880810199349, 4.079165256692786, 5.144490489745197, 5.087503837699314, 6.662864395553022, 5.483400490383898, 6.2328950486666255, 6.322765720406402, 5.526923555372802, 4.16061793970762, 6.088249600149483, 3.5018686225984106, 4.946459566075038, 6.262236327371372, 3.34114474449722, 3.8219300015718876, 6.315086432207746, 4.4222109816989015, 3.293453780418781, 3.4266982295548094, 6.795912383470517, 3.806362754241208, 6.525504377480084, 3.711796659136092, 5.466409909504149, 6.907469414115759, 3.9719619934968544, 3.6170069436245633, 6.677747361952273, 5.0215441055200625, 5.449361223852634, 5.205348702752944, 4.8313217488121065, 4.577881215875594, 5.39857266789679, 5.650277691412304, 4.207490301347633, 5.384928342509909, 5.4228356432784395, 3.604462119954402, 6.63007621597188, 4.944803950358495, 3.1187056044625483, 4.6900366441183845, 4.8037917898775735, 3.2810453262061126, 5.152617488407588, 4.9613246386880485, 6.589949076774452, 4.272857036948782, 4.376334785729922, 6.164340938513066, 5.816620958760915, 4.207286847990619, 5.9027685322685635, 6.012038460114505, 3.0298961869363588, 5.944855980400082, 4.277758706768546, 6.170483345532586, 3.2845989481724693, 3.9965460445434937, 6.79088944285402, 6.305277279551269, 6.990476823897151, 4.949469499114802, 6.577883393953493, 6.161702137067484, 5.285744641961875, 5.49711766662192, 5.177694032263164, 4.251220447376818, 3.113140026042313, 5.783385159954685, 3.238061177738049, 4.120580345684331, 6.931017288113543, 6.011796291756263, 6.9517494903724755, 4.7292782340504775, 5.647087277451479, 3.887764966738919, 4.950517367118577, 6.308283654337372, 6.180046956438597, 3.0513566525381157, 3.768961668864381], :type=>:scatter, :mode=>:markers}, {:x=>[0.0, 0.010101010101010102, 0.020202020202020204, 0.030303030303030304, 0.04040404040404041, 0.050505050505050504, 0.06060606060606061, 0.0707070707070707, 0.08080808080808081, 0.09090909090909091, 0.10101010101010101, 0.1111111111111111, 0.12121212121212122, 0.13131313131313133, 0.1414141414141414, 0.15151515151515152, 0.16161616161616163, 0.1717171717171717, 0.18181818181818182, 0.1919191919191919, 0.20202020202020202, 0.21212121212121213, 0.2222222222222222, 0.23232323232323232, 0.24242424242424243, 0.25252525252525254, 0.26262626262626265, 0.2727272727272727, 0.2828282828282828, 0.29292929292929293, 0.30303030303030304, 0.31313131313131315, 0.32323232323232326, 0.3333333333333333, 0.3434343434343434, 0.35353535353535354, 0.36363636363636365, 0.37373737373737376, 0.3838383838383838, 0.3939393939393939, 0.40404040404040403, 0.41414141414141414, 0.42424242424242425, 0.43434343434343436, 0.4444444444444444, 0.45454545454545453, 0.46464646464646464, 0.47474747474747475, 0.48484848484848486, 0.494949494949495, 0.5050505050505051, 0.5151515151515151, 0.5252525252525253, 0.5353535353535354, 0.5454545454545454, 0.5555555555555556, 0.5656565656565656, 0.5757575757575758, 0.5858585858585859, 0.5959595959595959, 0.6060606060606061, 0.6161616161616161, 0.6262626262626263, 0.6363636363636364, 0.6464646464646465, 0.6565656565656566, 0.6666666666666666, 0.6767676767676768, 0.6868686868686869, 0.696969696969697, 0.7070707070707071, 0.7171717171717171, 0.7272727272727273, 0.7373737373737373, 0.7474747474747475, 0.7575757575757576, 0.7676767676767676, 0.7777777777777778, 0.7878787878787878, 0.797979797979798, 0.8080808080808081, 0.8181818181818182, 0.8282828282828283, 0.8383838383838383, 0.8484848484848485, 0.8585858585858586, 0.8686868686868687, 0.8787878787878788, 0.8888888888888888, 0.898989898989899, 0.9090909090909091, 0.9191919191919192, 0.9292929292929293, 0.9393939393939394, 0.9494949494949495, 0.9595959595959596, 0.9696969696969697, 0.9797979797979798, 0.98989898989899, 1.0], :y=>[-0.3232758959890951, 0.4970899355553401, 0.44580438294604785, 0.22282666560072417, 0.12703635909022337, 0.3456844063472898, -0.33137320867313524, 0.21374727733358878, 0.09019084088863194, -0.07828103511131257, 0.11818140562358637, 0.4272277810810994, -0.03561356188099385, -0.3434670471909461, -0.15441368070673223, 0.4389207489024166, -0.426092981190782, -0.05380118340131901, 0.28559718846282, -0.14375100573294086, 0.3805021888930167, -0.21313907659185227, 0.3317363568334334, 0.043720004132245416, 0.3385507311363235, -0.3353926890263679, 0.4548490493897521, -0.01912803436170163, 0.11242276332062229, 0.43577114881048107, -0.11751025750114097, -0.16136173282450217, 0.2624780071814047, -0.45180056620937326, -0.16006360685277488, -0.16251140528885422, 0.4903074614775397, 0.12150233210233363, -0.14483220560150611, -0.30705614974414486, -0.2995249792105883, 0.39615142135164494, 0.2773298630939377, -0.33218218441388114, -0.1459411809357657, 0.26788450414886245, 0.39478091637643364, -0.1285213470719101, 0.4388783001516544, -0.25053749948666426, 0.2299278509161916, 0.0031951945713151186, 0.4950458782762306, 0.2996194766785414, 0.30357480618776755, 0.12284737965102088, 0.22672540838058264, -0.49441378767479127, 0.13997949874714333, 0.20297488100662697, -0.09180582878714005, 0.48403708564866166, -0.3647509348411496, 0.34962860591895784, -0.31627892268415014, -0.0803803306066112, -0.22892199408312386, 0.37197501974988845, 0.34157035563814586, 0.4580645660977263, -0.17860377020291196, -0.3358840997156075, 0.48618731667749526, -0.31731144800911437, 0.293577228357466, 0.28512440957105634, -0.0696911314205142, -0.21765739644286886, 0.2272563357891796, -0.48669044359902114, -0.02978911562197728, -0.02411438111270403, 0.3200812721047154, 0.43591726876951487, 0.24606053395619543, 0.10820705760286786, 0.10392345906011524, -0.13637797972818855, -0.39197245334844943, 0.4735280906807313, 0.14094063653786293, 0.4660935792863511, 0.10419400195156325, -0.27382310522488906, 0.12707720874721307, -0.4903762719072222, 0.4587878771719298, -0.08868757443663533, 0.2604772137426018, -0.3223224415138706], :type=>:scatter, :mode=>:\"markers+lines\"}], @layout={}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
|
95
|
-
]
|
|
96
|
-
},
|
|
97
|
-
"metadata": {},
|
|
98
|
-
"output_type": "display_data"
|
|
99
|
-
}
|
|
100
|
-
],
|
|
101
|
-
"source": [
|
|
102
|
-
"plot.data.last.y = n.times.map { rand(-0.5..0.5) }\n",
|
|
103
|
-
"plot.show"
|
|
104
|
-
]
|
|
105
|
-
},
|
|
106
|
-
{
|
|
107
|
-
"cell_type": "code",
|
|
108
|
-
"execution_count": 3,
|
|
109
|
-
"metadata": {
|
|
110
|
-
"collapsed": false
|
|
111
|
-
},
|
|
112
|
-
"outputs": [
|
|
113
|
-
{
|
|
114
|
-
"data": {
|
|
115
|
-
"text/html": [
|
|
116
|
-
"\n",
|
|
117
|
-
" <script>\n",
|
|
118
|
-
" requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})\n",
|
|
119
|
-
" </script>\n",
|
|
120
|
-
"\n",
|
|
121
|
-
"\n",
|
|
122
|
-
"<div id=\"78c9878d-2bae-4819-a873-dff81986818e\" style=\"height: 100%; width: 100%;\"></div>\n",
|
|
123
|
-
"\n",
|
|
124
|
-
"<script>\n",
|
|
125
|
-
" require(['plotly'], function(Plotly) { \n",
|
|
126
|
-
"Plotly.newPlot(\n",
|
|
127
|
-
" '78c9878d-2bae-4819-a873-dff81986818e',\n",
|
|
128
|
-
" [{\"x\":[0.0,0.010101010101010102,0.020202020202020204,0.030303030303030304,0.04040404040404041,0.050505050505050504,0.06060606060606061,0.0707070707070707,0.08080808080808081,0.09090909090909091,0.10101010101010101,0.1111111111111111,0.12121212121212122,0.13131313131313133,0.1414141414141414,0.15151515151515152,0.16161616161616163,0.1717171717171717,0.18181818181818182,0.1919191919191919,0.20202020202020202,0.21212121212121213,0.2222222222222222,0.23232323232323232,0.24242424242424243,0.25252525252525254,0.26262626262626265,0.2727272727272727,0.2828282828282828,0.29292929292929293,0.30303030303030304,0.31313131313131315,0.32323232323232326,0.3333333333333333,0.3434343434343434,0.35353535353535354,0.36363636363636365,0.37373737373737376,0.3838383838383838,0.3939393939393939,0.40404040404040403,0.41414141414141414,0.42424242424242425,0.43434343434343436,0.4444444444444444,0.45454545454545453,0.46464646464646464,0.47474747474747475,0.48484848484848486,0.494949494949495,0.5050505050505051,0.5151515151515151,0.5252525252525253,0.5353535353535354,0.5454545454545454,0.5555555555555556,0.5656565656565656,0.5757575757575758,0.5858585858585859,0.5959595959595959,0.6060606060606061,0.6161616161616161,0.6262626262626263,0.6363636363636364,0.6464646464646465,0.6565656565656566,0.6666666666666666,0.6767676767676768,0.6868686868686869,0.696969696969697,0.7070707070707071,0.7171717171717171,0.7272727272727273,0.7373737373737373,0.7474747474747475,0.7575757575757576,0.7676767676767676,0.7777777777777778,0.7878787878787878,0.797979797979798,0.8080808080808081,0.8181818181818182,0.8282828282828283,0.8383838383838383,0.8484848484848485,0.8585858585858586,0.8686868686868687,0.8787878787878788,0.8888888888888888,0.898989898989899,0.9090909090909091,0.9191919191919192,0.9292929292929293,0.9393939393939394,0.9494949494949495,0.9595959595959596,0.9696969696969697,0.9797979797979798,0.98989898989899,1.0],\"y\":[6.77311715080506,4.862765964855296,4.13142835150361,4.472879140134292,6.59712986410501,4.581611643903291,3.732699233243934,3.3187335628025205,3.514708853058782,4.628537440947461,3.0572774512304406,5.310455588442985,3.2195080414253963,5.508880810199349,4.079165256692786,5.144490489745197,5.087503837699314,6.662864395553022,5.483400490383898,6.2328950486666255,6.322765720406402,5.526923555372802,4.16061793970762,6.088249600149483,3.5018686225984106,4.946459566075038,6.262236327371372,3.34114474449722,3.8219300015718876,6.315086432207746,4.4222109816989015,3.293453780418781,3.4266982295548094,6.795912383470517,3.806362754241208,6.525504377480084,3.711796659136092,5.466409909504149,6.907469414115759,3.9719619934968544,3.6170069436245633,6.677747361952273,5.0215441055200625,5.449361223852634,5.205348702752944,4.8313217488121065,4.577881215875594,5.39857266789679,5.650277691412304,4.207490301347633,5.384928342509909,5.4228356432784395,3.604462119954402,6.63007621597188,4.944803950358495,3.1187056044625483,4.6900366441183845,4.8037917898775735,3.2810453262061126,5.152617488407588,4.9613246386880485,6.589949076774452,4.272857036948782,4.376334785729922,6.164340938513066,5.816620958760915,4.207286847990619,5.9027685322685635,6.012038460114505,3.0298961869363588,5.944855980400082,4.277758706768546,6.170483345532586,3.2845989481724693,3.9965460445434937,6.79088944285402,6.305277279551269,6.990476823897151,4.949469499114802,6.577883393953493,6.161702137067484,5.285744641961875,5.49711766662192,5.177694032263164,4.251220447376818,3.113140026042313,5.783385159954685,3.238061177738049,4.120580345684331,6.931017288113543,6.011796291756263,6.9517494903724755,4.7292782340504775,5.647087277451479,3.887764966738919,4.950517367118577,6.308283654337372,6.180046956438597,3.0513566525381157,3.768961668864381],\"type\":\"scatter\",\"mode\":\"markers\"},{\"x\":[0.0,0.010101010101010102,0.020202020202020204,0.030303030303030304,0.04040404040404041,0.050505050505050504,0.06060606060606061,0.0707070707070707,0.08080808080808081,0.09090909090909091,0.10101010101010101,0.1111111111111111,0.12121212121212122,0.13131313131313133,0.1414141414141414,0.15151515151515152,0.16161616161616163,0.1717171717171717,0.18181818181818182,0.1919191919191919,0.20202020202020202,0.21212121212121213,0.2222222222222222,0.23232323232323232,0.24242424242424243,0.25252525252525254,0.26262626262626265,0.2727272727272727,0.2828282828282828,0.29292929292929293,0.30303030303030304,0.31313131313131315,0.32323232323232326,0.3333333333333333,0.3434343434343434,0.35353535353535354,0.36363636363636365,0.37373737373737376,0.3838383838383838,0.3939393939393939,0.40404040404040403,0.41414141414141414,0.42424242424242425,0.43434343434343436,0.4444444444444444,0.45454545454545453,0.46464646464646464,0.47474747474747475,0.48484848484848486,0.494949494949495,0.5050505050505051,0.5151515151515151,0.5252525252525253,0.5353535353535354,0.5454545454545454,0.5555555555555556,0.5656565656565656,0.5757575757575758,0.5858585858585859,0.5959595959595959,0.6060606060606061,0.6161616161616161,0.6262626262626263,0.6363636363636364,0.6464646464646465,0.6565656565656566,0.6666666666666666,0.6767676767676768,0.6868686868686869,0.696969696969697,0.7070707070707071,0.7171717171717171,0.7272727272727273,0.7373737373737373,0.7474747474747475,0.7575757575757576,0.7676767676767676,0.7777777777777778,0.7878787878787878,0.797979797979798,0.8080808080808081,0.8181818181818182,0.8282828282828283,0.8383838383838383,0.8484848484848485,0.8585858585858586,0.8686868686868687,0.8787878787878788,0.8888888888888888,0.898989898989899,0.9090909090909091,0.9191919191919192,0.9292929292929293,0.9393939393939394,0.9494949494949495,0.9595959595959596,0.9696969696969697,0.9797979797979798,0.98989898989899,1.0],\"y\":[-0.3232758959890951,0.4970899355553401,0.44580438294604785,0.22282666560072417,0.12703635909022337,0.3456844063472898,-0.33137320867313524,0.21374727733358878,0.09019084088863194,-0.07828103511131257,0.11818140562358637,0.4272277810810994,-0.03561356188099385,-0.3434670471909461,-0.15441368070673223,0.4389207489024166,-0.426092981190782,-0.05380118340131901,0.28559718846282,-0.14375100573294086,0.3805021888930167,-0.21313907659185227,0.3317363568334334,0.043720004132245416,0.3385507311363235,-0.3353926890263679,0.4548490493897521,-0.01912803436170163,0.11242276332062229,0.43577114881048107,-0.11751025750114097,-0.16136173282450217,0.2624780071814047,-0.45180056620937326,-0.16006360685277488,-0.16251140528885422,0.4903074614775397,0.12150233210233363,-0.14483220560150611,-0.30705614974414486,-0.2995249792105883,0.39615142135164494,0.2773298630939377,-0.33218218441388114,-0.1459411809357657,0.26788450414886245,0.39478091637643364,-0.1285213470719101,0.4388783001516544,-0.25053749948666426,0.2299278509161916,0.0031951945713151186,0.4950458782762306,0.2996194766785414,0.30357480618776755,0.12284737965102088,0.22672540838058264,-0.49441378767479127,0.13997949874714333,0.20297488100662697,-0.09180582878714005,0.48403708564866166,-0.3647509348411496,0.34962860591895784,-0.31627892268415014,-0.0803803306066112,-0.22892199408312386,0.37197501974988845,0.34157035563814586,0.4580645660977263,-0.17860377020291196,-0.3358840997156075,0.48618731667749526,-0.31731144800911437,0.293577228357466,0.28512440957105634,-0.0696911314205142,-0.21765739644286886,0.2272563357891796,-0.48669044359902114,-0.02978911562197728,-0.02411438111270403,0.3200812721047154,0.43591726876951487,0.24606053395619543,0.10820705760286786,0.10392345906011524,-0.13637797972818855,-0.39197245334844943,0.4735280906807313,0.14094063653786293,0.4660935792863511,0.10419400195156325,-0.27382310522488906,0.12707720874721307,-0.4903762719072222,0.4587878771719298,-0.08868757443663533,0.2604772137426018,-0.3223224415138706],\"type\":\"scatter\",\"mode\":\"markers+lines\"},{\"x\":[0.0,0.010101010101010102,0.020202020202020204,0.030303030303030304,0.04040404040404041,0.050505050505050504,0.06060606060606061,0.0707070707070707,0.08080808080808081,0.09090909090909091,0.10101010101010101,0.1111111111111111,0.12121212121212122,0.13131313131313133,0.1414141414141414,0.15151515151515152,0.16161616161616163,0.1717171717171717,0.18181818181818182,0.1919191919191919,0.20202020202020202,0.21212121212121213,0.2222222222222222,0.23232323232323232,0.24242424242424243,0.25252525252525254,0.26262626262626265,0.2727272727272727,0.2828282828282828,0.29292929292929293,0.30303030303030304,0.31313131313131315,0.32323232323232326,0.3333333333333333,0.3434343434343434,0.35353535353535354,0.36363636363636365,0.37373737373737376,0.3838383838383838,0.3939393939393939,0.40404040404040403,0.41414141414141414,0.42424242424242425,0.43434343434343436,0.4444444444444444,0.45454545454545453,0.46464646464646464,0.47474747474747475,0.48484848484848486,0.494949494949495,0.5050505050505051,0.5151515151515151,0.5252525252525253,0.5353535353535354,0.5454545454545454,0.5555555555555556,0.5656565656565656,0.5757575757575758,0.5858585858585859,0.5959595959595959,0.6060606060606061,0.6161616161616161,0.6262626262626263,0.6363636363636364,0.6464646464646465,0.6565656565656566,0.6666666666666666,0.6767676767676768,0.6868686868686869,0.696969696969697,0.7070707070707071,0.7171717171717171,0.7272727272727273,0.7373737373737373,0.7474747474747475,0.7575757575757576,0.7676767676767676,0.7777777777777778,0.7878787878787878,0.797979797979798,0.8080808080808081,0.8181818181818182,0.8282828282828283,0.8383838383838383,0.8484848484848485,0.8585858585858586,0.8686868686868687,0.8787878787878788,0.8888888888888888,0.898989898989899,0.9090909090909091,0.9191919191919192,0.9292929292929293,0.9393939393939394,0.9494949494949495,0.9595959595959596,0.9696969696969697,0.9797979797979798,0.98989898989899,1.0],\"y\":[-6.6874262296932265,-6.829432052835984,-5.59047424597267,-5.976489276423312,-4.092367256965065,-5.39307510118236,-3.8068982200237405,-6.136107228509367,-6.8151973565730835,-5.565382391195958,-4.375895949455578,-3.760485858791113,-6.754688084466551,-4.824300563427634,-5.52595062102378,-6.3378335471294065,-3.0543125714811343,-4.278900099708506,-5.93067963794472,-5.205126522921306,-5.601768595846629,-6.026465236007853,-6.4067420272520685,-3.2391493065309773,-4.7845855803951896,-5.620443521674236,-6.206620299811739,-3.922902267631179,-5.222985143545303,-5.457385208084562,-5.987533200307928,-5.060010070944687,-5.397620122651418,-6.284712179274461,-6.735000931752831,-4.278629421069374,-4.504010851830566,-5.342444697768789,-5.394766221356312,-4.192741901590026,-3.0595709454141926,-6.237011775415116,-6.973987824318379,-4.913783865369675,-5.903520774897731,-4.59421995659088,-4.1225265289804796,-6.457966507538131,-4.316637957697737,-4.561861594291388,-4.854520669675028,-3.5039242191286855,-5.563932284038044,-5.302468610986621,-3.8052487115358793,-3.8238669206711977,-6.584415034037431,-3.7905660264284458,-6.723591254224798,-5.185983197329615,-5.080968383764003,-5.027094466810981,-4.549936169811947,-5.148343674515804,-4.196708837755386,-3.9297365794350414,-4.090058809327308,-5.336733025546682,-6.700419393945597,-3.475329954811489,-4.5526066273919685,-6.923105108682796,-6.889478899787659,-3.996657727916245,-6.9071135321281245,-6.416445251691865,-5.665207227760563,-3.1665468802822394,-5.830304890120358,-3.5972075432894592,-5.802575876111328,-4.100514049482162,-6.38197066692527,-6.702626553059812,-3.9790242842492933,-5.619991927686209,-4.926367217010969,-3.4943559861736206,-6.369451249168813,-6.619621430213733,-3.6419335595990563,-6.544142701924831,-5.0609703774673305,-4.915198629335233,-4.878808909841706,-6.441541961605298,-5.9779498830067395,-6.064884480030446,-3.8194230353612935,-3.1135425526321128],\"type\":\"scatter\",\"mode\":\"lines\"}],\n",
|
|
129
|
-
" {},\n",
|
|
130
|
-
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
|
131
|
-
")\n",
|
|
132
|
-
"\n",
|
|
133
|
-
"window.addEventListener('resize', function() {\n",
|
|
134
|
-
" Plotly.Plots.resize(document.getElementById('78c9878d-2bae-4819-a873-dff81986818e'))\n",
|
|
135
|
-
"})\n",
|
|
136
|
-
" }) \n",
|
|
137
|
-
"</script>"
|
|
138
|
-
],
|
|
139
|
-
"text/plain": [
|
|
140
|
-
"#<Plotly::Offline::HTML:0x007fcea3d20a40 @id=\"78c9878d-2bae-4819-a873-dff81986818e\", @data=[{:x=>[0.0, 0.010101010101010102, 0.020202020202020204, 0.030303030303030304, 0.04040404040404041, 0.050505050505050504, 0.06060606060606061, 0.0707070707070707, 0.08080808080808081, 0.09090909090909091, 0.10101010101010101, 0.1111111111111111, 0.12121212121212122, 0.13131313131313133, 0.1414141414141414, 0.15151515151515152, 0.16161616161616163, 0.1717171717171717, 0.18181818181818182, 0.1919191919191919, 0.20202020202020202, 0.21212121212121213, 0.2222222222222222, 0.23232323232323232, 0.24242424242424243, 0.25252525252525254, 0.26262626262626265, 0.2727272727272727, 0.2828282828282828, 0.29292929292929293, 0.30303030303030304, 0.31313131313131315, 0.32323232323232326, 0.3333333333333333, 0.3434343434343434, 0.35353535353535354, 0.36363636363636365, 0.37373737373737376, 0.3838383838383838, 0.3939393939393939, 0.40404040404040403, 0.41414141414141414, 0.42424242424242425, 0.43434343434343436, 0.4444444444444444, 0.45454545454545453, 0.46464646464646464, 0.47474747474747475, 0.48484848484848486, 0.494949494949495, 0.5050505050505051, 0.5151515151515151, 0.5252525252525253, 0.5353535353535354, 0.5454545454545454, 0.5555555555555556, 0.5656565656565656, 0.5757575757575758, 0.5858585858585859, 0.5959595959595959, 0.6060606060606061, 0.6161616161616161, 0.6262626262626263, 0.6363636363636364, 0.6464646464646465, 0.6565656565656566, 0.6666666666666666, 0.6767676767676768, 0.6868686868686869, 0.696969696969697, 0.7070707070707071, 0.7171717171717171, 0.7272727272727273, 0.7373737373737373, 0.7474747474747475, 0.7575757575757576, 0.7676767676767676, 0.7777777777777778, 0.7878787878787878, 0.797979797979798, 0.8080808080808081, 0.8181818181818182, 0.8282828282828283, 0.8383838383838383, 0.8484848484848485, 0.8585858585858586, 0.8686868686868687, 0.8787878787878788, 0.8888888888888888, 0.898989898989899, 0.9090909090909091, 0.9191919191919192, 0.9292929292929293, 0.9393939393939394, 0.9494949494949495, 0.9595959595959596, 0.9696969696969697, 0.9797979797979798, 0.98989898989899, 1.0], :y=>[6.77311715080506, 4.862765964855296, 4.13142835150361, 4.472879140134292, 6.59712986410501, 4.581611643903291, 3.732699233243934, 3.3187335628025205, 3.514708853058782, 4.628537440947461, 3.0572774512304406, 5.310455588442985, 3.2195080414253963, 5.508880810199349, 4.079165256692786, 5.144490489745197, 5.087503837699314, 6.662864395553022, 5.483400490383898, 6.2328950486666255, 6.322765720406402, 5.526923555372802, 4.16061793970762, 6.088249600149483, 3.5018686225984106, 4.946459566075038, 6.262236327371372, 3.34114474449722, 3.8219300015718876, 6.315086432207746, 4.4222109816989015, 3.293453780418781, 3.4266982295548094, 6.795912383470517, 3.806362754241208, 6.525504377480084, 3.711796659136092, 5.466409909504149, 6.907469414115759, 3.9719619934968544, 3.6170069436245633, 6.677747361952273, 5.0215441055200625, 5.449361223852634, 5.205348702752944, 4.8313217488121065, 4.577881215875594, 5.39857266789679, 5.650277691412304, 4.207490301347633, 5.384928342509909, 5.4228356432784395, 3.604462119954402, 6.63007621597188, 4.944803950358495, 3.1187056044625483, 4.6900366441183845, 4.8037917898775735, 3.2810453262061126, 5.152617488407588, 4.9613246386880485, 6.589949076774452, 4.272857036948782, 4.376334785729922, 6.164340938513066, 5.816620958760915, 4.207286847990619, 5.9027685322685635, 6.012038460114505, 3.0298961869363588, 5.944855980400082, 4.277758706768546, 6.170483345532586, 3.2845989481724693, 3.9965460445434937, 6.79088944285402, 6.305277279551269, 6.990476823897151, 4.949469499114802, 6.577883393953493, 6.161702137067484, 5.285744641961875, 5.49711766662192, 5.177694032263164, 4.251220447376818, 3.113140026042313, 5.783385159954685, 3.238061177738049, 4.120580345684331, 6.931017288113543, 6.011796291756263, 6.9517494903724755, 4.7292782340504775, 5.647087277451479, 3.887764966738919, 4.950517367118577, 6.308283654337372, 6.180046956438597, 3.0513566525381157, 3.768961668864381], :type=>:scatter, :mode=>:markers}, {:x=>[0.0, 0.010101010101010102, 0.020202020202020204, 0.030303030303030304, 0.04040404040404041, 0.050505050505050504, 0.06060606060606061, 0.0707070707070707, 0.08080808080808081, 0.09090909090909091, 0.10101010101010101, 0.1111111111111111, 0.12121212121212122, 0.13131313131313133, 0.1414141414141414, 0.15151515151515152, 0.16161616161616163, 0.1717171717171717, 0.18181818181818182, 0.1919191919191919, 0.20202020202020202, 0.21212121212121213, 0.2222222222222222, 0.23232323232323232, 0.24242424242424243, 0.25252525252525254, 0.26262626262626265, 0.2727272727272727, 0.2828282828282828, 0.29292929292929293, 0.30303030303030304, 0.31313131313131315, 0.32323232323232326, 0.3333333333333333, 0.3434343434343434, 0.35353535353535354, 0.36363636363636365, 0.37373737373737376, 0.3838383838383838, 0.3939393939393939, 0.40404040404040403, 0.41414141414141414, 0.42424242424242425, 0.43434343434343436, 0.4444444444444444, 0.45454545454545453, 0.46464646464646464, 0.47474747474747475, 0.48484848484848486, 0.494949494949495, 0.5050505050505051, 0.5151515151515151, 0.5252525252525253, 0.5353535353535354, 0.5454545454545454, 0.5555555555555556, 0.5656565656565656, 0.5757575757575758, 0.5858585858585859, 0.5959595959595959, 0.6060606060606061, 0.6161616161616161, 0.6262626262626263, 0.6363636363636364, 0.6464646464646465, 0.6565656565656566, 0.6666666666666666, 0.6767676767676768, 0.6868686868686869, 0.696969696969697, 0.7070707070707071, 0.7171717171717171, 0.7272727272727273, 0.7373737373737373, 0.7474747474747475, 0.7575757575757576, 0.7676767676767676, 0.7777777777777778, 0.7878787878787878, 0.797979797979798, 0.8080808080808081, 0.8181818181818182, 0.8282828282828283, 0.8383838383838383, 0.8484848484848485, 0.8585858585858586, 0.8686868686868687, 0.8787878787878788, 0.8888888888888888, 0.898989898989899, 0.9090909090909091, 0.9191919191919192, 0.9292929292929293, 0.9393939393939394, 0.9494949494949495, 0.9595959595959596, 0.9696969696969697, 0.9797979797979798, 0.98989898989899, 1.0], :y=>[-0.3232758959890951, 0.4970899355553401, 0.44580438294604785, 0.22282666560072417, 0.12703635909022337, 0.3456844063472898, -0.33137320867313524, 0.21374727733358878, 0.09019084088863194, -0.07828103511131257, 0.11818140562358637, 0.4272277810810994, -0.03561356188099385, -0.3434670471909461, -0.15441368070673223, 0.4389207489024166, -0.426092981190782, -0.05380118340131901, 0.28559718846282, -0.14375100573294086, 0.3805021888930167, -0.21313907659185227, 0.3317363568334334, 0.043720004132245416, 0.3385507311363235, -0.3353926890263679, 0.4548490493897521, -0.01912803436170163, 0.11242276332062229, 0.43577114881048107, -0.11751025750114097, -0.16136173282450217, 0.2624780071814047, -0.45180056620937326, -0.16006360685277488, -0.16251140528885422, 0.4903074614775397, 0.12150233210233363, -0.14483220560150611, -0.30705614974414486, -0.2995249792105883, 0.39615142135164494, 0.2773298630939377, -0.33218218441388114, -0.1459411809357657, 0.26788450414886245, 0.39478091637643364, -0.1285213470719101, 0.4388783001516544, -0.25053749948666426, 0.2299278509161916, 0.0031951945713151186, 0.4950458782762306, 0.2996194766785414, 0.30357480618776755, 0.12284737965102088, 0.22672540838058264, -0.49441378767479127, 0.13997949874714333, 0.20297488100662697, -0.09180582878714005, 0.48403708564866166, -0.3647509348411496, 0.34962860591895784, -0.31627892268415014, -0.0803803306066112, -0.22892199408312386, 0.37197501974988845, 0.34157035563814586, 0.4580645660977263, -0.17860377020291196, -0.3358840997156075, 0.48618731667749526, -0.31731144800911437, 0.293577228357466, 0.28512440957105634, -0.0696911314205142, -0.21765739644286886, 0.2272563357891796, -0.48669044359902114, -0.02978911562197728, -0.02411438111270403, 0.3200812721047154, 0.43591726876951487, 0.24606053395619543, 0.10820705760286786, 0.10392345906011524, -0.13637797972818855, -0.39197245334844943, 0.4735280906807313, 0.14094063653786293, 0.4660935792863511, 0.10419400195156325, -0.27382310522488906, 0.12707720874721307, -0.4903762719072222, 0.4587878771719298, -0.08868757443663533, 0.2604772137426018, -0.3223224415138706], :type=>:scatter, :mode=>:\"markers+lines\"}, {:x=>[0.0, 0.010101010101010102, 0.020202020202020204, 0.030303030303030304, 0.04040404040404041, 0.050505050505050504, 0.06060606060606061, 0.0707070707070707, 0.08080808080808081, 0.09090909090909091, 0.10101010101010101, 0.1111111111111111, 0.12121212121212122, 0.13131313131313133, 0.1414141414141414, 0.15151515151515152, 0.16161616161616163, 0.1717171717171717, 0.18181818181818182, 0.1919191919191919, 0.20202020202020202, 0.21212121212121213, 0.2222222222222222, 0.23232323232323232, 0.24242424242424243, 0.25252525252525254, 0.26262626262626265, 0.2727272727272727, 0.2828282828282828, 0.29292929292929293, 0.30303030303030304, 0.31313131313131315, 0.32323232323232326, 0.3333333333333333, 0.3434343434343434, 0.35353535353535354, 0.36363636363636365, 0.37373737373737376, 0.3838383838383838, 0.3939393939393939, 0.40404040404040403, 0.41414141414141414, 0.42424242424242425, 0.43434343434343436, 0.4444444444444444, 0.45454545454545453, 0.46464646464646464, 0.47474747474747475, 0.48484848484848486, 0.494949494949495, 0.5050505050505051, 0.5151515151515151, 0.5252525252525253, 0.5353535353535354, 0.5454545454545454, 0.5555555555555556, 0.5656565656565656, 0.5757575757575758, 0.5858585858585859, 0.5959595959595959, 0.6060606060606061, 0.6161616161616161, 0.6262626262626263, 0.6363636363636364, 0.6464646464646465, 0.6565656565656566, 0.6666666666666666, 0.6767676767676768, 0.6868686868686869, 0.696969696969697, 0.7070707070707071, 0.7171717171717171, 0.7272727272727273, 0.7373737373737373, 0.7474747474747475, 0.7575757575757576, 0.7676767676767676, 0.7777777777777778, 0.7878787878787878, 0.797979797979798, 0.8080808080808081, 0.8181818181818182, 0.8282828282828283, 0.8383838383838383, 0.8484848484848485, 0.8585858585858586, 0.8686868686868687, 0.8787878787878788, 0.8888888888888888, 0.898989898989899, 0.9090909090909091, 0.9191919191919192, 0.9292929292929293, 0.9393939393939394, 0.9494949494949495, 0.9595959595959596, 0.9696969696969697, 0.9797979797979798, 0.98989898989899, 1.0], :y=>[-6.6874262296932265, -6.829432052835984, -5.59047424597267, -5.976489276423312, -4.092367256965065, -5.39307510118236, -3.8068982200237405, -6.136107228509367, -6.8151973565730835, -5.565382391195958, -4.375895949455578, -3.760485858791113, -6.754688084466551, -4.824300563427634, -5.52595062102378, -6.3378335471294065, -3.0543125714811343, -4.278900099708506, -5.93067963794472, -5.205126522921306, -5.601768595846629, -6.026465236007853, -6.4067420272520685, -3.2391493065309773, -4.7845855803951896, -5.620443521674236, -6.206620299811739, -3.922902267631179, -5.222985143545303, -5.457385208084562, -5.987533200307928, -5.060010070944687, -5.397620122651418, -6.284712179274461, -6.735000931752831, -4.278629421069374, -4.504010851830566, -5.342444697768789, -5.394766221356312, -4.192741901590026, -3.0595709454141926, -6.237011775415116, -6.973987824318379, -4.913783865369675, -5.903520774897731, -4.59421995659088, -4.1225265289804796, -6.457966507538131, -4.316637957697737, -4.561861594291388, -4.854520669675028, -3.5039242191286855, -5.563932284038044, -5.302468610986621, -3.8052487115358793, -3.8238669206711977, -6.584415034037431, -3.7905660264284458, -6.723591254224798, -5.185983197329615, -5.080968383764003, -5.027094466810981, -4.549936169811947, -5.148343674515804, -4.196708837755386, -3.9297365794350414, -4.090058809327308, -5.336733025546682, -6.700419393945597, -3.475329954811489, -4.5526066273919685, -6.923105108682796, -6.889478899787659, -3.996657727916245, -6.9071135321281245, -6.416445251691865, -5.665207227760563, -3.1665468802822394, -5.830304890120358, -3.5972075432894592, -5.802575876111328, -4.100514049482162, -6.38197066692527, -6.702626553059812, -3.9790242842492933, -5.619991927686209, -4.926367217010969, -3.4943559861736206, -6.369451249168813, -6.619621430213733, -3.6419335595990563, -6.544142701924831, -5.0609703774673305, -4.915198629335233, -4.878808909841706, -6.441541961605298, -5.9779498830067395, -6.064884480030446, -3.8194230353612935, -3.1135425526321128], :type=>:scatter, :mode=>:lines}], @layout={}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
|
141
|
-
]
|
|
142
|
-
},
|
|
143
|
-
"metadata": {},
|
|
144
|
-
"output_type": "display_data"
|
|
145
|
-
}
|
|
146
|
-
],
|
|
147
|
-
"source": [
|
|
148
|
-
"new_trace = { x: x, y: n.times.map { rand(-2.0..2.0) - 5 }, type: :scatter, mode: :lines }\n",
|
|
149
|
-
"plot.data.push(new_trace)\n",
|
|
150
|
-
"plot.show"
|
|
151
|
-
]
|
|
152
|
-
},
|
|
153
|
-
{
|
|
154
|
-
"cell_type": "code",
|
|
155
|
-
"execution_count": 4,
|
|
156
|
-
"metadata": {
|
|
157
|
-
"collapsed": false,
|
|
158
|
-
"scrolled": true
|
|
159
|
-
},
|
|
160
|
-
"outputs": [
|
|
161
|
-
{
|
|
162
|
-
"data": {
|
|
163
|
-
"text/html": [
|
|
164
|
-
"\n",
|
|
165
|
-
" <script>\n",
|
|
166
|
-
" requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})\n",
|
|
167
|
-
" </script>\n",
|
|
168
|
-
"\n",
|
|
169
|
-
"\n",
|
|
170
|
-
"<div id=\"7f706e61-4b95-4c1b-85a6-74201e0b296c\" style=\"height: 100%; width: 100%;\"></div>\n",
|
|
171
|
-
"\n",
|
|
172
|
-
"<script>\n",
|
|
173
|
-
" require(['plotly'], function(Plotly) { \n",
|
|
174
|
-
"Plotly.newPlot(\n",
|
|
175
|
-
" '7f706e61-4b95-4c1b-85a6-74201e0b296c',\n",
|
|
176
|
-
" [{\"x\":[0.0,0.010101010101010102,0.020202020202020204,0.030303030303030304,0.04040404040404041,0.050505050505050504,0.06060606060606061,0.0707070707070707,0.08080808080808081,0.09090909090909091,0.10101010101010101,0.1111111111111111,0.12121212121212122,0.13131313131313133,0.1414141414141414,0.15151515151515152,0.16161616161616163,0.1717171717171717,0.18181818181818182,0.1919191919191919,0.20202020202020202,0.21212121212121213,0.2222222222222222,0.23232323232323232,0.24242424242424243,0.25252525252525254,0.26262626262626265,0.2727272727272727,0.2828282828282828,0.29292929292929293,0.30303030303030304,0.31313131313131315,0.32323232323232326,0.3333333333333333,0.3434343434343434,0.35353535353535354,0.36363636363636365,0.37373737373737376,0.3838383838383838,0.3939393939393939,0.40404040404040403,0.41414141414141414,0.42424242424242425,0.43434343434343436,0.4444444444444444,0.45454545454545453,0.46464646464646464,0.47474747474747475,0.48484848484848486,0.494949494949495,0.5050505050505051,0.5151515151515151,0.5252525252525253,0.5353535353535354,0.5454545454545454,0.5555555555555556,0.5656565656565656,0.5757575757575758,0.5858585858585859,0.5959595959595959,0.6060606060606061,0.6161616161616161,0.6262626262626263,0.6363636363636364,0.6464646464646465,0.6565656565656566,0.6666666666666666,0.6767676767676768,0.6868686868686869,0.696969696969697,0.7070707070707071,0.7171717171717171,0.7272727272727273,0.7373737373737373,0.7474747474747475,0.7575757575757576,0.7676767676767676,0.7777777777777778,0.7878787878787878,0.797979797979798,0.8080808080808081,0.8181818181818182,0.8282828282828283,0.8383838383838383,0.8484848484848485,0.8585858585858586,0.8686868686868687,0.8787878787878788,0.8888888888888888,0.898989898989899,0.9090909090909091,0.9191919191919192,0.9292929292929293,0.9393939393939394,0.9494949494949495,0.9595959595959596,0.9696969696969697,0.9797979797979798,0.98989898989899,1.0],\"y\":[6.77311715080506,4.862765964855296,4.13142835150361,4.472879140134292,6.59712986410501,4.581611643903291,3.732699233243934,3.3187335628025205,3.514708853058782,4.628537440947461,3.0572774512304406,5.310455588442985,3.2195080414253963,5.508880810199349,4.079165256692786,5.144490489745197,5.087503837699314,6.662864395553022,5.483400490383898,6.2328950486666255,6.322765720406402,5.526923555372802,4.16061793970762,6.088249600149483,3.5018686225984106,4.946459566075038,6.262236327371372,3.34114474449722,3.8219300015718876,6.315086432207746,4.4222109816989015,3.293453780418781,3.4266982295548094,6.795912383470517,3.806362754241208,6.525504377480084,3.711796659136092,5.466409909504149,6.907469414115759,3.9719619934968544,3.6170069436245633,6.677747361952273,5.0215441055200625,5.449361223852634,5.205348702752944,4.8313217488121065,4.577881215875594,5.39857266789679,5.650277691412304,4.207490301347633,5.384928342509909,5.4228356432784395,3.604462119954402,6.63007621597188,4.944803950358495,3.1187056044625483,4.6900366441183845,4.8037917898775735,3.2810453262061126,5.152617488407588,4.9613246386880485,6.589949076774452,4.272857036948782,4.376334785729922,6.164340938513066,5.816620958760915,4.207286847990619,5.9027685322685635,6.012038460114505,3.0298961869363588,5.944855980400082,4.277758706768546,6.170483345532586,3.2845989481724693,3.9965460445434937,6.79088944285402,6.305277279551269,6.990476823897151,4.949469499114802,6.577883393953493,6.161702137067484,5.285744641961875,5.49711766662192,5.177694032263164,4.251220447376818,3.113140026042313,5.783385159954685,3.238061177738049,4.120580345684331,6.931017288113543,6.011796291756263,6.9517494903724755,4.7292782340504775,5.647087277451479,3.887764966738919,4.950517367118577,6.308283654337372,6.180046956438597,3.0513566525381157,3.768961668864381],\"type\":\"scatter\",\"mode\":\"markers\"},{\"x\":[0.0,0.010101010101010102,0.020202020202020204,0.030303030303030304,0.04040404040404041,0.050505050505050504,0.06060606060606061,0.0707070707070707,0.08080808080808081,0.09090909090909091,0.10101010101010101,0.1111111111111111,0.12121212121212122,0.13131313131313133,0.1414141414141414,0.15151515151515152,0.16161616161616163,0.1717171717171717,0.18181818181818182,0.1919191919191919,0.20202020202020202,0.21212121212121213,0.2222222222222222,0.23232323232323232,0.24242424242424243,0.25252525252525254,0.26262626262626265,0.2727272727272727,0.2828282828282828,0.29292929292929293,0.30303030303030304,0.31313131313131315,0.32323232323232326,0.3333333333333333,0.3434343434343434,0.35353535353535354,0.36363636363636365,0.37373737373737376,0.3838383838383838,0.3939393939393939,0.40404040404040403,0.41414141414141414,0.42424242424242425,0.43434343434343436,0.4444444444444444,0.45454545454545453,0.46464646464646464,0.47474747474747475,0.48484848484848486,0.494949494949495,0.5050505050505051,0.5151515151515151,0.5252525252525253,0.5353535353535354,0.5454545454545454,0.5555555555555556,0.5656565656565656,0.5757575757575758,0.5858585858585859,0.5959595959595959,0.6060606060606061,0.6161616161616161,0.6262626262626263,0.6363636363636364,0.6464646464646465,0.6565656565656566,0.6666666666666666,0.6767676767676768,0.6868686868686869,0.696969696969697,0.7070707070707071,0.7171717171717171,0.7272727272727273,0.7373737373737373,0.7474747474747475,0.7575757575757576,0.7676767676767676,0.7777777777777778,0.7878787878787878,0.797979797979798,0.8080808080808081,0.8181818181818182,0.8282828282828283,0.8383838383838383,0.8484848484848485,0.8585858585858586,0.8686868686868687,0.8787878787878788,0.8888888888888888,0.898989898989899,0.9090909090909091,0.9191919191919192,0.9292929292929293,0.9393939393939394,0.9494949494949495,0.9595959595959596,0.9696969696969697,0.9797979797979798,0.98989898989899,1.0],\"y\":[-0.3232758959890951,0.4970899355553401,0.44580438294604785,0.22282666560072417,0.12703635909022337,0.3456844063472898,-0.33137320867313524,0.21374727733358878,0.09019084088863194,-0.07828103511131257,0.11818140562358637,0.4272277810810994,-0.03561356188099385,-0.3434670471909461,-0.15441368070673223,0.4389207489024166,-0.426092981190782,-0.05380118340131901,0.28559718846282,-0.14375100573294086,0.3805021888930167,-0.21313907659185227,0.3317363568334334,0.043720004132245416,0.3385507311363235,-0.3353926890263679,0.4548490493897521,-0.01912803436170163,0.11242276332062229,0.43577114881048107,-0.11751025750114097,-0.16136173282450217,0.2624780071814047,-0.45180056620937326,-0.16006360685277488,-0.16251140528885422,0.4903074614775397,0.12150233210233363,-0.14483220560150611,-0.30705614974414486,-0.2995249792105883,0.39615142135164494,0.2773298630939377,-0.33218218441388114,-0.1459411809357657,0.26788450414886245,0.39478091637643364,-0.1285213470719101,0.4388783001516544,-0.25053749948666426,0.2299278509161916,0.0031951945713151186,0.4950458782762306,0.2996194766785414,0.30357480618776755,0.12284737965102088,0.22672540838058264,-0.49441378767479127,0.13997949874714333,0.20297488100662697,-0.09180582878714005,0.48403708564866166,-0.3647509348411496,0.34962860591895784,-0.31627892268415014,-0.0803803306066112,-0.22892199408312386,0.37197501974988845,0.34157035563814586,0.4580645660977263,-0.17860377020291196,-0.3358840997156075,0.48618731667749526,-0.31731144800911437,0.293577228357466,0.28512440957105634,-0.0696911314205142,-0.21765739644286886,0.2272563357891796,-0.48669044359902114,-0.02978911562197728,-0.02411438111270403,0.3200812721047154,0.43591726876951487,0.24606053395619543,0.10820705760286786,0.10392345906011524,-0.13637797972818855,-0.39197245334844943,0.4735280906807313,0.14094063653786293,0.4660935792863511,0.10419400195156325,-0.27382310522488906,0.12707720874721307,-0.4903762719072222,0.4587878771719298,-0.08868757443663533,0.2604772137426018,-0.3223224415138706],\"type\":\"scatter\",\"mode\":\"markers+lines\"},{\"x\":[0.0,0.010101010101010102,0.020202020202020204,0.030303030303030304,0.04040404040404041,0.050505050505050504,0.06060606060606061,0.0707070707070707,0.08080808080808081,0.09090909090909091,0.10101010101010101,0.1111111111111111,0.12121212121212122,0.13131313131313133,0.1414141414141414,0.15151515151515152,0.16161616161616163,0.1717171717171717,0.18181818181818182,0.1919191919191919,0.20202020202020202,0.21212121212121213,0.2222222222222222,0.23232323232323232,0.24242424242424243,0.25252525252525254,0.26262626262626265,0.2727272727272727,0.2828282828282828,0.29292929292929293,0.30303030303030304,0.31313131313131315,0.32323232323232326,0.3333333333333333,0.3434343434343434,0.35353535353535354,0.36363636363636365,0.37373737373737376,0.3838383838383838,0.3939393939393939,0.40404040404040403,0.41414141414141414,0.42424242424242425,0.43434343434343436,0.4444444444444444,0.45454545454545453,0.46464646464646464,0.47474747474747475,0.48484848484848486,0.494949494949495,0.5050505050505051,0.5151515151515151,0.5252525252525253,0.5353535353535354,0.5454545454545454,0.5555555555555556,0.5656565656565656,0.5757575757575758,0.5858585858585859,0.5959595959595959,0.6060606060606061,0.6161616161616161,0.6262626262626263,0.6363636363636364,0.6464646464646465,0.6565656565656566,0.6666666666666666,0.6767676767676768,0.6868686868686869,0.696969696969697,0.7070707070707071,0.7171717171717171,0.7272727272727273,0.7373737373737373,0.7474747474747475,0.7575757575757576,0.7676767676767676,0.7777777777777778,0.7878787878787878,0.797979797979798,0.8080808080808081,0.8181818181818182,0.8282828282828283,0.8383838383838383,0.8484848484848485,0.8585858585858586,0.8686868686868687,0.8787878787878788,0.8888888888888888,0.898989898989899,0.9090909090909091,0.9191919191919192,0.9292929292929293,0.9393939393939394,0.9494949494949495,0.9595959595959596,0.9696969696969697,0.9797979797979798,0.98989898989899,1.0],\"y\":[-6.6874262296932265,-6.829432052835984,-5.59047424597267,-5.976489276423312,-4.092367256965065,-5.39307510118236,-3.8068982200237405,-6.136107228509367,-6.8151973565730835,-5.565382391195958,-4.375895949455578,-3.760485858791113,-6.754688084466551,-4.824300563427634,-5.52595062102378,-6.3378335471294065,-3.0543125714811343,-4.278900099708506,-5.93067963794472,-5.205126522921306,-5.601768595846629,-6.026465236007853,-6.4067420272520685,-3.2391493065309773,-4.7845855803951896,-5.620443521674236,-6.206620299811739,-3.922902267631179,-5.222985143545303,-5.457385208084562,-5.987533200307928,-5.060010070944687,-5.397620122651418,-6.284712179274461,-6.735000931752831,-4.278629421069374,-4.504010851830566,-5.342444697768789,-5.394766221356312,-4.192741901590026,-3.0595709454141926,-6.237011775415116,-6.973987824318379,-4.913783865369675,-5.903520774897731,-4.59421995659088,-4.1225265289804796,-6.457966507538131,-4.316637957697737,-4.561861594291388,-4.854520669675028,-3.5039242191286855,-5.563932284038044,-5.302468610986621,-3.8052487115358793,-3.8238669206711977,-6.584415034037431,-3.7905660264284458,-6.723591254224798,-5.185983197329615,-5.080968383764003,-5.027094466810981,-4.549936169811947,-5.148343674515804,-4.196708837755386,-3.9297365794350414,-4.090058809327308,-5.336733025546682,-6.700419393945597,-3.475329954811489,-4.5526066273919685,-6.923105108682796,-6.889478899787659,-3.996657727916245,-6.9071135321281245,-6.416445251691865,-5.665207227760563,-3.1665468802822394,-5.830304890120358,-3.5972075432894592,-5.802575876111328,-4.100514049482162,-6.38197066692527,-6.702626553059812,-3.9790242842492933,-5.619991927686209,-4.926367217010969,-3.4943559861736206,-6.369451249168813,-6.619621430213733,-3.6419335595990563,-6.544142701924831,-5.0609703774673305,-4.915198629335233,-4.878808909841706,-6.441541961605298,-5.9779498830067395,-6.064884480030446,-3.8194230353612935,-3.1135425526321128],\"type\":\"scatter\",\"mode\":\"lines\"}],\n",
|
|
177
|
-
" {\"xaxis\":{\"title\":\"x title\"},\"yaxis\":{\"title\":\"y title\"}},\n",
|
|
178
|
-
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
|
179
|
-
")\n",
|
|
180
|
-
"\n",
|
|
181
|
-
"window.addEventListener('resize', function() {\n",
|
|
182
|
-
" Plotly.Plots.resize(document.getElementById('7f706e61-4b95-4c1b-85a6-74201e0b296c'))\n",
|
|
183
|
-
"})\n",
|
|
184
|
-
" }) \n",
|
|
185
|
-
"</script>"
|
|
186
|
-
],
|
|
187
|
-
"text/plain": [
|
|
188
|
-
"#<Plotly::Offline::HTML:0x007fcea3f8ace0 @id=\"7f706e61-4b95-4c1b-85a6-74201e0b296c\", @data=[{:x=>[0.0, 0.010101010101010102, 0.020202020202020204, 0.030303030303030304, 0.04040404040404041, 0.050505050505050504, 0.06060606060606061, 0.0707070707070707, 0.08080808080808081, 0.09090909090909091, 0.10101010101010101, 0.1111111111111111, 0.12121212121212122, 0.13131313131313133, 0.1414141414141414, 0.15151515151515152, 0.16161616161616163, 0.1717171717171717, 0.18181818181818182, 0.1919191919191919, 0.20202020202020202, 0.21212121212121213, 0.2222222222222222, 0.23232323232323232, 0.24242424242424243, 0.25252525252525254, 0.26262626262626265, 0.2727272727272727, 0.2828282828282828, 0.29292929292929293, 0.30303030303030304, 0.31313131313131315, 0.32323232323232326, 0.3333333333333333, 0.3434343434343434, 0.35353535353535354, 0.36363636363636365, 0.37373737373737376, 0.3838383838383838, 0.3939393939393939, 0.40404040404040403, 0.41414141414141414, 0.42424242424242425, 0.43434343434343436, 0.4444444444444444, 0.45454545454545453, 0.46464646464646464, 0.47474747474747475, 0.48484848484848486, 0.494949494949495, 0.5050505050505051, 0.5151515151515151, 0.5252525252525253, 0.5353535353535354, 0.5454545454545454, 0.5555555555555556, 0.5656565656565656, 0.5757575757575758, 0.5858585858585859, 0.5959595959595959, 0.6060606060606061, 0.6161616161616161, 0.6262626262626263, 0.6363636363636364, 0.6464646464646465, 0.6565656565656566, 0.6666666666666666, 0.6767676767676768, 0.6868686868686869, 0.696969696969697, 0.7070707070707071, 0.7171717171717171, 0.7272727272727273, 0.7373737373737373, 0.7474747474747475, 0.7575757575757576, 0.7676767676767676, 0.7777777777777778, 0.7878787878787878, 0.797979797979798, 0.8080808080808081, 0.8181818181818182, 0.8282828282828283, 0.8383838383838383, 0.8484848484848485, 0.8585858585858586, 0.8686868686868687, 0.8787878787878788, 0.8888888888888888, 0.898989898989899, 0.9090909090909091, 0.9191919191919192, 0.9292929292929293, 0.9393939393939394, 0.9494949494949495, 0.9595959595959596, 0.9696969696969697, 0.9797979797979798, 0.98989898989899, 1.0], :y=>[6.77311715080506, 4.862765964855296, 4.13142835150361, 4.472879140134292, 6.59712986410501, 4.581611643903291, 3.732699233243934, 3.3187335628025205, 3.514708853058782, 4.628537440947461, 3.0572774512304406, 5.310455588442985, 3.2195080414253963, 5.508880810199349, 4.079165256692786, 5.144490489745197, 5.087503837699314, 6.662864395553022, 5.483400490383898, 6.2328950486666255, 6.322765720406402, 5.526923555372802, 4.16061793970762, 6.088249600149483, 3.5018686225984106, 4.946459566075038, 6.262236327371372, 3.34114474449722, 3.8219300015718876, 6.315086432207746, 4.4222109816989015, 3.293453780418781, 3.4266982295548094, 6.795912383470517, 3.806362754241208, 6.525504377480084, 3.711796659136092, 5.466409909504149, 6.907469414115759, 3.9719619934968544, 3.6170069436245633, 6.677747361952273, 5.0215441055200625, 5.449361223852634, 5.205348702752944, 4.8313217488121065, 4.577881215875594, 5.39857266789679, 5.650277691412304, 4.207490301347633, 5.384928342509909, 5.4228356432784395, 3.604462119954402, 6.63007621597188, 4.944803950358495, 3.1187056044625483, 4.6900366441183845, 4.8037917898775735, 3.2810453262061126, 5.152617488407588, 4.9613246386880485, 6.589949076774452, 4.272857036948782, 4.376334785729922, 6.164340938513066, 5.816620958760915, 4.207286847990619, 5.9027685322685635, 6.012038460114505, 3.0298961869363588, 5.944855980400082, 4.277758706768546, 6.170483345532586, 3.2845989481724693, 3.9965460445434937, 6.79088944285402, 6.305277279551269, 6.990476823897151, 4.949469499114802, 6.577883393953493, 6.161702137067484, 5.285744641961875, 5.49711766662192, 5.177694032263164, 4.251220447376818, 3.113140026042313, 5.783385159954685, 3.238061177738049, 4.120580345684331, 6.931017288113543, 6.011796291756263, 6.9517494903724755, 4.7292782340504775, 5.647087277451479, 3.887764966738919, 4.950517367118577, 6.308283654337372, 6.180046956438597, 3.0513566525381157, 3.768961668864381], :type=>:scatter, :mode=>:markers}, {:x=>[0.0, 0.010101010101010102, 0.020202020202020204, 0.030303030303030304, 0.04040404040404041, 0.050505050505050504, 0.06060606060606061, 0.0707070707070707, 0.08080808080808081, 0.09090909090909091, 0.10101010101010101, 0.1111111111111111, 0.12121212121212122, 0.13131313131313133, 0.1414141414141414, 0.15151515151515152, 0.16161616161616163, 0.1717171717171717, 0.18181818181818182, 0.1919191919191919, 0.20202020202020202, 0.21212121212121213, 0.2222222222222222, 0.23232323232323232, 0.24242424242424243, 0.25252525252525254, 0.26262626262626265, 0.2727272727272727, 0.2828282828282828, 0.29292929292929293, 0.30303030303030304, 0.31313131313131315, 0.32323232323232326, 0.3333333333333333, 0.3434343434343434, 0.35353535353535354, 0.36363636363636365, 0.37373737373737376, 0.3838383838383838, 0.3939393939393939, 0.40404040404040403, 0.41414141414141414, 0.42424242424242425, 0.43434343434343436, 0.4444444444444444, 0.45454545454545453, 0.46464646464646464, 0.47474747474747475, 0.48484848484848486, 0.494949494949495, 0.5050505050505051, 0.5151515151515151, 0.5252525252525253, 0.5353535353535354, 0.5454545454545454, 0.5555555555555556, 0.5656565656565656, 0.5757575757575758, 0.5858585858585859, 0.5959595959595959, 0.6060606060606061, 0.6161616161616161, 0.6262626262626263, 0.6363636363636364, 0.6464646464646465, 0.6565656565656566, 0.6666666666666666, 0.6767676767676768, 0.6868686868686869, 0.696969696969697, 0.7070707070707071, 0.7171717171717171, 0.7272727272727273, 0.7373737373737373, 0.7474747474747475, 0.7575757575757576, 0.7676767676767676, 0.7777777777777778, 0.7878787878787878, 0.797979797979798, 0.8080808080808081, 0.8181818181818182, 0.8282828282828283, 0.8383838383838383, 0.8484848484848485, 0.8585858585858586, 0.8686868686868687, 0.8787878787878788, 0.8888888888888888, 0.898989898989899, 0.9090909090909091, 0.9191919191919192, 0.9292929292929293, 0.9393939393939394, 0.9494949494949495, 0.9595959595959596, 0.9696969696969697, 0.9797979797979798, 0.98989898989899, 1.0], :y=>[-0.3232758959890951, 0.4970899355553401, 0.44580438294604785, 0.22282666560072417, 0.12703635909022337, 0.3456844063472898, -0.33137320867313524, 0.21374727733358878, 0.09019084088863194, -0.07828103511131257, 0.11818140562358637, 0.4272277810810994, -0.03561356188099385, -0.3434670471909461, -0.15441368070673223, 0.4389207489024166, -0.426092981190782, -0.05380118340131901, 0.28559718846282, -0.14375100573294086, 0.3805021888930167, -0.21313907659185227, 0.3317363568334334, 0.043720004132245416, 0.3385507311363235, -0.3353926890263679, 0.4548490493897521, -0.01912803436170163, 0.11242276332062229, 0.43577114881048107, -0.11751025750114097, -0.16136173282450217, 0.2624780071814047, -0.45180056620937326, -0.16006360685277488, -0.16251140528885422, 0.4903074614775397, 0.12150233210233363, -0.14483220560150611, -0.30705614974414486, -0.2995249792105883, 0.39615142135164494, 0.2773298630939377, -0.33218218441388114, -0.1459411809357657, 0.26788450414886245, 0.39478091637643364, -0.1285213470719101, 0.4388783001516544, -0.25053749948666426, 0.2299278509161916, 0.0031951945713151186, 0.4950458782762306, 0.2996194766785414, 0.30357480618776755, 0.12284737965102088, 0.22672540838058264, -0.49441378767479127, 0.13997949874714333, 0.20297488100662697, -0.09180582878714005, 0.48403708564866166, -0.3647509348411496, 0.34962860591895784, -0.31627892268415014, -0.0803803306066112, -0.22892199408312386, 0.37197501974988845, 0.34157035563814586, 0.4580645660977263, -0.17860377020291196, -0.3358840997156075, 0.48618731667749526, -0.31731144800911437, 0.293577228357466, 0.28512440957105634, -0.0696911314205142, -0.21765739644286886, 0.2272563357891796, -0.48669044359902114, -0.02978911562197728, -0.02411438111270403, 0.3200812721047154, 0.43591726876951487, 0.24606053395619543, 0.10820705760286786, 0.10392345906011524, -0.13637797972818855, -0.39197245334844943, 0.4735280906807313, 0.14094063653786293, 0.4660935792863511, 0.10419400195156325, -0.27382310522488906, 0.12707720874721307, -0.4903762719072222, 0.4587878771719298, -0.08868757443663533, 0.2604772137426018, -0.3223224415138706], :type=>:scatter, :mode=>:\"markers+lines\"}, {:x=>[0.0, 0.010101010101010102, 0.020202020202020204, 0.030303030303030304, 0.04040404040404041, 0.050505050505050504, 0.06060606060606061, 0.0707070707070707, 0.08080808080808081, 0.09090909090909091, 0.10101010101010101, 0.1111111111111111, 0.12121212121212122, 0.13131313131313133, 0.1414141414141414, 0.15151515151515152, 0.16161616161616163, 0.1717171717171717, 0.18181818181818182, 0.1919191919191919, 0.20202020202020202, 0.21212121212121213, 0.2222222222222222, 0.23232323232323232, 0.24242424242424243, 0.25252525252525254, 0.26262626262626265, 0.2727272727272727, 0.2828282828282828, 0.29292929292929293, 0.30303030303030304, 0.31313131313131315, 0.32323232323232326, 0.3333333333333333, 0.3434343434343434, 0.35353535353535354, 0.36363636363636365, 0.37373737373737376, 0.3838383838383838, 0.3939393939393939, 0.40404040404040403, 0.41414141414141414, 0.42424242424242425, 0.43434343434343436, 0.4444444444444444, 0.45454545454545453, 0.46464646464646464, 0.47474747474747475, 0.48484848484848486, 0.494949494949495, 0.5050505050505051, 0.5151515151515151, 0.5252525252525253, 0.5353535353535354, 0.5454545454545454, 0.5555555555555556, 0.5656565656565656, 0.5757575757575758, 0.5858585858585859, 0.5959595959595959, 0.6060606060606061, 0.6161616161616161, 0.6262626262626263, 0.6363636363636364, 0.6464646464646465, 0.6565656565656566, 0.6666666666666666, 0.6767676767676768, 0.6868686868686869, 0.696969696969697, 0.7070707070707071, 0.7171717171717171, 0.7272727272727273, 0.7373737373737373, 0.7474747474747475, 0.7575757575757576, 0.7676767676767676, 0.7777777777777778, 0.7878787878787878, 0.797979797979798, 0.8080808080808081, 0.8181818181818182, 0.8282828282828283, 0.8383838383838383, 0.8484848484848485, 0.8585858585858586, 0.8686868686868687, 0.8787878787878788, 0.8888888888888888, 0.898989898989899, 0.9090909090909091, 0.9191919191919192, 0.9292929292929293, 0.9393939393939394, 0.9494949494949495, 0.9595959595959596, 0.9696969696969697, 0.9797979797979798, 0.98989898989899, 1.0], :y=>[-6.6874262296932265, -6.829432052835984, -5.59047424597267, -5.976489276423312, -4.092367256965065, -5.39307510118236, -3.8068982200237405, -6.136107228509367, -6.8151973565730835, -5.565382391195958, -4.375895949455578, -3.760485858791113, -6.754688084466551, -4.824300563427634, -5.52595062102378, -6.3378335471294065, -3.0543125714811343, -4.278900099708506, -5.93067963794472, -5.205126522921306, -5.601768595846629, -6.026465236007853, -6.4067420272520685, -3.2391493065309773, -4.7845855803951896, -5.620443521674236, -6.206620299811739, -3.922902267631179, -5.222985143545303, -5.457385208084562, -5.987533200307928, -5.060010070944687, -5.397620122651418, -6.284712179274461, -6.735000931752831, -4.278629421069374, -4.504010851830566, -5.342444697768789, -5.394766221356312, -4.192741901590026, -3.0595709454141926, -6.237011775415116, -6.973987824318379, -4.913783865369675, -5.903520774897731, -4.59421995659088, -4.1225265289804796, -6.457966507538131, -4.316637957697737, -4.561861594291388, -4.854520669675028, -3.5039242191286855, -5.563932284038044, -5.302468610986621, -3.8052487115358793, -3.8238669206711977, -6.584415034037431, -3.7905660264284458, -6.723591254224798, -5.185983197329615, -5.080968383764003, -5.027094466810981, -4.549936169811947, -5.148343674515804, -4.196708837755386, -3.9297365794350414, -4.090058809327308, -5.336733025546682, -6.700419393945597, -3.475329954811489, -4.5526066273919685, -6.923105108682796, -6.889478899787659, -3.996657727916245, -6.9071135321281245, -6.416445251691865, -5.665207227760563, -3.1665468802822394, -5.830304890120358, -3.5972075432894592, -5.802575876111328, -4.100514049482162, -6.38197066692527, -6.702626553059812, -3.9790242842492933, -5.619991927686209, -4.926367217010969, -3.4943559861736206, -6.369451249168813, -6.619621430213733, -3.6419335595990563, -6.544142701924831, -5.0609703774673305, -4.915198629335233, -4.878808909841706, -6.441541961605298, -5.9779498830067395, -6.064884480030446, -3.8194230353612935, -3.1135425526321128], :type=>:scatter, :mode=>:lines}], @layout={:xaxis=>{:title=>\"x title\"}, :yaxis=>{:title=>\"y title\"}}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
|
189
|
-
]
|
|
190
|
-
},
|
|
191
|
-
"metadata": {},
|
|
192
|
-
"output_type": "display_data"
|
|
193
|
-
}
|
|
194
|
-
],
|
|
195
|
-
"source": [
|
|
196
|
-
"plot.layout.xaxis = { title: 'x title' }\n",
|
|
197
|
-
"plot.layout.yaxis = { title: 'y title' }\n",
|
|
198
|
-
"\n",
|
|
199
|
-
"plot.show"
|
|
200
|
-
]
|
|
201
|
-
},
|
|
202
|
-
{
|
|
203
|
-
"cell_type": "code",
|
|
204
|
-
"execution_count": null,
|
|
205
|
-
"metadata": {
|
|
206
|
-
"collapsed": true
|
|
207
|
-
},
|
|
208
|
-
"outputs": [],
|
|
209
|
-
"source": []
|
|
210
|
-
}
|
|
211
|
-
],
|
|
212
|
-
"metadata": {
|
|
213
|
-
"kernelspec": {
|
|
214
|
-
"display_name": "Ruby 2.3.1",
|
|
215
|
-
"language": "ruby",
|
|
216
|
-
"name": "ruby"
|
|
217
|
-
},
|
|
218
|
-
"language_info": {
|
|
219
|
-
"file_extension": ".rb",
|
|
220
|
-
"mimetype": "application/x-ruby",
|
|
221
|
-
"name": "ruby",
|
|
222
|
-
"version": "2.3.1"
|
|
223
|
-
}
|
|
224
|
-
},
|
|
225
|
-
"nbformat": 4,
|
|
226
|
-
"nbformat_minor": 1
|
|
227
|
-
}
|
data/examples/Histograms.ipynb
DELETED
|
@@ -1,79 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"cells": [
|
|
3
|
-
{
|
|
4
|
-
"cell_type": "code",
|
|
5
|
-
"execution_count": 1,
|
|
6
|
-
"metadata": {
|
|
7
|
-
"collapsed": false
|
|
8
|
-
},
|
|
9
|
-
"outputs": [
|
|
10
|
-
{
|
|
11
|
-
"data": {
|
|
12
|
-
"text/html": [
|
|
13
|
-
"\n",
|
|
14
|
-
" <script>\n",
|
|
15
|
-
" requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})\n",
|
|
16
|
-
" </script>\n",
|
|
17
|
-
"\n",
|
|
18
|
-
"\n",
|
|
19
|
-
"<div id=\"8cd9d949-4ada-4cd8-8338-e2e2ee2b9894\" style=\"height: 100%; width: 100%;\"></div>\n",
|
|
20
|
-
"\n",
|
|
21
|
-
"<script>\n",
|
|
22
|
-
" require(['plotly'], function(Plotly) { \n",
|
|
23
|
-
"Plotly.newPlot(\n",
|
|
24
|
-
" '8cd9d949-4ada-4cd8-8338-e2e2ee2b9894',\n",
|
|
25
|
-
" [{\"x\":[0.2942709079419361,0.21075759664424176,0.4507635598118156,0.5323161996836732,0.6158483935534982,0.5617685506761113,0.35638093468678644,0.3074352092618795,0.5258449178776419,0.23494017880585927,0.4214906201632882,0.7193667701902945,0.6053315167489312,0.09477150002187884,0.4314088198988131,0.27960276312421906,0.41168595404290975,0.5953329609033754,0.6488141113825862,0.6410450088742157,0.132768417851155,0.8113876306653193,0.5273586577978917,0.28958212346490253,0.38473122133283955,0.7553623738760905,0.916057071154953,0.9771422921019263,0.0219087343931772,0.959356940593063,0.31496436239305514,0.4929757656826076,0.09275750315650222,0.1901546379163196,0.2863331668936532,0.7814963736183473,0.7119537514573202,0.4452566739637793,0.6364985523353799,0.985505960553461,0.5929799524726765,0.9012967309444065,0.1271205742249878,0.9780643213354355,0.08594175798500059,0.27123583096405957,0.17231648924344356,0.24895388314055777,0.5100325456406406,0.5412226190780236,0.5111980390074985,0.3232401419316209,0.13531428633657716,0.2591334248438265,0.4821708390962126,0.8014878786815782,0.2899575578756306,0.8108883195252004,0.722215430315489,0.009056222905411526,0.48552884977728294,0.33340540359009707,0.8003361642594651,0.8427350029092714,0.37339540802571425,0.541811915189543,0.16120694531201574,0.7720641422417982,0.37137056481474384,0.509624045994267,0.8614811955627087,0.9008755367629196,0.7031515805109934,0.8758201763909,0.029758008062963248,0.9158105445145365,0.5373366017132732,0.3313928741057912,0.2842638793890436,0.9030223662989227,0.16091834803230776,0.7439085852420073,0.6475130418149018,0.277222372740378,0.20605308088701468,0.7076028785986701,0.24821375004977386,0.35076605164148944,0.21775481711911826,0.48863703774176226,0.3240564827407624,0.6569852411086875,0.8646104433302572,0.032628637093236934,0.4183281558685189,0.49152520508373,0.9854387029968675,0.5217709480239929,0.2952470004242418,0.3747243839808386,0.0022222160679797875,0.6079710738932325,0.408837222195892,0.7137510115245531,0.026631069825837184,0.8535186292939572,0.2878963833317988,0.6673978080298499,0.3797394719250412,0.43905894290341696,0.9221967919292648,0.24201261819525344,0.9113120240616012,0.15844090140797495,0.2296107202886991,0.32951316125944863,0.3832833309853714,0.8825125009427446,0.023803239891589056,0.3815298434084522,0.4396209521854534,0.01677209901187504,0.7129563665098051,0.8935827919706518,0.8836885104189789,0.5586933037337863,0.4631678740951215,0.2511454740364518,0.9126451540069624,0.5748456932188779,0.18541335074790866,0.6068470030767213,0.4623586525738892,0.31081955843779097,0.16518377979946153,0.9819362270306423,0.6645902067860189,0.6292367200209642,0.11814669866048932,0.6327028775036166,0.07682728452371301,0.5442762713814352,0.9129196111200293,0.6737269515014628,0.03603614772157482,0.5053681219718107,0.29370477336711054,0.18177236613304792,0.2554415598717049,0.2524982631580386,0.5726274776391082,0.20500109424473656,0.8049705018094359,0.35001086160422756,0.6963830934214947,0.9465031779055827,0.8129040125680941,0.5048075563682233,0.8608021523080329,0.6284187168241879,0.9349856967094302,0.9930549237820306,0.26343920418020805,0.6943739359274025,0.09823233938873932,0.7534403691965718,0.7398552475673881,0.1555710404799937,0.1484835805875444,0.38080622222386384,0.6713646870213317,0.5472395092483366,0.08423003327212197,0.6466004957425141,0.27150872574666385,0.4829323271794369,0.31210043906079965,0.3249582842593215,0.290427691449503,0.41155481592833965,0.8106662674354532,0.18587851551930668,0.4528656860956295,0.17114660326352116,0.4657061167867842,0.2678784371054048,0.9860822027956542,0.28047740160016876,0.521866274344278,0.23089755291895653,0.26204333667852997,0.5264128482799174,0.03426637729358151,0.7178404125569819,0.49075453093501586,0.3174519971304802,0.580396295921689,0.8266488621026452,0.7145309095096285,0.3501015280428994,0.6774635074773913,0.6768061638196861,0.6997583253682814,0.8066203028740551,0.8060843323954033,0.35281671584294216,0.8166777460186373,0.9176081177172289,0.5015194037604084,0.5497997542734646,0.3612105080818233,0.5588510130880481,0.6323976574824047,0.710426913983777,0.4295719280790321,0.9106276638850702,0.2969059720125792,0.8432199875528353,0.7024317420417275,0.009213481391956768,0.14840918515582413,0.4529302232160588,0.6848250846776632,0.45421324797411733,0.8959347890115728,0.16397372493321005,0.31330878241100824,0.8970678010214731,0.5632453945468702,0.5126777731995182,0.8704174071253197,0.23665247116338428,0.6782310850048989,0.3099431671901419,0.5454608867909275,0.09230030613085294,0.9458744493467494,0.41611195633659104,0.6397763480667221,0.8384489016228241,0.09874205494309396,0.5278468931744442,0.5438495268719838,0.55149494135528,0.14448053384817994,0.044544066932281634,0.6612783513242274,0.3755649576347456,0.03431220454769368,0.9934612492190255,0.7688710280082478,0.3389545252253131,0.7738187030110214,0.8164872467484098,0.6537895037213985,0.39219860407683615,0.7730181491466183,0.42700223475264354,0.8372670915582412,0.5603023624971715,0.3484920851550566,0.12206268085300387,0.027718472955160833,0.24285845047466093,0.13038457134274584,0.1821421457270478,0.8180641842961788,0.6468112289433454,0.6786137832515612,0.2649645187318215,0.11295847190839181,0.7144763224313668,0.8422882803137242,0.5918360397074763,0.02755719654452693,0.13116827489513205,0.49030978251776536,0.3916416343823188,0.542612607444934,0.5733307179767209,0.8826236345600653,0.9647812905494776,0.4682062972046238,0.4705116301141766,0.769346350896276,0.3018252236745911,0.37357948414324493,0.1990652770918181,0.4515414233628311,0.5714040818663472,0.35356923959515096,0.08040731267102208,0.7077296226845344,0.7613501056061757,0.6877755636276306,0.23423531668691677,0.15732190970119075,0.01572296878651469,0.4972830491804182,0.06953300231224568,0.9486183952571313,0.8258159412557152,0.8759965850303153,0.5050362417378709,0.920482499464285,0.21951268335215468,0.17591719288392538,0.183929251947756,0.3458198381752471,0.4377243202530733,0.47258056893381273,0.6036247398522206,0.6119589322617547,0.9254168838168809,0.5499518801287434,0.06549122080508862,0.002345009937452236,0.7842790516149253,0.30803301120008,0.5138356182043174,0.26838201047138055,0.5707338026291777,0.3674770876623539,0.5538191156986997,0.553089683547777,0.9236581903299089,0.2450054076762701,0.09995188815404654,0.333918910608927,0.33810683615739734,0.4197761045872076,0.10930582365824137,0.19268651403745518,0.28104316479552793,0.13985976786349663,0.08600886760067239,0.0656213654021297,0.20133628379098356,0.9660525097779862,0.6639676809486362,0.3732173968706438,0.938124691115413,0.24087242309990708,0.2853633435948504,0.7724020152231509,0.9311919103670926,0.4129195996238262,0.549424018927679,0.5713708322304388,0.8304312892057317,0.9116587388110712,0.34586556512679856,0.007457731400561829,0.11653803285232622,0.8153213795722827,0.3471412438377265,0.8668860464942315,0.5117052713795001,0.27426734321788726,0.5976215223321437,0.7804553294199835,0.9489054134629865,0.36976800776426366,0.19709441088456436,0.8248778946505538,0.12748719393789132,0.24491881813804894,0.7583909969173175,0.8492236890472936,0.3160062336108673,0.44218634017679515,0.18907910462480781,0.47734786697519616,0.09463987861103729,0.5528685935787785,0.6610112704878279,0.8865471529389028,0.8246710260577944,0.3880737642012275,0.5811050568529739,0.14880638056045825,0.9276415004469738,0.6177569381931396,0.9721131522430645,0.7353838396758146,0.7752058260586295,0.12365050791065424,0.32465313662264517,0.8110383623085385,0.9255192921471196,0.19706632127489765,0.37020583290596387,0.725594740942325,0.020413393964460846,0.8881857750967495,0.9485199875905115,0.36846960644985616,0.7918999917529174,0.423193551068502,0.27683789749658594,0.9973755764641876,0.4369426539414166,0.5210822181866065,0.6725181600315542,0.8844065079838399,0.7938671324456699,0.4885784289761004,0.9208925570401483,0.9551805020128525,0.7490598086744121,0.5314785233220692,0.08557551651769779,0.25999214439263596,0.3263877503823479,0.23009056001953465,0.7750140599329359,0.7603083360926515,0.4371122196226007,0.592546574999225,0.4821310674081929,0.32436500759864006,0.8742171703912331,0.04898062097810041,0.8003075158126195,0.17451423533153054,0.9328154827810852,0.1949657274732911,0.12738692278295904,0.6815430352071549,0.6749851716467928,0.21205388564298377,0.39022749174358295,0.22704393318795313,0.5886191069130098,0.47152988406519647,0.36682963953924175,0.2568868081590474,0.3308967136527572,0.1502751737108453,0.13227401066294486,0.8364865727894538,0.42464541751131546,0.12545576758618038,0.0023779038694338173,0.8940403774280427,0.3552112637033934,0.3095927645685266,0.014957456013550474,0.3092687689903968,0.7595996527232244,0.838860282628128,0.18611730064376508,0.5676321819679359,0.8381828655393255,0.4488607859017437,0.3781759289638611,0.29064535015201065,0.0794772225593936,0.9253770000571481,0.4183735871388634,0.910601529377618,0.42192477480835877,0.8233923972712007,0.9105486215288278,0.49401585809766446,0.08551880413472723,0.7993691011952908,0.6069348982414523,0.06703257963194686,0.012015456336609609,0.6921094126947531,0.03911318980788714,0.2462026742757164,0.23797051075933773,0.9077271191025862,0.4876356006796734,0.594503090962133,0.3698579698339496,0.5020034706650011,0.4397730753924677,0.3985572387604728,0.8169456759088498,0.7012262143279271,0.7253821399763081,0.36881581330929647,0.6131995421946187,0.9860127149188899,0.27979538121718317,0.8737188584162405,0.7965397248081789,0.14123154406220895,0.14034046592971972,0.8459868501320017,0.16345744209812085,0.7532579445397001,0.43320012365931726,0.7086148468853519,0.43637278596129714,0.47025541700797535,0.27460675585180294],\"type\":\"histogram\"}],\n",
|
|
26
|
-
" {},\n",
|
|
27
|
-
" {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
|
|
28
|
-
")\n",
|
|
29
|
-
"\n",
|
|
30
|
-
"window.addEventListener('resize', function() {\n",
|
|
31
|
-
" Plotly.Plots.resize(document.getElementById('8cd9d949-4ada-4cd8-8338-e2e2ee2b9894'))\n",
|
|
32
|
-
"})\n",
|
|
33
|
-
" }) \n",
|
|
34
|
-
"</script>"
|
|
35
|
-
],
|
|
36
|
-
"text/plain": [
|
|
37
|
-
"#<Plotly::Offline::HTML:0x007fd612af40e8 @id=\"8cd9d949-4ada-4cd8-8338-e2e2ee2b9894\", @data=[{:x=>[0.2942709079419361, 0.21075759664424176, 0.4507635598118156, 0.5323161996836732, 0.6158483935534982, 0.5617685506761113, 0.35638093468678644, 0.3074352092618795, 0.5258449178776419, 0.23494017880585927, 0.4214906201632882, 0.7193667701902945, 0.6053315167489312, 0.09477150002187884, 0.4314088198988131, 0.27960276312421906, 0.41168595404290975, 0.5953329609033754, 0.6488141113825862, 0.6410450088742157, 0.132768417851155, 0.8113876306653193, 0.5273586577978917, 0.28958212346490253, 0.38473122133283955, 0.7553623738760905, 0.916057071154953, 0.9771422921019263, 0.0219087343931772, 0.959356940593063, 0.31496436239305514, 0.4929757656826076, 0.09275750315650222, 0.1901546379163196, 0.2863331668936532, 0.7814963736183473, 0.7119537514573202, 0.4452566739637793, 0.6364985523353799, 0.985505960553461, 0.5929799524726765, 0.9012967309444065, 0.1271205742249878, 0.9780643213354355, 0.08594175798500059, 0.27123583096405957, 0.17231648924344356, 0.24895388314055777, 0.5100325456406406, 0.5412226190780236, 0.5111980390074985, 0.3232401419316209, 0.13531428633657716, 0.2591334248438265, 0.4821708390962126, 0.8014878786815782, 0.2899575578756306, 0.8108883195252004, 0.722215430315489, 0.009056222905411526, 0.48552884977728294, 0.33340540359009707, 0.8003361642594651, 0.8427350029092714, 0.37339540802571425, 0.541811915189543, 0.16120694531201574, 0.7720641422417982, 0.37137056481474384, 0.509624045994267, 0.8614811955627087, 0.9008755367629196, 0.7031515805109934, 0.8758201763909, 0.029758008062963248, 0.9158105445145365, 0.5373366017132732, 0.3313928741057912, 0.2842638793890436, 0.9030223662989227, 0.16091834803230776, 0.7439085852420073, 0.6475130418149018, 0.277222372740378, 0.20605308088701468, 0.7076028785986701, 0.24821375004977386, 0.35076605164148944, 0.21775481711911826, 0.48863703774176226, 0.3240564827407624, 0.6569852411086875, 0.8646104433302572, 0.032628637093236934, 0.4183281558685189, 0.49152520508373, 0.9854387029968675, 0.5217709480239929, 0.2952470004242418, 0.3747243839808386, 0.0022222160679797875, 0.6079710738932325, 0.408837222195892, 0.7137510115245531, 0.026631069825837184, 0.8535186292939572, 0.2878963833317988, 0.6673978080298499, 0.3797394719250412, 0.43905894290341696, 0.9221967919292648, 0.24201261819525344, 0.9113120240616012, 0.15844090140797495, 0.2296107202886991, 0.32951316125944863, 0.3832833309853714, 0.8825125009427446, 0.023803239891589056, 0.3815298434084522, 0.4396209521854534, 0.01677209901187504, 0.7129563665098051, 0.8935827919706518, 0.8836885104189789, 0.5586933037337863, 0.4631678740951215, 0.2511454740364518, 0.9126451540069624, 0.5748456932188779, 0.18541335074790866, 0.6068470030767213, 0.4623586525738892, 0.31081955843779097, 0.16518377979946153, 0.9819362270306423, 0.6645902067860189, 0.6292367200209642, 0.11814669866048932, 0.6327028775036166, 0.07682728452371301, 0.5442762713814352, 0.9129196111200293, 0.6737269515014628, 0.03603614772157482, 0.5053681219718107, 0.29370477336711054, 0.18177236613304792, 0.2554415598717049, 0.2524982631580386, 0.5726274776391082, 0.20500109424473656, 0.8049705018094359, 0.35001086160422756, 0.6963830934214947, 0.9465031779055827, 0.8129040125680941, 0.5048075563682233, 0.8608021523080329, 0.6284187168241879, 0.9349856967094302, 0.9930549237820306, 0.26343920418020805, 0.6943739359274025, 0.09823233938873932, 0.7534403691965718, 0.7398552475673881, 0.1555710404799937, 0.1484835805875444, 0.38080622222386384, 0.6713646870213317, 0.5472395092483366, 0.08423003327212197, 0.6466004957425141, 0.27150872574666385, 0.4829323271794369, 0.31210043906079965, 0.3249582842593215, 0.290427691449503, 0.41155481592833965, 0.8106662674354532, 0.18587851551930668, 0.4528656860956295, 0.17114660326352116, 0.4657061167867842, 0.2678784371054048, 0.9860822027956542, 0.28047740160016876, 0.521866274344278, 0.23089755291895653, 0.26204333667852997, 0.5264128482799174, 0.03426637729358151, 0.7178404125569819, 0.49075453093501586, 0.3174519971304802, 0.580396295921689, 0.8266488621026452, 0.7145309095096285, 0.3501015280428994, 0.6774635074773913, 0.6768061638196861, 0.6997583253682814, 0.8066203028740551, 0.8060843323954033, 0.35281671584294216, 0.8166777460186373, 0.9176081177172289, 0.5015194037604084, 0.5497997542734646, 0.3612105080818233, 0.5588510130880481, 0.6323976574824047, 0.710426913983777, 0.4295719280790321, 0.9106276638850702, 0.2969059720125792, 0.8432199875528353, 0.7024317420417275, 0.009213481391956768, 0.14840918515582413, 0.4529302232160588, 0.6848250846776632, 0.45421324797411733, 0.8959347890115728, 0.16397372493321005, 0.31330878241100824, 0.8970678010214731, 0.5632453945468702, 0.5126777731995182, 0.8704174071253197, 0.23665247116338428, 0.6782310850048989, 0.3099431671901419, 0.5454608867909275, 0.09230030613085294, 0.9458744493467494, 0.41611195633659104, 0.6397763480667221, 0.8384489016228241, 0.09874205494309396, 0.5278468931744442, 0.5438495268719838, 0.55149494135528, 0.14448053384817994, 0.044544066932281634, 0.6612783513242274, 0.3755649576347456, 0.03431220454769368, 0.9934612492190255, 0.7688710280082478, 0.3389545252253131, 0.7738187030110214, 0.8164872467484098, 0.6537895037213985, 0.39219860407683615, 0.7730181491466183, 0.42700223475264354, 0.8372670915582412, 0.5603023624971715, 0.3484920851550566, 0.12206268085300387, 0.027718472955160833, 0.24285845047466093, 0.13038457134274584, 0.1821421457270478, 0.8180641842961788, 0.6468112289433454, 0.6786137832515612, 0.2649645187318215, 0.11295847190839181, 0.7144763224313668, 0.8422882803137242, 0.5918360397074763, 0.02755719654452693, 0.13116827489513205, 0.49030978251776536, 0.3916416343823188, 0.542612607444934, 0.5733307179767209, 0.8826236345600653, 0.9647812905494776, 0.4682062972046238, 0.4705116301141766, 0.769346350896276, 0.3018252236745911, 0.37357948414324493, 0.1990652770918181, 0.4515414233628311, 0.5714040818663472, 0.35356923959515096, 0.08040731267102208, 0.7077296226845344, 0.7613501056061757, 0.6877755636276306, 0.23423531668691677, 0.15732190970119075, 0.01572296878651469, 0.4972830491804182, 0.06953300231224568, 0.9486183952571313, 0.8258159412557152, 0.8759965850303153, 0.5050362417378709, 0.920482499464285, 0.21951268335215468, 0.17591719288392538, 0.183929251947756, 0.3458198381752471, 0.4377243202530733, 0.47258056893381273, 0.6036247398522206, 0.6119589322617547, 0.9254168838168809, 0.5499518801287434, 0.06549122080508862, 0.002345009937452236, 0.7842790516149253, 0.30803301120008, 0.5138356182043174, 0.26838201047138055, 0.5707338026291777, 0.3674770876623539, 0.5538191156986997, 0.553089683547777, 0.9236581903299089, 0.2450054076762701, 0.09995188815404654, 0.333918910608927, 0.33810683615739734, 0.4197761045872076, 0.10930582365824137, 0.19268651403745518, 0.28104316479552793, 0.13985976786349663, 0.08600886760067239, 0.0656213654021297, 0.20133628379098356, 0.9660525097779862, 0.6639676809486362, 0.3732173968706438, 0.938124691115413, 0.24087242309990708, 0.2853633435948504, 0.7724020152231509, 0.9311919103670926, 0.4129195996238262, 0.549424018927679, 0.5713708322304388, 0.8304312892057317, 0.9116587388110712, 0.34586556512679856, 0.007457731400561829, 0.11653803285232622, 0.8153213795722827, 0.3471412438377265, 0.8668860464942315, 0.5117052713795001, 0.27426734321788726, 0.5976215223321437, 0.7804553294199835, 0.9489054134629865, 0.36976800776426366, 0.19709441088456436, 0.8248778946505538, 0.12748719393789132, 0.24491881813804894, 0.7583909969173175, 0.8492236890472936, 0.3160062336108673, 0.44218634017679515, 0.18907910462480781, 0.47734786697519616, 0.09463987861103729, 0.5528685935787785, 0.6610112704878279, 0.8865471529389028, 0.8246710260577944, 0.3880737642012275, 0.5811050568529739, 0.14880638056045825, 0.9276415004469738, 0.6177569381931396, 0.9721131522430645, 0.7353838396758146, 0.7752058260586295, 0.12365050791065424, 0.32465313662264517, 0.8110383623085385, 0.9255192921471196, 0.19706632127489765, 0.37020583290596387, 0.725594740942325, 0.020413393964460846, 0.8881857750967495, 0.9485199875905115, 0.36846960644985616, 0.7918999917529174, 0.423193551068502, 0.27683789749658594, 0.9973755764641876, 0.4369426539414166, 0.5210822181866065, 0.6725181600315542, 0.8844065079838399, 0.7938671324456699, 0.4885784289761004, 0.9208925570401483, 0.9551805020128525, 0.7490598086744121, 0.5314785233220692, 0.08557551651769779, 0.25999214439263596, 0.3263877503823479, 0.23009056001953465, 0.7750140599329359, 0.7603083360926515, 0.4371122196226007, 0.592546574999225, 0.4821310674081929, 0.32436500759864006, 0.8742171703912331, 0.04898062097810041, 0.8003075158126195, 0.17451423533153054, 0.9328154827810852, 0.1949657274732911, 0.12738692278295904, 0.6815430352071549, 0.6749851716467928, 0.21205388564298377, 0.39022749174358295, 0.22704393318795313, 0.5886191069130098, 0.47152988406519647, 0.36682963953924175, 0.2568868081590474, 0.3308967136527572, 0.1502751737108453, 0.13227401066294486, 0.8364865727894538, 0.42464541751131546, 0.12545576758618038, 0.0023779038694338173, 0.8940403774280427, 0.3552112637033934, 0.3095927645685266, 0.014957456013550474, 0.3092687689903968, 0.7595996527232244, 0.838860282628128, 0.18611730064376508, 0.5676321819679359, 0.8381828655393255, 0.4488607859017437, 0.3781759289638611, 0.29064535015201065, 0.0794772225593936, 0.9253770000571481, 0.4183735871388634, 0.910601529377618, 0.42192477480835877, 0.8233923972712007, 0.9105486215288278, 0.49401585809766446, 0.08551880413472723, 0.7993691011952908, 0.6069348982414523, 0.06703257963194686, 0.012015456336609609, 0.6921094126947531, 0.03911318980788714, 0.2462026742757164, 0.23797051075933773, 0.9077271191025862, 0.4876356006796734, 0.594503090962133, 0.3698579698339496, 0.5020034706650011, 0.4397730753924677, 0.3985572387604728, 0.8169456759088498, 0.7012262143279271, 0.7253821399763081, 0.36881581330929647, 0.6131995421946187, 0.9860127149188899, 0.27979538121718317, 0.8737188584162405, 0.7965397248081789, 0.14123154406220895, 0.14034046592971972, 0.8459868501320017, 0.16345744209812085, 0.7532579445397001, 0.43320012365931726, 0.7086148468853519, 0.43637278596129714, 0.47025541700797535, 0.27460675585180294], :type=>\"histogram\"}], @layout={}, @config={:linkText=>\"Export to plot.ly\", :showLink=>true}, @embedded=true>"
|
|
38
|
-
]
|
|
39
|
-
},
|
|
40
|
-
"metadata": {},
|
|
41
|
-
"output_type": "display_data"
|
|
42
|
-
}
|
|
43
|
-
],
|
|
44
|
-
"source": [
|
|
45
|
-
"# Basic Histogram\n",
|
|
46
|
-
"require 'rbplotly'\n",
|
|
47
|
-
"\n",
|
|
48
|
-
"data = [{ x: (1..500).map { rand }, type: :histogram }]\n",
|
|
49
|
-
"\n",
|
|
50
|
-
"plot = Plotly::Plot.new(data: data)\n",
|
|
51
|
-
"plot.show"
|
|
52
|
-
]
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"cell_type": "code",
|
|
56
|
-
"execution_count": null,
|
|
57
|
-
"metadata": {
|
|
58
|
-
"collapsed": true
|
|
59
|
-
},
|
|
60
|
-
"outputs": [],
|
|
61
|
-
"source": []
|
|
62
|
-
}
|
|
63
|
-
],
|
|
64
|
-
"metadata": {
|
|
65
|
-
"kernelspec": {
|
|
66
|
-
"display_name": "Ruby 2.3.1",
|
|
67
|
-
"language": "ruby",
|
|
68
|
-
"name": "ruby"
|
|
69
|
-
},
|
|
70
|
-
"language_info": {
|
|
71
|
-
"file_extension": ".rb",
|
|
72
|
-
"mimetype": "application/x-ruby",
|
|
73
|
-
"name": "ruby",
|
|
74
|
-
"version": "2.3.1"
|
|
75
|
-
}
|
|
76
|
-
},
|
|
77
|
-
"nbformat": 4,
|
|
78
|
-
"nbformat_minor": 1
|
|
79
|
-
}
|