y4ashida/rbplotly

View on GitHub
examples/Basic Usage.ipynb

Summary

Maintainability
Test Coverage
{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "  <script>\n",
       "  requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})\n",
       "  </script>\n",
       "\n",
       "\n",
       "<div id=\"d834e8a3-484e-4ed3-858d-d36369ba2e72\" style=\"height: 100%; width: 100%;\"></div>\n",
       "\n",
       "<script>\n",
       " require(['plotly'], function(Plotly) { \n",
       "Plotly.newPlot(\n",
       "  'd834e8a3-484e-4ed3-858d-d36369ba2e72',\n",
       "  [{\"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",
       "  {},\n",
       "  {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
       ")\n",
       "\n",
       "window.addEventListener('resize', function() {\n",
       "  Plotly.Plots.resize(document.getElementById('d834e8a3-484e-4ed3-858d-d36369ba2e72'))\n",
       "})\n",
       " }) \n",
       "</script>"
      ],
      "text/plain": [
       "#<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>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "require 'rbplotly'\n",
    "\n",
    "n = 100\n",
    "\n",
    "x  = n.times.map { |i| i.to_f / (n - 1) }\n",
    "y0 = n.times.map { rand(-2.0..2.0) + 5 }\n",
    "y1 = n.times.map { rand(-2.0..2.0) }\n",
    "\n",
    "trace0 = { x: x, y: y0, type: :scatter, mode: :markers }\n",
    "trace1 = trace0.merge(y: y1, mode: :'markers+lines')\n",
    "\n",
    "plot = Plotly::Plot.new(data: [trace0, trace1])\n",
    "plot.show"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 2,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "  <script>\n",
       "  requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})\n",
       "  </script>\n",
       "\n",
       "\n",
       "<div id=\"341a3c70-a5b5-418a-8610-7906c24e482d\" style=\"height: 100%; width: 100%;\"></div>\n",
       "\n",
       "<script>\n",
       " require(['plotly'], function(Plotly) { \n",
       "Plotly.newPlot(\n",
       "  '341a3c70-a5b5-418a-8610-7906c24e482d',\n",
       "  [{\"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",
       "  {},\n",
       "  {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
       ")\n",
       "\n",
       "window.addEventListener('resize', function() {\n",
       "  Plotly.Plots.resize(document.getElementById('341a3c70-a5b5-418a-8610-7906c24e482d'))\n",
       "})\n",
       " }) \n",
       "</script>"
      ],
      "text/plain": [
       "#<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>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plot.data.last.y = n.times.map { rand(-0.5..0.5) }\n",
    "plot.show"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 3,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "  <script>\n",
       "  requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})\n",
       "  </script>\n",
       "\n",
       "\n",
       "<div id=\"78c9878d-2bae-4819-a873-dff81986818e\" style=\"height: 100%; width: 100%;\"></div>\n",
       "\n",
       "<script>\n",
       " require(['plotly'], function(Plotly) { \n",
       "Plotly.newPlot(\n",
       "  '78c9878d-2bae-4819-a873-dff81986818e',\n",
       "  [{\"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",
       "  {},\n",
       "  {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
       ")\n",
       "\n",
       "window.addEventListener('resize', function() {\n",
       "  Plotly.Plots.resize(document.getElementById('78c9878d-2bae-4819-a873-dff81986818e'))\n",
       "})\n",
       " }) \n",
       "</script>"
      ],
      "text/plain": [
       "#<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>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "new_trace = { x: x, y: n.times.map { rand(-2.0..2.0) - 5 }, type: :scatter, mode: :lines }\n",
    "plot.data.push(new_trace)\n",
    "plot.show"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 4,
   "metadata": {
    "collapsed": false,
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "\n",
       "  <script>\n",
       "  requirejs.config({paths: { 'plotly': ['https://cdn.plot.ly/plotly-latest.min'] }})\n",
       "  </script>\n",
       "\n",
       "\n",
       "<div id=\"7f706e61-4b95-4c1b-85a6-74201e0b296c\" style=\"height: 100%; width: 100%;\"></div>\n",
       "\n",
       "<script>\n",
       " require(['plotly'], function(Plotly) { \n",
       "Plotly.newPlot(\n",
       "  '7f706e61-4b95-4c1b-85a6-74201e0b296c',\n",
       "  [{\"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",
       "  {\"xaxis\":{\"title\":\"x title\"},\"yaxis\":{\"title\":\"y title\"}},\n",
       "  {\"linkText\":\"Export to plot.ly\",\"showLink\":true}\n",
       ")\n",
       "\n",
       "window.addEventListener('resize', function() {\n",
       "  Plotly.Plots.resize(document.getElementById('7f706e61-4b95-4c1b-85a6-74201e0b296c'))\n",
       "})\n",
       " }) \n",
       "</script>"
      ],
      "text/plain": [
       "#<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>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "plot.layout.xaxis = { title: 'x title' }\n",
    "plot.layout.yaxis = { title: 'y title' }\n",
    "\n",
    "plot.show"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Ruby 2.3.1",
   "language": "ruby",
   "name": "ruby"
  },
  "language_info": {
   "file_extension": ".rb",
   "mimetype": "application/x-ruby",
   "name": "ruby",
   "version": "2.3.1"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 1
}