Created
September 2, 2016 12:49
-
-
Save lukauskas/c93a10de5c96dd6e683e5f4563112c62 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"execution_count": 1, | |
"metadata": { | |
"ExecuteTime": { | |
"end_time": "2016-09-02T13:47:57.487480", | |
"start_time": "2016-09-02T13:47:57.133782" | |
}, | |
"collapsed": false, | |
"run_control": { | |
"frozen": false, | |
"read_only": false | |
} | |
}, | |
"outputs": [ | |
{ | |
"name": "stderr", | |
"output_type": "stream", | |
"text": [ | |
"/home/saulius/.virtualenvs/scientific-py3/lib/python3.5/site-packages/matplotlib/__init__.py:872: UserWarning: axes.color_cycle is deprecated and replaced with axes.prop_cycle; please use the latter.\n", | |
" warnings.warn(self.msg_depr % (key, alt_key))\n" | |
] | |
} | |
], | |
"source": [ | |
"import numpy as np\n", | |
"import pandas as pd" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 2, | |
"metadata": { | |
"ExecuteTime": { | |
"end_time": "2016-09-02T13:47:58.130745", | |
"start_time": "2016-09-02T13:47:57.489294" | |
}, | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [ | |
"from matplotlib import pyplot as plt\n", | |
"import seaborn as sns\n", | |
"import mpld3\n", | |
"mpld3.enable_notebook()" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 3, | |
"metadata": { | |
"ExecuteTime": { | |
"end_time": "2016-09-02T13:47:58.153767", | |
"start_time": "2016-09-02T13:47:58.132537" | |
}, | |
"collapsed": false | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"text/html": [ | |
"<div>\n", | |
"<table border=\"1\" class=\"dataframe\">\n", | |
" <thead>\n", | |
" <tr style=\"text-align: right;\">\n", | |
" <th></th>\n", | |
" <th>a</th>\n", | |
" <th>b</th>\n", | |
" <th>labels</th>\n", | |
" </tr>\n", | |
" </thead>\n", | |
" <tbody>\n", | |
" <tr>\n", | |
" <th>0</th>\n", | |
" <td>0.496714</td>\n", | |
" <td>-0.138264</td>\n", | |
" <td>Point #0</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>1</th>\n", | |
" <td>0.647689</td>\n", | |
" <td>1.523030</td>\n", | |
" <td>Point #1</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>2</th>\n", | |
" <td>-0.234153</td>\n", | |
" <td>-0.234137</td>\n", | |
" <td>Point #2</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>3</th>\n", | |
" <td>1.579213</td>\n", | |
" <td>0.767435</td>\n", | |
" <td>Point #3</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>4</th>\n", | |
" <td>-0.469474</td>\n", | |
" <td>0.542560</td>\n", | |
" <td>Point #4</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>5</th>\n", | |
" <td>-0.463418</td>\n", | |
" <td>-0.465730</td>\n", | |
" <td>Point #5</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>6</th>\n", | |
" <td>0.241962</td>\n", | |
" <td>-1.913280</td>\n", | |
" <td>Point #6</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>7</th>\n", | |
" <td>-1.724918</td>\n", | |
" <td>-0.562288</td>\n", | |
" <td>Point #7</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>8</th>\n", | |
" <td>-1.012831</td>\n", | |
" <td>0.314247</td>\n", | |
" <td>Point #8</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>9</th>\n", | |
" <td>-0.908024</td>\n", | |
" <td>-1.412304</td>\n", | |
" <td>Point #9</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>10</th>\n", | |
" <td>1.465649</td>\n", | |
" <td>-0.225776</td>\n", | |
" <td>Point #10</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>11</th>\n", | |
" <td>0.067528</td>\n", | |
" <td>-1.424748</td>\n", | |
" <td>Point #11</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>12</th>\n", | |
" <td>-0.544383</td>\n", | |
" <td>0.110923</td>\n", | |
" <td>Point #12</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>13</th>\n", | |
" <td>-1.150994</td>\n", | |
" <td>0.375698</td>\n", | |
" <td>Point #13</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>14</th>\n", | |
" <td>-0.600639</td>\n", | |
" <td>-0.291694</td>\n", | |
" <td>Point #14</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>15</th>\n", | |
" <td>-0.601707</td>\n", | |
" <td>1.852278</td>\n", | |
" <td>Point #15</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>16</th>\n", | |
" <td>-0.013497</td>\n", | |
" <td>-1.057711</td>\n", | |
" <td>Point #16</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>17</th>\n", | |
" <td>0.822545</td>\n", | |
" <td>-1.220844</td>\n", | |
" <td>Point #17</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>18</th>\n", | |
" <td>0.208864</td>\n", | |
" <td>-1.959670</td>\n", | |
" <td>Point #18</td>\n", | |
" </tr>\n", | |
" <tr>\n", | |
" <th>19</th>\n", | |
" <td>-1.328186</td>\n", | |
" <td>0.196861</td>\n", | |
" <td>Point #19</td>\n", | |
" </tr>\n", | |
" </tbody>\n", | |
"</table>\n", | |
"</div>" | |
], | |
"text/plain": [ | |
" a b labels\n", | |
"0 0.496714 -0.138264 Point #0\n", | |
"1 0.647689 1.523030 Point #1\n", | |
"2 -0.234153 -0.234137 Point #2\n", | |
"3 1.579213 0.767435 Point #3\n", | |
"4 -0.469474 0.542560 Point #4\n", | |
"5 -0.463418 -0.465730 Point #5\n", | |
"6 0.241962 -1.913280 Point #6\n", | |
"7 -1.724918 -0.562288 Point #7\n", | |
"8 -1.012831 0.314247 Point #8\n", | |
"9 -0.908024 -1.412304 Point #9\n", | |
"10 1.465649 -0.225776 Point #10\n", | |
"11 0.067528 -1.424748 Point #11\n", | |
"12 -0.544383 0.110923 Point #12\n", | |
"13 -1.150994 0.375698 Point #13\n", | |
"14 -0.600639 -0.291694 Point #14\n", | |
"15 -0.601707 1.852278 Point #15\n", | |
"16 -0.013497 -1.057711 Point #16\n", | |
"17 0.822545 -1.220844 Point #17\n", | |
"18 0.208864 -1.959670 Point #18\n", | |
"19 -1.328186 0.196861 Point #19" | |
] | |
}, | |
"execution_count": 3, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"N = 20\n", | |
"random = np.random.RandomState(42)\n", | |
"sample_data = pd.DataFrame(random.randn(N,2), \n", | |
" columns=['a', 'b'])\n", | |
"sample_data['labels'] = ['Point #{}'.format(x) for x in range(N)]\n", | |
"\n", | |
"sample_data" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 4, | |
"metadata": { | |
"ExecuteTime": { | |
"end_time": "2016-09-02T13:47:58.174734", | |
"start_time": "2016-09-02T13:47:58.156455" | |
}, | |
"collapsed": false | |
}, | |
"outputs": [], | |
"source": [ | |
"import matplotlib.collections\n", | |
"def interactive_regplot(x, y, labels, data, **kwargs):\n", | |
" fig = plt.figure()\n", | |
" plot = sns.regplot(x=x, y=y, \n", | |
" data=data, **kwargs)\n", | |
" \n", | |
" scatter_collections = [c for c in plot.collections if isinstance(c, matplotlib.collections.PathCollection)]\n", | |
" \n", | |
" assert len(scatter_collections) == 1\n", | |
" \n", | |
" tooltip = mpld3.plugins.PointLabelTooltip(scatter_collections[0], \n", | |
" labels=list(data[labels]))\n", | |
" \n", | |
" mpld3.plugins.connect(fig, tooltip)" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 5, | |
"metadata": { | |
"ExecuteTime": { | |
"end_time": "2016-09-02T13:47:58.191038", | |
"start_time": "2016-09-02T13:47:58.176964" | |
}, | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [ | |
"# Unfortunately tooltips do not work for points covered by reg confidence interval :(" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": 6, | |
"metadata": { | |
"ExecuteTime": { | |
"end_time": "2016-09-02T13:47:58.674422", | |
"start_time": "2016-09-02T13:47:58.193166" | |
}, | |
"collapsed": false | |
}, | |
"outputs": [ | |
{ | |
"data": { | |
"text/html": [ | |
"\n", | |
"\n", | |
"<style>\n", | |
"\n", | |
"</style>\n", | |
"\n", | |
"<div id=\"fig_el224801406602652022966631517980\"></div>\n", | |
"<script>\n", | |
"function mpld3_load_lib(url, callback){\n", | |
" var s = document.createElement('script');\n", | |
" s.src = url;\n", | |
" s.async = true;\n", | |
" s.onreadystatechange = s.onload = callback;\n", | |
" s.onerror = function(){console.warn(\"failed to load library \" + url);};\n", | |
" document.getElementsByTagName(\"head\")[0].appendChild(s);\n", | |
"}\n", | |
"\n", | |
"if(typeof(mpld3) !== \"undefined\" && mpld3._mpld3IsLoaded){\n", | |
" // already loaded: just create the figure\n", | |
" !function(mpld3){\n", | |
" \n", | |
" mpld3.draw_figure(\"fig_el224801406602652022966631517980\", {\"data\": {\"data01\": [[-2.0, -0.1603860859616022], [-1.9595959595959596, -0.16261872546353445], [-1.9191919191919191, -0.16485136496546665], [-1.878787878787879, -0.1670840044673989], [-1.8383838383838385, -0.1693166439693311], [-1.797979797979798, -0.17154928347126336], [-1.7575757575757576, -0.1737819229731956], [-1.7171717171717171, -0.1760145624751278], [-1.6767676767676767, -0.17824720197706007], [-1.6363636363636362, -0.1804798414789923], [-1.595959595959596, -0.18271248098092452], [-1.5555555555555556, -0.18494512048285677], [-1.5151515151515151, -0.18717775998478897], [-1.4747474747474747, -0.18941039948672123], [-1.4343434343434343, -0.19164303898865345], [-1.393939393939394, -0.19387567849058568], [-1.3535353535353534, -0.19610831799251793], [-1.3131313131313131, -0.19834095749445013], [-1.2727272727272727, -0.2005735969963824], [-1.2323232323232323, -0.2028062364983146], [-1.1919191919191918, -0.20503887600024684], [-1.1515151515151514, -0.2072715155021791], [-1.1111111111111112, -0.2095041550041113], [-1.0707070707070705, -0.21173679450604355], [-1.0303030303030303, -0.21396943400797577], [-0.9898989898989898, -0.216202073509908], [-0.9494949494949494, -0.21843471301184025], [-0.909090909090909, -0.22066735251377248], [-0.8686868686868685, -0.2228999920157047], [-0.8282828282828283, -0.22513263151763693], [-0.7878787878787878, -0.22736527101956916], [-0.7474747474747474, -0.2295979105215014], [-0.707070707070707, -0.23183055002343364], [-0.6666666666666665, -0.23406318952536587], [-0.6262626262626261, -0.23629582902729812], [-0.5858585858585856, -0.23852846852923035], [-0.5454545454545454, -0.24076110803116257], [-0.505050505050505, -0.2429937475330948], [-0.46464646464646453, -0.24522638703502703], [-0.4242424242424241, -0.24745902653695928], [-0.38383838383838365, -0.2496916660388915], [-0.3434343434343432, -0.25192430554082373], [-0.303030303030303, -0.254156945042756], [-0.26262626262626254, -0.2563895845446882], [-0.2222222222222221, -0.25862222404662044], [-0.18181818181818166, -0.26085486354855264], [-0.14141414141414121, -0.2630875030504849], [-0.10101010101010077, -0.26532014255241715], [-0.06060606060606055, -0.26755278205434935], [-0.02020202020202011, -0.2697854215562816], [0.020202020202020332, -0.2720180610582138], [0.060606060606060996, -0.27425070056014605], [0.10101010101010122, -0.2764833400620783], [0.14141414141414144, -0.2787159795640105], [0.1818181818181821, -0.28094861906594276], [0.22222222222222232, -0.28318125856787496], [0.262626262626263, -0.2854138980698072], [0.3030303030303032, -0.28764653757173947], [0.3434343434343434, -0.28987917707367167], [0.3838383838383841, -0.2921118165756039], [0.4242424242424243, -0.2943444560775361], [0.464646464646465, -0.2965770955794684], [0.5050505050505052, -0.29880973508140063], [0.5454545454545459, -0.3010423745833329], [0.5858585858585861, -0.3032750140852651], [0.6262626262626263, -0.3055076535871973], [0.666666666666667, -0.30774029308912954], [0.7070707070707072, -0.3099729325910618], [0.7474747474747478, -0.31220557209299404], [0.7878787878787881, -0.31443821159492624], [0.8282828282828287, -0.3166708510968585], [0.868686868686869, -0.3189034905987907], [0.9090909090909092, -0.32113613010072295], [0.9494949494949498, -0.3233687696026552], [0.9898989898989901, -0.3256014091045874], [1.0303030303030307, -0.32783404860651966], [1.070707070707071, -0.33006668810845186], [1.1111111111111112, -0.3322993276103841], [1.1515151515151518, -0.33453196711231636], [1.191919191919192, -0.33676460661424856], [1.2323232323232327, -0.3389972461161808], [1.272727272727273, -0.341229885618113], [1.3131313131313136, -0.34346252512004527], [1.3535353535353538, -0.34569516462197747], [1.393939393939394, -0.3479278041239097], [1.4343434343434347, -0.350160443625842], [1.474747474747475, -0.3523930831277742], [1.5151515151515156, -0.35462572262970643], [1.5555555555555558, -0.3568583621316387], [1.5959595959595965, -0.3590910016335709], [1.6363636363636367, -0.36132364113550314], [1.676767676767677, -0.36355628063743534], [1.7171717171717176, -0.3657889201393676], [1.7575757575757578, -0.3680215596412998], [1.7979797979797985, -0.3702541991432321], [1.8383838383838387, -0.3724868386451643], [1.878787878787879, -0.3747194781470965], [1.9191919191919196, -0.37695211764902875], [1.9595959595959598, -0.379184757150961], [2.0, -0.3814173966528932]], \"data02\": [[0.4967141530112327, -0.13826430117118466], [0.6476885381006925, 1.5230298564080254], [-0.23415337472333597, -0.23413695694918055], [1.5792128155073915, 0.7674347291529088], [-0.4694743859349521, 0.5425600435859647], [-0.46341769281246226, -0.46572975357025687], [0.24196227156603412, -1.913280244657798], [-1.7249178325130328, -0.5622875292409727], [-1.0128311203344238, 0.3142473325952739], [-0.9080240755212109, -1.4123037013352915], [1.465648768921554, -0.22577630048653566], [0.06752820468792384, -1.4247481862134568], [-0.5443827245251827, 0.11092258970986608], [-1.1509935774223028, 0.37569801834567196], [-0.600638689918805, -0.2916937497932768], [-0.6017066122293969, 1.8522781845089378], [-0.013497224737933921, -1.0577109289559004], [0.822544912103189, -1.2208436499710222], [0.2088635950047554, -1.9596701238797756], [-1.3281860488984305, 0.19686123586912352]], \"data03\": [[0.0, 0.0]]}, \"plugins\": [{\"type\": \"reset\"}, {\"type\": \"zoom\", \"enabled\": false, \"button\": true}, {\"type\": \"boxzoom\", \"enabled\": false, \"button\": true}, {\"location\": \"mouse\", \"voffset\": 10, \"labels\": [\"Point #0\", \"Point #1\", \"Point #2\", \"Point #3\", \"Point #4\", \"Point #5\", \"Point #6\", \"Point #7\", \"Point #8\", \"Point #9\", \"Point #10\", \"Point #11\", \"Point #12\", \"Point #13\", \"Point #14\", \"Point #15\", \"Point #16\", \"Point #17\", \"Point #18\", \"Point #19\"], \"hoffset\": 0, \"type\": \"tooltip\", \"id\": \"el22480140660255950272\"}], \"height\": 550.0, \"width\": 800.0, \"id\": \"el22480140660265202296\", \"axes\": [{\"sharey\": [], \"sharex\": [], \"collections\": [{\"edgecolors\": [\"#4C72B0\"], \"xindex\": 0, \"alphas\": [0.8], \"facecolors\": [\"#4C72B0\"], \"offsetcoordinates\": \"data\", \"pathtransforms\": [[6.211299937499415, 0.0, 0.0, 6.211299937499415, 0.0, 0.0]], \"pathcoordinates\": \"display\", \"yindex\": 1, \"id\": \"el22480140660255950272\", \"paths\": [[[[0.0, -0.5], [0.13260155, -0.5], [0.25978993539242673, -0.44731684579412084], [0.3535533905932738, -0.3535533905932738], [0.44731684579412084, -0.25978993539242673], [0.5, -0.13260155], [0.5, 0.0], [0.5, 0.13260155], [0.44731684579412084, 0.25978993539242673], [0.3535533905932738, 0.3535533905932738], [0.25978993539242673, 0.44731684579412084], [0.13260155, 0.5], [0.0, 0.5], [-0.13260155, 0.5], [-0.25978993539242673, 0.44731684579412084], [-0.3535533905932738, 0.3535533905932738], [-0.44731684579412084, 0.25978993539242673], [-0.5, 0.13260155], [-0.5, 0.0], [-0.5, -0.13260155], [-0.44731684579412084, -0.25978993539242673], [-0.3535533905932738, -0.3535533905932738], [-0.25978993539242673, -0.44731684579412084], [-0.13260155, -0.5], [0.0, -0.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]]], \"edgewidths\": [0.0], \"zorder\": 1, \"offsets\": \"data02\"}, {\"edgecolors\": [\"#EEEEEE\"], \"xindex\": 0, \"alphas\": [0.15], \"facecolors\": [\"#4C72B0\"], \"offsetcoordinates\": \"display\", \"pathtransforms\": [], \"pathcoordinates\": \"data\", \"yindex\": 1, \"id\": \"el22480140660255500888\", \"paths\": [[[[-2.0, 0.9078224653756537], [-2.0, -1.0274835738790484], [-1.9595959595959596, -1.0150980756010792], [-1.9191919191919191, -0.9985173293084726], [-1.878787878787879, -0.9799835359887054], [-1.8383838383838385, -0.9582630697856125], [-1.797979797979798, -0.9413069887561306], [-1.7575757575757576, -0.9322793067868943], [-1.7171717171717171, -0.9211928573680542], [-1.6767676767676767, -0.9120839549948874], [-1.6363636363636362, -0.9028614121898317], [-1.595959595959596, -0.8883529669811677], [-1.5555555555555556, -0.869561875772372], [-1.5151515151515151, -0.8549838405050255], [-1.4747474747474747, -0.8484171327716122], [-1.4343434343434343, -0.8408211440439548], [-1.393939393939394, -0.835573763057687], [-1.3535353535353534, -0.8270543868939318], [-1.3131313131313131, -0.8100277140888095], [-1.2727272727272727, -0.7935951723489789], [-1.2323232323232323, -0.7867566172538403], [-1.1919191919191918, -0.7799180621587015], [-1.1515151515151514, -0.7756442297645406], [-1.1111111111111112, -0.7688378051081121], [-1.0707070707070705, -0.7618063629829643], [-1.0303030303030303, -0.7564064798448075], [-0.9898989898989898, -0.7512200170497895], [-0.9494949494949494, -0.747665207353428], [-0.909090909090909, -0.7424535105411133], [-0.8686868686868685, -0.7374318747964203], [-0.8282828282828283, -0.7334655311148816], [-0.7878787878787878, -0.7305431823130709], [-0.7474747474747474, -0.7287876013458963], [-0.707070707070707, -0.724844588567288], [-0.6666666666666665, -0.7197921902919376], [-0.6262626262626261, -0.7136123942668099], [-0.5858585858585856, -0.7072461257582431], [-0.5454545454545454, -0.7030341408611755], [-0.505050505050505, -0.7067188813078732], [-0.46464646464646453, -0.7034534229766388], [-0.4242424242424241, -0.7047084053560418], [-0.38383838383838365, -0.7068355041851596], [-0.3434343434343432, -0.7099548134062743], [-0.303030303030303, -0.7221625783685622], [-0.26262626262626254, -0.7309458040183057], [-0.2222222222222221, -0.7349386511553068], [-0.18181818181818166, -0.7530102278542111], [-0.14141414141414121, -0.763835774905724], [-0.10101010101010077, -0.7727955338167211], [-0.06060606060606055, -0.7891490656923631], [-0.02020202020202011, -0.8110470196485785], [0.020202020202020332, -0.831041919376545], [0.060606060606060996, -0.8440189842892012], [0.10101010101010122, -0.8731890178508365], [0.14141414141414144, -0.8670499661970003], [0.1818181818181821, -0.8935299877411599], [0.22222222222222232, -0.9185499977587588], [0.262626262626263, -0.9337795614910729], [0.3030303030303032, -0.9485837443510042], [0.3434343434343434, -0.9647580332406251], [0.3838383838383841, -0.9897143909397483], [0.4242424242424243, -1.0122586376486267], [0.464646464646465, -1.0370455064089545], [0.5050505050505052, -1.0663252077902636], [0.5454545454545459, -1.0954965922251028], [0.5858585858585861, -1.1233297890235145], [0.6262626262626263, -1.1511629858219266], [0.666666666666667, -1.1789002162853366], [0.7070707070707072, -1.2068293794187506], [0.7474747474747478, -1.2346625762171628], [0.7878787878787881, -1.262305516691213], [0.8282828282828287, -1.2882219092074016], [0.868686868686869, -1.300593265011253], [0.9090909090909092, -1.323140739453341], [0.9494949494949498, -1.3521944193381759], [0.9898989898989901, -1.380817912162975], [1.0303030303030307, -1.4031686163477262], [1.070707070707071, -1.4300601980377734], [1.1111111111111112, -1.4569159506120886], [1.1515151515151518, -1.483664109283591], [1.191919191919192, -1.5152192312732495], [1.2323232323232327, -1.5520285803951734], [1.272727272727273, -1.588837929517097], [1.3131313131313136, -1.6236536914775617], [1.3535353535353538, -1.6516799561667583], [1.393939393939394, -1.6797062208559552], [1.4343434343434347, -1.7074630539452107], [1.474747474747475, -1.7352062988402333], [1.5151515151515156, -1.7629495437352558], [1.5555555555555558, -1.790692788630278], [1.5959595959595965, -1.8184360335253005], [1.6363636363636367, -1.8461792784203228], [1.676767676767677, -1.8739225233153451], [1.7171717171717176, -1.901665768210368], [1.7575757575757578, -1.9294090131053898], [1.7979797979797985, -1.9571522580004126], [1.8383838383838387, -1.9832832650982006], [1.878787878787879, -2.0090548422473145], [1.9191919191919196, -2.0369636772739566], [1.9595959595959598, -2.067460465045427], [2.0, -2.096165602453018], [2.0, 0.6407154702862438], [2.0, 0.6407154702862438], [1.9595959595959598, 0.6306079122014836], [1.9191919191919196, 0.6201660223461566], [1.878787878787879, 0.6097241324908292], [1.8383838383838387, 0.5992822426355022], [1.7979797979797985, 0.588708126548152], [1.7575757575757578, 0.5782543142511031], [1.7171717171717176, 0.5642376107714968], [1.676767676767677, 0.5489327773448875], [1.6363636363636367, 0.5336214515920832], [1.5959595959595965, 0.5182753485644099], [1.5555555555555558, 0.5029292455367366], [1.5151515151515156, 0.49123547937471995], [1.474747474747475, 0.485323984766012], [1.4343434343434347, 0.47941249015730414], [1.393939393939394, 0.4735009955485962], [1.3535353535353538, 0.4603299409159362], [1.3131313131313136, 0.4496609287293895], [1.272727272727273, 0.43767583382094716], [1.2323232323232327, 0.4255903860894499], [1.191919191919192, 0.41545703618007884], [1.1515151515151518, 0.4033106138315871], [1.1111111111111112, 0.3967416622081749], [1.070707070707071, 0.394221207184314], [1.0303030303030307, 0.3897636502920108], [0.9898989898989901, 0.379331568791643], [0.9494949494949498, 0.36879469924861236], [0.9090909090909092, 0.3567906311723993], [0.868686868686869, 0.3458714910875791], [0.8282828282828287, 0.33735830093148916], [0.7878787878787881, 0.32694289263685933], [0.7474747474747478, 0.3165274843422296], [0.7070707070707072, 0.30611207604759993], [0.666666666666667, 0.29569666775297015], [0.6262626262626263, 0.2852812594583403], [0.5858585858585861, 0.27486585116371076], [0.5454545454545459, 0.2669109794077931], [0.5050505050505052, 0.2642834654240201], [0.464646464646465, 0.26165595144024706], [0.4242424242424243, 0.2558443778431198], [0.3838383838383841, 0.23680161576823516], [0.3434343434343434, 0.2236525775825098], [0.3030303030303032, 0.2194799806734843], [0.262626262626263, 0.21955143044904699], [0.22222222222222232, 0.21025310500527805], [0.1818181818181821, 0.20049110410655197], [0.14141414141414144, 0.19518420853233645], [0.10101010101010122, 0.19036182549498107], [0.060606060606060996, 0.1871781669832552], [0.020202020202020332, 0.18173590904346004], [-0.02020202020202011, 0.17814031755681228], [-0.06060606060606055, 0.1703778406331454], [-0.10101010101010077, 0.17140758689521157], [-0.14141414141414121, 0.1704203845016361], [-0.18181818181818166, 0.17213316815066057], [-0.2222222222222221, 0.16857691597403565], [-0.26262626262626254, 0.16257150974070114], [-0.303030303030303, 0.16382658370564443], [-0.3434343434343432, 0.16022023672459784], [-0.38383838383838365, 0.15853967229512117], [-0.4242424242424241, 0.16658282115893602], [-0.46464646464646453, 0.16406869415396352], [-0.505050505050505, 0.1784753609074122], [-0.5454545454545454, 0.19281783388434826], [-0.5858585858585856, 0.19706291227782058], [-0.6262626262626261, 0.20718405048858735], [-0.6666666666666665, 0.2105499429791229], [-0.707070707070707, 0.2254365496652069], [-0.7474747474747474, 0.23550158460822823], [-0.7878787878787878, 0.24969992528660592], [-0.8282828282828283, 0.2680812905704291], [-0.8686868686868685, 0.2796081250751857], [-0.909090909090909, 0.2920924162496419], [-0.9494949494949494, 0.306223246570654], [-0.9898989898989898, 0.3164461437637168], [-1.0303030303030303, 0.32438632870167833], [-1.0707070707070705, 0.34607136365249863], [-1.1111111111111112, 0.36058892005161636], [-1.1515151515151514, 0.376877398175714], [-1.1919191919191918, 0.3966592906718521], [-1.2323232323232323, 0.41705556330741417], [-1.2727272727272727, 0.43539514765992665], [-1.3131313131313131, 0.4673175664306447], [-1.3535353535353534, 0.4908918799355718], [-1.393939393939394, 0.5144661934404994], [-1.4343434343434343, 0.5380655618822714], [-1.4747474747474747, 0.564838024966999], [-1.5151515151515151, 0.5867761183913602], [-1.5555555555555556, 0.6086221357003231], [-1.595959595959596, 0.6289092947404834], [-1.6363636363636362, 0.6530100291735791], [-1.6767676767676767, 0.6836371320407635], [-1.7171717171717171, 0.7131986835953519], [-1.7575757575757576, 0.7447333807912772], [-1.797979797979798, 0.7757343620972814], [-1.8383838383838385, 0.8063144069328404], [-1.878787878787879, 0.8366151435559434], [-1.9191919191919191, 0.866915880179046], [-1.9595959595959596, 0.8876040560202608], [-2.0, 0.9078224653756537]], [\"M\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"Z\"]]], \"edgewidths\": [0.3], \"zorder\": 1, \"offsets\": \"data03\"}], \"xlim\": [-2.0, 2.0], \"xdomain\": [-2.0, 2.0], \"ydomain\": [-3.0, 3.0], \"axesbg\": \"#EAEAF2\", \"axesbgalpha\": null, \"ylim\": [-3.0, 3.0], \"xscale\": \"linear\", \"yscale\": \"linear\", \"paths\": [], \"texts\": [{\"alpha\": 1, \"text\": \"a\", \"id\": \"el22480140662043707264\", \"fontsize\": 11.0, \"zorder\": 3, \"position\": [0.5, -0.06969696969696969], \"h_anchor\": \"middle\", \"rotation\": -0.0, \"v_baseline\": \"hanging\", \"color\": \"#262626\", \"coordinates\": \"axes\"}, {\"alpha\": 1, \"text\": \"b\", \"id\": \"el22480140660265436664\", \"fontsize\": 11.0, \"zorder\": 3, \"position\": [-0.05248655913978495, 0.5], \"h_anchor\": \"middle\", \"rotation\": -90.0, \"v_baseline\": \"auto\", \"color\": \"#262626\", \"coordinates\": \"axes\"}], \"markers\": [], \"zoomable\": true, \"bbox\": [0.125, 0.09999999999999998, 0.775, 0.8], \"id\": \"el22480140660265492320\", \"images\": [], \"lines\": [{\"zorder\": 2, \"linewidth\": 2.625, \"alpha\": 1, \"data\": \"data01\", \"xindex\": 0, \"color\": \"#4C72B0\", \"yindex\": 1, \"id\": \"el22480140660255500720\", \"dasharray\": \"10,0\", \"coordinates\": \"data\"}], \"axes\": [{\"fontsize\": 10.0, \"grid\": {\"alpha\": 1.0, \"color\": \"#FFFFFF\", \"dasharray\": \"10,0\", \"gridOn\": true}, \"tickformat\": null, \"nticks\": 9, \"tickvalues\": null, \"position\": \"bottom\", \"scale\": \"linear\"}, {\"fontsize\": 10.0, \"grid\": {\"alpha\": 1.0, \"color\": \"#FFFFFF\", \"dasharray\": \"10,0\", \"gridOn\": true}, \"tickformat\": null, \"nticks\": 7, \"tickvalues\": null, \"position\": \"left\", \"scale\": \"linear\"}]}]});\n", | |
" }(mpld3);\n", | |
"}else if(typeof define === \"function\" && define.amd){\n", | |
" // require.js is available: use it to load d3/mpld3\n", | |
" require.config({paths: {d3: \"https://mpld3.github.io/js/d3.v3.min\"}});\n", | |
" require([\"d3\"], function(d3){\n", | |
" window.d3 = d3;\n", | |
" mpld3_load_lib(\"https://mpld3.github.io/js/mpld3.v0.2.js\", function(){\n", | |
" \n", | |
" mpld3.draw_figure(\"fig_el224801406602652022966631517980\", {\"data\": {\"data01\": [[-2.0, -0.1603860859616022], [-1.9595959595959596, -0.16261872546353445], [-1.9191919191919191, -0.16485136496546665], [-1.878787878787879, -0.1670840044673989], [-1.8383838383838385, -0.1693166439693311], [-1.797979797979798, -0.17154928347126336], [-1.7575757575757576, -0.1737819229731956], [-1.7171717171717171, -0.1760145624751278], [-1.6767676767676767, -0.17824720197706007], [-1.6363636363636362, -0.1804798414789923], [-1.595959595959596, -0.18271248098092452], [-1.5555555555555556, -0.18494512048285677], [-1.5151515151515151, -0.18717775998478897], [-1.4747474747474747, -0.18941039948672123], [-1.4343434343434343, -0.19164303898865345], [-1.393939393939394, -0.19387567849058568], [-1.3535353535353534, -0.19610831799251793], [-1.3131313131313131, -0.19834095749445013], [-1.2727272727272727, -0.2005735969963824], [-1.2323232323232323, -0.2028062364983146], [-1.1919191919191918, -0.20503887600024684], [-1.1515151515151514, -0.2072715155021791], [-1.1111111111111112, -0.2095041550041113], [-1.0707070707070705, -0.21173679450604355], [-1.0303030303030303, -0.21396943400797577], [-0.9898989898989898, -0.216202073509908], [-0.9494949494949494, -0.21843471301184025], [-0.909090909090909, -0.22066735251377248], [-0.8686868686868685, -0.2228999920157047], [-0.8282828282828283, -0.22513263151763693], [-0.7878787878787878, -0.22736527101956916], [-0.7474747474747474, -0.2295979105215014], [-0.707070707070707, -0.23183055002343364], [-0.6666666666666665, -0.23406318952536587], [-0.6262626262626261, -0.23629582902729812], [-0.5858585858585856, -0.23852846852923035], [-0.5454545454545454, -0.24076110803116257], [-0.505050505050505, -0.2429937475330948], [-0.46464646464646453, -0.24522638703502703], [-0.4242424242424241, -0.24745902653695928], [-0.38383838383838365, -0.2496916660388915], [-0.3434343434343432, -0.25192430554082373], [-0.303030303030303, -0.254156945042756], [-0.26262626262626254, -0.2563895845446882], [-0.2222222222222221, -0.25862222404662044], [-0.18181818181818166, -0.26085486354855264], [-0.14141414141414121, -0.2630875030504849], [-0.10101010101010077, -0.26532014255241715], [-0.06060606060606055, -0.26755278205434935], [-0.02020202020202011, -0.2697854215562816], [0.020202020202020332, -0.2720180610582138], [0.060606060606060996, -0.27425070056014605], [0.10101010101010122, -0.2764833400620783], [0.14141414141414144, -0.2787159795640105], [0.1818181818181821, -0.28094861906594276], [0.22222222222222232, -0.28318125856787496], [0.262626262626263, -0.2854138980698072], [0.3030303030303032, -0.28764653757173947], [0.3434343434343434, -0.28987917707367167], [0.3838383838383841, -0.2921118165756039], [0.4242424242424243, -0.2943444560775361], [0.464646464646465, -0.2965770955794684], [0.5050505050505052, -0.29880973508140063], [0.5454545454545459, -0.3010423745833329], [0.5858585858585861, -0.3032750140852651], [0.6262626262626263, -0.3055076535871973], [0.666666666666667, -0.30774029308912954], [0.7070707070707072, -0.3099729325910618], [0.7474747474747478, -0.31220557209299404], [0.7878787878787881, -0.31443821159492624], [0.8282828282828287, -0.3166708510968585], [0.868686868686869, -0.3189034905987907], [0.9090909090909092, -0.32113613010072295], [0.9494949494949498, -0.3233687696026552], [0.9898989898989901, -0.3256014091045874], [1.0303030303030307, -0.32783404860651966], [1.070707070707071, -0.33006668810845186], [1.1111111111111112, -0.3322993276103841], [1.1515151515151518, -0.33453196711231636], [1.191919191919192, -0.33676460661424856], [1.2323232323232327, -0.3389972461161808], [1.272727272727273, -0.341229885618113], [1.3131313131313136, -0.34346252512004527], [1.3535353535353538, -0.34569516462197747], [1.393939393939394, -0.3479278041239097], [1.4343434343434347, -0.350160443625842], [1.474747474747475, -0.3523930831277742], [1.5151515151515156, -0.35462572262970643], [1.5555555555555558, -0.3568583621316387], [1.5959595959595965, -0.3590910016335709], [1.6363636363636367, -0.36132364113550314], [1.676767676767677, -0.36355628063743534], [1.7171717171717176, -0.3657889201393676], [1.7575757575757578, -0.3680215596412998], [1.7979797979797985, -0.3702541991432321], [1.8383838383838387, -0.3724868386451643], [1.878787878787879, -0.3747194781470965], [1.9191919191919196, -0.37695211764902875], [1.9595959595959598, -0.379184757150961], [2.0, -0.3814173966528932]], \"data02\": [[0.4967141530112327, -0.13826430117118466], [0.6476885381006925, 1.5230298564080254], [-0.23415337472333597, -0.23413695694918055], [1.5792128155073915, 0.7674347291529088], [-0.4694743859349521, 0.5425600435859647], [-0.46341769281246226, -0.46572975357025687], [0.24196227156603412, -1.913280244657798], [-1.7249178325130328, -0.5622875292409727], [-1.0128311203344238, 0.3142473325952739], [-0.9080240755212109, -1.4123037013352915], [1.465648768921554, -0.22577630048653566], [0.06752820468792384, -1.4247481862134568], [-0.5443827245251827, 0.11092258970986608], [-1.1509935774223028, 0.37569801834567196], [-0.600638689918805, -0.2916937497932768], [-0.6017066122293969, 1.8522781845089378], [-0.013497224737933921, -1.0577109289559004], [0.822544912103189, -1.2208436499710222], [0.2088635950047554, -1.9596701238797756], [-1.3281860488984305, 0.19686123586912352]], \"data03\": [[0.0, 0.0]]}, \"plugins\": [{\"type\": \"reset\"}, {\"type\": \"zoom\", \"enabled\": false, \"button\": true}, {\"type\": \"boxzoom\", \"enabled\": false, \"button\": true}, {\"location\": \"mouse\", \"voffset\": 10, \"labels\": [\"Point #0\", \"Point #1\", \"Point #2\", \"Point #3\", \"Point #4\", \"Point #5\", \"Point #6\", \"Point #7\", \"Point #8\", \"Point #9\", \"Point #10\", \"Point #11\", \"Point #12\", \"Point #13\", \"Point #14\", \"Point #15\", \"Point #16\", \"Point #17\", \"Point #18\", \"Point #19\"], \"hoffset\": 0, \"type\": \"tooltip\", \"id\": \"el22480140660255950272\"}], \"height\": 550.0, \"width\": 800.0, \"id\": \"el22480140660265202296\", \"axes\": [{\"sharey\": [], \"sharex\": [], \"collections\": [{\"edgecolors\": [\"#4C72B0\"], \"xindex\": 0, \"alphas\": [0.8], \"facecolors\": [\"#4C72B0\"], \"offsetcoordinates\": \"data\", \"pathtransforms\": [[6.211299937499415, 0.0, 0.0, 6.211299937499415, 0.0, 0.0]], \"pathcoordinates\": \"display\", \"yindex\": 1, \"id\": \"el22480140660255950272\", \"paths\": [[[[0.0, -0.5], [0.13260155, -0.5], [0.25978993539242673, -0.44731684579412084], [0.3535533905932738, -0.3535533905932738], [0.44731684579412084, -0.25978993539242673], [0.5, -0.13260155], [0.5, 0.0], [0.5, 0.13260155], [0.44731684579412084, 0.25978993539242673], [0.3535533905932738, 0.3535533905932738], [0.25978993539242673, 0.44731684579412084], [0.13260155, 0.5], [0.0, 0.5], [-0.13260155, 0.5], [-0.25978993539242673, 0.44731684579412084], [-0.3535533905932738, 0.3535533905932738], [-0.44731684579412084, 0.25978993539242673], [-0.5, 0.13260155], [-0.5, 0.0], [-0.5, -0.13260155], [-0.44731684579412084, -0.25978993539242673], [-0.3535533905932738, -0.3535533905932738], [-0.25978993539242673, -0.44731684579412084], [-0.13260155, -0.5], [0.0, -0.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]]], \"edgewidths\": [0.0], \"zorder\": 1, \"offsets\": \"data02\"}, {\"edgecolors\": [\"#EEEEEE\"], \"xindex\": 0, \"alphas\": [0.15], \"facecolors\": [\"#4C72B0\"], \"offsetcoordinates\": \"display\", \"pathtransforms\": [], \"pathcoordinates\": \"data\", \"yindex\": 1, \"id\": \"el22480140660255500888\", \"paths\": [[[[-2.0, 0.9078224653756537], [-2.0, -1.0274835738790484], [-1.9595959595959596, -1.0150980756010792], [-1.9191919191919191, -0.9985173293084726], [-1.878787878787879, -0.9799835359887054], [-1.8383838383838385, -0.9582630697856125], [-1.797979797979798, -0.9413069887561306], [-1.7575757575757576, -0.9322793067868943], [-1.7171717171717171, -0.9211928573680542], [-1.6767676767676767, -0.9120839549948874], [-1.6363636363636362, -0.9028614121898317], [-1.595959595959596, -0.8883529669811677], [-1.5555555555555556, -0.869561875772372], [-1.5151515151515151, -0.8549838405050255], [-1.4747474747474747, -0.8484171327716122], [-1.4343434343434343, -0.8408211440439548], [-1.393939393939394, -0.835573763057687], [-1.3535353535353534, -0.8270543868939318], [-1.3131313131313131, -0.8100277140888095], [-1.2727272727272727, -0.7935951723489789], [-1.2323232323232323, -0.7867566172538403], [-1.1919191919191918, -0.7799180621587015], [-1.1515151515151514, -0.7756442297645406], [-1.1111111111111112, -0.7688378051081121], [-1.0707070707070705, -0.7618063629829643], [-1.0303030303030303, -0.7564064798448075], [-0.9898989898989898, -0.7512200170497895], [-0.9494949494949494, -0.747665207353428], [-0.909090909090909, -0.7424535105411133], [-0.8686868686868685, -0.7374318747964203], [-0.8282828282828283, -0.7334655311148816], [-0.7878787878787878, -0.7305431823130709], [-0.7474747474747474, -0.7287876013458963], [-0.707070707070707, -0.724844588567288], [-0.6666666666666665, -0.7197921902919376], [-0.6262626262626261, -0.7136123942668099], [-0.5858585858585856, -0.7072461257582431], [-0.5454545454545454, -0.7030341408611755], [-0.505050505050505, -0.7067188813078732], [-0.46464646464646453, -0.7034534229766388], [-0.4242424242424241, -0.7047084053560418], [-0.38383838383838365, -0.7068355041851596], [-0.3434343434343432, -0.7099548134062743], [-0.303030303030303, -0.7221625783685622], [-0.26262626262626254, -0.7309458040183057], [-0.2222222222222221, -0.7349386511553068], [-0.18181818181818166, -0.7530102278542111], [-0.14141414141414121, -0.763835774905724], [-0.10101010101010077, -0.7727955338167211], [-0.06060606060606055, -0.7891490656923631], [-0.02020202020202011, -0.8110470196485785], [0.020202020202020332, -0.831041919376545], [0.060606060606060996, -0.8440189842892012], [0.10101010101010122, -0.8731890178508365], [0.14141414141414144, -0.8670499661970003], [0.1818181818181821, -0.8935299877411599], [0.22222222222222232, -0.9185499977587588], [0.262626262626263, -0.9337795614910729], [0.3030303030303032, -0.9485837443510042], [0.3434343434343434, -0.9647580332406251], [0.3838383838383841, -0.9897143909397483], [0.4242424242424243, -1.0122586376486267], [0.464646464646465, -1.0370455064089545], [0.5050505050505052, -1.0663252077902636], [0.5454545454545459, -1.0954965922251028], [0.5858585858585861, -1.1233297890235145], [0.6262626262626263, -1.1511629858219266], [0.666666666666667, -1.1789002162853366], [0.7070707070707072, -1.2068293794187506], [0.7474747474747478, -1.2346625762171628], [0.7878787878787881, -1.262305516691213], [0.8282828282828287, -1.2882219092074016], [0.868686868686869, -1.300593265011253], [0.9090909090909092, -1.323140739453341], [0.9494949494949498, -1.3521944193381759], [0.9898989898989901, -1.380817912162975], [1.0303030303030307, -1.4031686163477262], [1.070707070707071, -1.4300601980377734], [1.1111111111111112, -1.4569159506120886], [1.1515151515151518, -1.483664109283591], [1.191919191919192, -1.5152192312732495], [1.2323232323232327, -1.5520285803951734], [1.272727272727273, -1.588837929517097], [1.3131313131313136, -1.6236536914775617], [1.3535353535353538, -1.6516799561667583], [1.393939393939394, -1.6797062208559552], [1.4343434343434347, -1.7074630539452107], [1.474747474747475, -1.7352062988402333], [1.5151515151515156, -1.7629495437352558], [1.5555555555555558, -1.790692788630278], [1.5959595959595965, -1.8184360335253005], [1.6363636363636367, -1.8461792784203228], [1.676767676767677, -1.8739225233153451], [1.7171717171717176, -1.901665768210368], [1.7575757575757578, -1.9294090131053898], [1.7979797979797985, -1.9571522580004126], [1.8383838383838387, -1.9832832650982006], [1.878787878787879, -2.0090548422473145], [1.9191919191919196, -2.0369636772739566], [1.9595959595959598, -2.067460465045427], [2.0, -2.096165602453018], [2.0, 0.6407154702862438], [2.0, 0.6407154702862438], [1.9595959595959598, 0.6306079122014836], [1.9191919191919196, 0.6201660223461566], [1.878787878787879, 0.6097241324908292], [1.8383838383838387, 0.5992822426355022], [1.7979797979797985, 0.588708126548152], [1.7575757575757578, 0.5782543142511031], [1.7171717171717176, 0.5642376107714968], [1.676767676767677, 0.5489327773448875], [1.6363636363636367, 0.5336214515920832], [1.5959595959595965, 0.5182753485644099], [1.5555555555555558, 0.5029292455367366], [1.5151515151515156, 0.49123547937471995], [1.474747474747475, 0.485323984766012], [1.4343434343434347, 0.47941249015730414], [1.393939393939394, 0.4735009955485962], [1.3535353535353538, 0.4603299409159362], [1.3131313131313136, 0.4496609287293895], [1.272727272727273, 0.43767583382094716], [1.2323232323232327, 0.4255903860894499], [1.191919191919192, 0.41545703618007884], [1.1515151515151518, 0.4033106138315871], [1.1111111111111112, 0.3967416622081749], [1.070707070707071, 0.394221207184314], [1.0303030303030307, 0.3897636502920108], [0.9898989898989901, 0.379331568791643], [0.9494949494949498, 0.36879469924861236], [0.9090909090909092, 0.3567906311723993], [0.868686868686869, 0.3458714910875791], [0.8282828282828287, 0.33735830093148916], [0.7878787878787881, 0.32694289263685933], [0.7474747474747478, 0.3165274843422296], [0.7070707070707072, 0.30611207604759993], [0.666666666666667, 0.29569666775297015], [0.6262626262626263, 0.2852812594583403], [0.5858585858585861, 0.27486585116371076], [0.5454545454545459, 0.2669109794077931], [0.5050505050505052, 0.2642834654240201], [0.464646464646465, 0.26165595144024706], [0.4242424242424243, 0.2558443778431198], [0.3838383838383841, 0.23680161576823516], [0.3434343434343434, 0.2236525775825098], [0.3030303030303032, 0.2194799806734843], [0.262626262626263, 0.21955143044904699], [0.22222222222222232, 0.21025310500527805], [0.1818181818181821, 0.20049110410655197], [0.14141414141414144, 0.19518420853233645], [0.10101010101010122, 0.19036182549498107], [0.060606060606060996, 0.1871781669832552], [0.020202020202020332, 0.18173590904346004], [-0.02020202020202011, 0.17814031755681228], [-0.06060606060606055, 0.1703778406331454], [-0.10101010101010077, 0.17140758689521157], [-0.14141414141414121, 0.1704203845016361], [-0.18181818181818166, 0.17213316815066057], [-0.2222222222222221, 0.16857691597403565], [-0.26262626262626254, 0.16257150974070114], [-0.303030303030303, 0.16382658370564443], [-0.3434343434343432, 0.16022023672459784], [-0.38383838383838365, 0.15853967229512117], [-0.4242424242424241, 0.16658282115893602], [-0.46464646464646453, 0.16406869415396352], [-0.505050505050505, 0.1784753609074122], [-0.5454545454545454, 0.19281783388434826], [-0.5858585858585856, 0.19706291227782058], [-0.6262626262626261, 0.20718405048858735], [-0.6666666666666665, 0.2105499429791229], [-0.707070707070707, 0.2254365496652069], [-0.7474747474747474, 0.23550158460822823], [-0.7878787878787878, 0.24969992528660592], [-0.8282828282828283, 0.2680812905704291], [-0.8686868686868685, 0.2796081250751857], [-0.909090909090909, 0.2920924162496419], [-0.9494949494949494, 0.306223246570654], [-0.9898989898989898, 0.3164461437637168], [-1.0303030303030303, 0.32438632870167833], [-1.0707070707070705, 0.34607136365249863], [-1.1111111111111112, 0.36058892005161636], [-1.1515151515151514, 0.376877398175714], [-1.1919191919191918, 0.3966592906718521], [-1.2323232323232323, 0.41705556330741417], [-1.2727272727272727, 0.43539514765992665], [-1.3131313131313131, 0.4673175664306447], [-1.3535353535353534, 0.4908918799355718], [-1.393939393939394, 0.5144661934404994], [-1.4343434343434343, 0.5380655618822714], [-1.4747474747474747, 0.564838024966999], [-1.5151515151515151, 0.5867761183913602], [-1.5555555555555556, 0.6086221357003231], [-1.595959595959596, 0.6289092947404834], [-1.6363636363636362, 0.6530100291735791], [-1.6767676767676767, 0.6836371320407635], [-1.7171717171717171, 0.7131986835953519], [-1.7575757575757576, 0.7447333807912772], [-1.797979797979798, 0.7757343620972814], [-1.8383838383838385, 0.8063144069328404], [-1.878787878787879, 0.8366151435559434], [-1.9191919191919191, 0.866915880179046], [-1.9595959595959596, 0.8876040560202608], [-2.0, 0.9078224653756537]], [\"M\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"Z\"]]], \"edgewidths\": [0.3], \"zorder\": 1, \"offsets\": \"data03\"}], \"xlim\": [-2.0, 2.0], \"xdomain\": [-2.0, 2.0], \"ydomain\": [-3.0, 3.0], \"axesbg\": \"#EAEAF2\", \"axesbgalpha\": null, \"ylim\": [-3.0, 3.0], \"xscale\": \"linear\", \"yscale\": \"linear\", \"paths\": [], \"texts\": [{\"alpha\": 1, \"text\": \"a\", \"id\": \"el22480140662043707264\", \"fontsize\": 11.0, \"zorder\": 3, \"position\": [0.5, -0.06969696969696969], \"h_anchor\": \"middle\", \"rotation\": -0.0, \"v_baseline\": \"hanging\", \"color\": \"#262626\", \"coordinates\": \"axes\"}, {\"alpha\": 1, \"text\": \"b\", \"id\": \"el22480140660265436664\", \"fontsize\": 11.0, \"zorder\": 3, \"position\": [-0.05248655913978495, 0.5], \"h_anchor\": \"middle\", \"rotation\": -90.0, \"v_baseline\": \"auto\", \"color\": \"#262626\", \"coordinates\": \"axes\"}], \"markers\": [], \"zoomable\": true, \"bbox\": [0.125, 0.09999999999999998, 0.775, 0.8], \"id\": \"el22480140660265492320\", \"images\": [], \"lines\": [{\"zorder\": 2, \"linewidth\": 2.625, \"alpha\": 1, \"data\": \"data01\", \"xindex\": 0, \"color\": \"#4C72B0\", \"yindex\": 1, \"id\": \"el22480140660255500720\", \"dasharray\": \"10,0\", \"coordinates\": \"data\"}], \"axes\": [{\"fontsize\": 10.0, \"grid\": {\"alpha\": 1.0, \"color\": \"#FFFFFF\", \"dasharray\": \"10,0\", \"gridOn\": true}, \"tickformat\": null, \"nticks\": 9, \"tickvalues\": null, \"position\": \"bottom\", \"scale\": \"linear\"}, {\"fontsize\": 10.0, \"grid\": {\"alpha\": 1.0, \"color\": \"#FFFFFF\", \"dasharray\": \"10,0\", \"gridOn\": true}, \"tickformat\": null, \"nticks\": 7, \"tickvalues\": null, \"position\": \"left\", \"scale\": \"linear\"}]}]});\n", | |
" });\n", | |
" });\n", | |
"}else{\n", | |
" // require.js not available: dynamically load d3 & mpld3\n", | |
" mpld3_load_lib(\"https://mpld3.github.io/js/d3.v3.min.js\", function(){\n", | |
" mpld3_load_lib(\"https://mpld3.github.io/js/mpld3.v0.2.js\", function(){\n", | |
" \n", | |
" mpld3.draw_figure(\"fig_el224801406602652022966631517980\", {\"data\": {\"data01\": [[-2.0, -0.1603860859616022], [-1.9595959595959596, -0.16261872546353445], [-1.9191919191919191, -0.16485136496546665], [-1.878787878787879, -0.1670840044673989], [-1.8383838383838385, -0.1693166439693311], [-1.797979797979798, -0.17154928347126336], [-1.7575757575757576, -0.1737819229731956], [-1.7171717171717171, -0.1760145624751278], [-1.6767676767676767, -0.17824720197706007], [-1.6363636363636362, -0.1804798414789923], [-1.595959595959596, -0.18271248098092452], [-1.5555555555555556, -0.18494512048285677], [-1.5151515151515151, -0.18717775998478897], [-1.4747474747474747, -0.18941039948672123], [-1.4343434343434343, -0.19164303898865345], [-1.393939393939394, -0.19387567849058568], [-1.3535353535353534, -0.19610831799251793], [-1.3131313131313131, -0.19834095749445013], [-1.2727272727272727, -0.2005735969963824], [-1.2323232323232323, -0.2028062364983146], [-1.1919191919191918, -0.20503887600024684], [-1.1515151515151514, -0.2072715155021791], [-1.1111111111111112, -0.2095041550041113], [-1.0707070707070705, -0.21173679450604355], [-1.0303030303030303, -0.21396943400797577], [-0.9898989898989898, -0.216202073509908], [-0.9494949494949494, -0.21843471301184025], [-0.909090909090909, -0.22066735251377248], [-0.8686868686868685, -0.2228999920157047], [-0.8282828282828283, -0.22513263151763693], [-0.7878787878787878, -0.22736527101956916], [-0.7474747474747474, -0.2295979105215014], [-0.707070707070707, -0.23183055002343364], [-0.6666666666666665, -0.23406318952536587], [-0.6262626262626261, -0.23629582902729812], [-0.5858585858585856, -0.23852846852923035], [-0.5454545454545454, -0.24076110803116257], [-0.505050505050505, -0.2429937475330948], [-0.46464646464646453, -0.24522638703502703], [-0.4242424242424241, -0.24745902653695928], [-0.38383838383838365, -0.2496916660388915], [-0.3434343434343432, -0.25192430554082373], [-0.303030303030303, -0.254156945042756], [-0.26262626262626254, -0.2563895845446882], [-0.2222222222222221, -0.25862222404662044], [-0.18181818181818166, -0.26085486354855264], [-0.14141414141414121, -0.2630875030504849], [-0.10101010101010077, -0.26532014255241715], [-0.06060606060606055, -0.26755278205434935], [-0.02020202020202011, -0.2697854215562816], [0.020202020202020332, -0.2720180610582138], [0.060606060606060996, -0.27425070056014605], [0.10101010101010122, -0.2764833400620783], [0.14141414141414144, -0.2787159795640105], [0.1818181818181821, -0.28094861906594276], [0.22222222222222232, -0.28318125856787496], [0.262626262626263, -0.2854138980698072], [0.3030303030303032, -0.28764653757173947], [0.3434343434343434, -0.28987917707367167], [0.3838383838383841, -0.2921118165756039], [0.4242424242424243, -0.2943444560775361], [0.464646464646465, -0.2965770955794684], [0.5050505050505052, -0.29880973508140063], [0.5454545454545459, -0.3010423745833329], [0.5858585858585861, -0.3032750140852651], [0.6262626262626263, -0.3055076535871973], [0.666666666666667, -0.30774029308912954], [0.7070707070707072, -0.3099729325910618], [0.7474747474747478, -0.31220557209299404], [0.7878787878787881, -0.31443821159492624], [0.8282828282828287, -0.3166708510968585], [0.868686868686869, -0.3189034905987907], [0.9090909090909092, -0.32113613010072295], [0.9494949494949498, -0.3233687696026552], [0.9898989898989901, -0.3256014091045874], [1.0303030303030307, -0.32783404860651966], [1.070707070707071, -0.33006668810845186], [1.1111111111111112, -0.3322993276103841], [1.1515151515151518, -0.33453196711231636], [1.191919191919192, -0.33676460661424856], [1.2323232323232327, -0.3389972461161808], [1.272727272727273, -0.341229885618113], [1.3131313131313136, -0.34346252512004527], [1.3535353535353538, -0.34569516462197747], [1.393939393939394, -0.3479278041239097], [1.4343434343434347, -0.350160443625842], [1.474747474747475, -0.3523930831277742], [1.5151515151515156, -0.35462572262970643], [1.5555555555555558, -0.3568583621316387], [1.5959595959595965, -0.3590910016335709], [1.6363636363636367, -0.36132364113550314], [1.676767676767677, -0.36355628063743534], [1.7171717171717176, -0.3657889201393676], [1.7575757575757578, -0.3680215596412998], [1.7979797979797985, -0.3702541991432321], [1.8383838383838387, -0.3724868386451643], [1.878787878787879, -0.3747194781470965], [1.9191919191919196, -0.37695211764902875], [1.9595959595959598, -0.379184757150961], [2.0, -0.3814173966528932]], \"data02\": [[0.4967141530112327, -0.13826430117118466], [0.6476885381006925, 1.5230298564080254], [-0.23415337472333597, -0.23413695694918055], [1.5792128155073915, 0.7674347291529088], [-0.4694743859349521, 0.5425600435859647], [-0.46341769281246226, -0.46572975357025687], [0.24196227156603412, -1.913280244657798], [-1.7249178325130328, -0.5622875292409727], [-1.0128311203344238, 0.3142473325952739], [-0.9080240755212109, -1.4123037013352915], [1.465648768921554, -0.22577630048653566], [0.06752820468792384, -1.4247481862134568], [-0.5443827245251827, 0.11092258970986608], [-1.1509935774223028, 0.37569801834567196], [-0.600638689918805, -0.2916937497932768], [-0.6017066122293969, 1.8522781845089378], [-0.013497224737933921, -1.0577109289559004], [0.822544912103189, -1.2208436499710222], [0.2088635950047554, -1.9596701238797756], [-1.3281860488984305, 0.19686123586912352]], \"data03\": [[0.0, 0.0]]}, \"plugins\": [{\"type\": \"reset\"}, {\"type\": \"zoom\", \"enabled\": false, \"button\": true}, {\"type\": \"boxzoom\", \"enabled\": false, \"button\": true}, {\"location\": \"mouse\", \"voffset\": 10, \"labels\": [\"Point #0\", \"Point #1\", \"Point #2\", \"Point #3\", \"Point #4\", \"Point #5\", \"Point #6\", \"Point #7\", \"Point #8\", \"Point #9\", \"Point #10\", \"Point #11\", \"Point #12\", \"Point #13\", \"Point #14\", \"Point #15\", \"Point #16\", \"Point #17\", \"Point #18\", \"Point #19\"], \"hoffset\": 0, \"type\": \"tooltip\", \"id\": \"el22480140660255950272\"}], \"height\": 550.0, \"width\": 800.0, \"id\": \"el22480140660265202296\", \"axes\": [{\"sharey\": [], \"sharex\": [], \"collections\": [{\"edgecolors\": [\"#4C72B0\"], \"xindex\": 0, \"alphas\": [0.8], \"facecolors\": [\"#4C72B0\"], \"offsetcoordinates\": \"data\", \"pathtransforms\": [[6.211299937499415, 0.0, 0.0, 6.211299937499415, 0.0, 0.0]], \"pathcoordinates\": \"display\", \"yindex\": 1, \"id\": \"el22480140660255950272\", \"paths\": [[[[0.0, -0.5], [0.13260155, -0.5], [0.25978993539242673, -0.44731684579412084], [0.3535533905932738, -0.3535533905932738], [0.44731684579412084, -0.25978993539242673], [0.5, -0.13260155], [0.5, 0.0], [0.5, 0.13260155], [0.44731684579412084, 0.25978993539242673], [0.3535533905932738, 0.3535533905932738], [0.25978993539242673, 0.44731684579412084], [0.13260155, 0.5], [0.0, 0.5], [-0.13260155, 0.5], [-0.25978993539242673, 0.44731684579412084], [-0.3535533905932738, 0.3535533905932738], [-0.44731684579412084, 0.25978993539242673], [-0.5, 0.13260155], [-0.5, 0.0], [-0.5, -0.13260155], [-0.44731684579412084, -0.25978993539242673], [-0.3535533905932738, -0.3535533905932738], [-0.25978993539242673, -0.44731684579412084], [-0.13260155, -0.5], [0.0, -0.5]], [\"M\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"C\", \"Z\"]]], \"edgewidths\": [0.0], \"zorder\": 1, \"offsets\": \"data02\"}, {\"edgecolors\": [\"#EEEEEE\"], \"xindex\": 0, \"alphas\": [0.15], \"facecolors\": [\"#4C72B0\"], \"offsetcoordinates\": \"display\", \"pathtransforms\": [], \"pathcoordinates\": \"data\", \"yindex\": 1, \"id\": \"el22480140660255500888\", \"paths\": [[[[-2.0, 0.9078224653756537], [-2.0, -1.0274835738790484], [-1.9595959595959596, -1.0150980756010792], [-1.9191919191919191, -0.9985173293084726], [-1.878787878787879, -0.9799835359887054], [-1.8383838383838385, -0.9582630697856125], [-1.797979797979798, -0.9413069887561306], [-1.7575757575757576, -0.9322793067868943], [-1.7171717171717171, -0.9211928573680542], [-1.6767676767676767, -0.9120839549948874], [-1.6363636363636362, -0.9028614121898317], [-1.595959595959596, -0.8883529669811677], [-1.5555555555555556, -0.869561875772372], [-1.5151515151515151, -0.8549838405050255], [-1.4747474747474747, -0.8484171327716122], [-1.4343434343434343, -0.8408211440439548], [-1.393939393939394, -0.835573763057687], [-1.3535353535353534, -0.8270543868939318], [-1.3131313131313131, -0.8100277140888095], [-1.2727272727272727, -0.7935951723489789], [-1.2323232323232323, -0.7867566172538403], [-1.1919191919191918, -0.7799180621587015], [-1.1515151515151514, -0.7756442297645406], [-1.1111111111111112, -0.7688378051081121], [-1.0707070707070705, -0.7618063629829643], [-1.0303030303030303, -0.7564064798448075], [-0.9898989898989898, -0.7512200170497895], [-0.9494949494949494, -0.747665207353428], [-0.909090909090909, -0.7424535105411133], [-0.8686868686868685, -0.7374318747964203], [-0.8282828282828283, -0.7334655311148816], [-0.7878787878787878, -0.7305431823130709], [-0.7474747474747474, -0.7287876013458963], [-0.707070707070707, -0.724844588567288], [-0.6666666666666665, -0.7197921902919376], [-0.6262626262626261, -0.7136123942668099], [-0.5858585858585856, -0.7072461257582431], [-0.5454545454545454, -0.7030341408611755], [-0.505050505050505, -0.7067188813078732], [-0.46464646464646453, -0.7034534229766388], [-0.4242424242424241, -0.7047084053560418], [-0.38383838383838365, -0.7068355041851596], [-0.3434343434343432, -0.7099548134062743], [-0.303030303030303, -0.7221625783685622], [-0.26262626262626254, -0.7309458040183057], [-0.2222222222222221, -0.7349386511553068], [-0.18181818181818166, -0.7530102278542111], [-0.14141414141414121, -0.763835774905724], [-0.10101010101010077, -0.7727955338167211], [-0.06060606060606055, -0.7891490656923631], [-0.02020202020202011, -0.8110470196485785], [0.020202020202020332, -0.831041919376545], [0.060606060606060996, -0.8440189842892012], [0.10101010101010122, -0.8731890178508365], [0.14141414141414144, -0.8670499661970003], [0.1818181818181821, -0.8935299877411599], [0.22222222222222232, -0.9185499977587588], [0.262626262626263, -0.9337795614910729], [0.3030303030303032, -0.9485837443510042], [0.3434343434343434, -0.9647580332406251], [0.3838383838383841, -0.9897143909397483], [0.4242424242424243, -1.0122586376486267], [0.464646464646465, -1.0370455064089545], [0.5050505050505052, -1.0663252077902636], [0.5454545454545459, -1.0954965922251028], [0.5858585858585861, -1.1233297890235145], [0.6262626262626263, -1.1511629858219266], [0.666666666666667, -1.1789002162853366], [0.7070707070707072, -1.2068293794187506], [0.7474747474747478, -1.2346625762171628], [0.7878787878787881, -1.262305516691213], [0.8282828282828287, -1.2882219092074016], [0.868686868686869, -1.300593265011253], [0.9090909090909092, -1.323140739453341], [0.9494949494949498, -1.3521944193381759], [0.9898989898989901, -1.380817912162975], [1.0303030303030307, -1.4031686163477262], [1.070707070707071, -1.4300601980377734], [1.1111111111111112, -1.4569159506120886], [1.1515151515151518, -1.483664109283591], [1.191919191919192, -1.5152192312732495], [1.2323232323232327, -1.5520285803951734], [1.272727272727273, -1.588837929517097], [1.3131313131313136, -1.6236536914775617], [1.3535353535353538, -1.6516799561667583], [1.393939393939394, -1.6797062208559552], [1.4343434343434347, -1.7074630539452107], [1.474747474747475, -1.7352062988402333], [1.5151515151515156, -1.7629495437352558], [1.5555555555555558, -1.790692788630278], [1.5959595959595965, -1.8184360335253005], [1.6363636363636367, -1.8461792784203228], [1.676767676767677, -1.8739225233153451], [1.7171717171717176, -1.901665768210368], [1.7575757575757578, -1.9294090131053898], [1.7979797979797985, -1.9571522580004126], [1.8383838383838387, -1.9832832650982006], [1.878787878787879, -2.0090548422473145], [1.9191919191919196, -2.0369636772739566], [1.9595959595959598, -2.067460465045427], [2.0, -2.096165602453018], [2.0, 0.6407154702862438], [2.0, 0.6407154702862438], [1.9595959595959598, 0.6306079122014836], [1.9191919191919196, 0.6201660223461566], [1.878787878787879, 0.6097241324908292], [1.8383838383838387, 0.5992822426355022], [1.7979797979797985, 0.588708126548152], [1.7575757575757578, 0.5782543142511031], [1.7171717171717176, 0.5642376107714968], [1.676767676767677, 0.5489327773448875], [1.6363636363636367, 0.5336214515920832], [1.5959595959595965, 0.5182753485644099], [1.5555555555555558, 0.5029292455367366], [1.5151515151515156, 0.49123547937471995], [1.474747474747475, 0.485323984766012], [1.4343434343434347, 0.47941249015730414], [1.393939393939394, 0.4735009955485962], [1.3535353535353538, 0.4603299409159362], [1.3131313131313136, 0.4496609287293895], [1.272727272727273, 0.43767583382094716], [1.2323232323232327, 0.4255903860894499], [1.191919191919192, 0.41545703618007884], [1.1515151515151518, 0.4033106138315871], [1.1111111111111112, 0.3967416622081749], [1.070707070707071, 0.394221207184314], [1.0303030303030307, 0.3897636502920108], [0.9898989898989901, 0.379331568791643], [0.9494949494949498, 0.36879469924861236], [0.9090909090909092, 0.3567906311723993], [0.868686868686869, 0.3458714910875791], [0.8282828282828287, 0.33735830093148916], [0.7878787878787881, 0.32694289263685933], [0.7474747474747478, 0.3165274843422296], [0.7070707070707072, 0.30611207604759993], [0.666666666666667, 0.29569666775297015], [0.6262626262626263, 0.2852812594583403], [0.5858585858585861, 0.27486585116371076], [0.5454545454545459, 0.2669109794077931], [0.5050505050505052, 0.2642834654240201], [0.464646464646465, 0.26165595144024706], [0.4242424242424243, 0.2558443778431198], [0.3838383838383841, 0.23680161576823516], [0.3434343434343434, 0.2236525775825098], [0.3030303030303032, 0.2194799806734843], [0.262626262626263, 0.21955143044904699], [0.22222222222222232, 0.21025310500527805], [0.1818181818181821, 0.20049110410655197], [0.14141414141414144, 0.19518420853233645], [0.10101010101010122, 0.19036182549498107], [0.060606060606060996, 0.1871781669832552], [0.020202020202020332, 0.18173590904346004], [-0.02020202020202011, 0.17814031755681228], [-0.06060606060606055, 0.1703778406331454], [-0.10101010101010077, 0.17140758689521157], [-0.14141414141414121, 0.1704203845016361], [-0.18181818181818166, 0.17213316815066057], [-0.2222222222222221, 0.16857691597403565], [-0.26262626262626254, 0.16257150974070114], [-0.303030303030303, 0.16382658370564443], [-0.3434343434343432, 0.16022023672459784], [-0.38383838383838365, 0.15853967229512117], [-0.4242424242424241, 0.16658282115893602], [-0.46464646464646453, 0.16406869415396352], [-0.505050505050505, 0.1784753609074122], [-0.5454545454545454, 0.19281783388434826], [-0.5858585858585856, 0.19706291227782058], [-0.6262626262626261, 0.20718405048858735], [-0.6666666666666665, 0.2105499429791229], [-0.707070707070707, 0.2254365496652069], [-0.7474747474747474, 0.23550158460822823], [-0.7878787878787878, 0.24969992528660592], [-0.8282828282828283, 0.2680812905704291], [-0.8686868686868685, 0.2796081250751857], [-0.909090909090909, 0.2920924162496419], [-0.9494949494949494, 0.306223246570654], [-0.9898989898989898, 0.3164461437637168], [-1.0303030303030303, 0.32438632870167833], [-1.0707070707070705, 0.34607136365249863], [-1.1111111111111112, 0.36058892005161636], [-1.1515151515151514, 0.376877398175714], [-1.1919191919191918, 0.3966592906718521], [-1.2323232323232323, 0.41705556330741417], [-1.2727272727272727, 0.43539514765992665], [-1.3131313131313131, 0.4673175664306447], [-1.3535353535353534, 0.4908918799355718], [-1.393939393939394, 0.5144661934404994], [-1.4343434343434343, 0.5380655618822714], [-1.4747474747474747, 0.564838024966999], [-1.5151515151515151, 0.5867761183913602], [-1.5555555555555556, 0.6086221357003231], [-1.595959595959596, 0.6289092947404834], [-1.6363636363636362, 0.6530100291735791], [-1.6767676767676767, 0.6836371320407635], [-1.7171717171717171, 0.7131986835953519], [-1.7575757575757576, 0.7447333807912772], [-1.797979797979798, 0.7757343620972814], [-1.8383838383838385, 0.8063144069328404], [-1.878787878787879, 0.8366151435559434], [-1.9191919191919191, 0.866915880179046], [-1.9595959595959596, 0.8876040560202608], [-2.0, 0.9078224653756537]], [\"M\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"L\", \"Z\"]]], \"edgewidths\": [0.3], \"zorder\": 1, \"offsets\": \"data03\"}], \"xlim\": [-2.0, 2.0], \"xdomain\": [-2.0, 2.0], \"ydomain\": [-3.0, 3.0], \"axesbg\": \"#EAEAF2\", \"axesbgalpha\": null, \"ylim\": [-3.0, 3.0], \"xscale\": \"linear\", \"yscale\": \"linear\", \"paths\": [], \"texts\": [{\"alpha\": 1, \"text\": \"a\", \"id\": \"el22480140662043707264\", \"fontsize\": 11.0, \"zorder\": 3, \"position\": [0.5, -0.06969696969696969], \"h_anchor\": \"middle\", \"rotation\": -0.0, \"v_baseline\": \"hanging\", \"color\": \"#262626\", \"coordinates\": \"axes\"}, {\"alpha\": 1, \"text\": \"b\", \"id\": \"el22480140660265436664\", \"fontsize\": 11.0, \"zorder\": 3, \"position\": [-0.05248655913978495, 0.5], \"h_anchor\": \"middle\", \"rotation\": -90.0, \"v_baseline\": \"auto\", \"color\": \"#262626\", \"coordinates\": \"axes\"}], \"markers\": [], \"zoomable\": true, \"bbox\": [0.125, 0.09999999999999998, 0.775, 0.8], \"id\": \"el22480140660265492320\", \"images\": [], \"lines\": [{\"zorder\": 2, \"linewidth\": 2.625, \"alpha\": 1, \"data\": \"data01\", \"xindex\": 0, \"color\": \"#4C72B0\", \"yindex\": 1, \"id\": \"el22480140660255500720\", \"dasharray\": \"10,0\", \"coordinates\": \"data\"}], \"axes\": [{\"fontsize\": 10.0, \"grid\": {\"alpha\": 1.0, \"color\": \"#FFFFFF\", \"dasharray\": \"10,0\", \"gridOn\": true}, \"tickformat\": null, \"nticks\": 9, \"tickvalues\": null, \"position\": \"bottom\", \"scale\": \"linear\"}, {\"fontsize\": 10.0, \"grid\": {\"alpha\": 1.0, \"color\": \"#FFFFFF\", \"dasharray\": \"10,0\", \"gridOn\": true}, \"tickformat\": null, \"nticks\": 7, \"tickvalues\": null, \"position\": \"left\", \"scale\": \"linear\"}]}]});\n", | |
" })\n", | |
" });\n", | |
"}\n", | |
"</script>" | |
], | |
"text/plain": [ | |
"<IPython.core.display.HTML object>" | |
] | |
}, | |
"execution_count": 6, | |
"metadata": {}, | |
"output_type": "execute_result" | |
} | |
], | |
"source": [ | |
"interactive_regplot(x='a',\n", | |
" y='b',\n", | |
" labels='labels',\n", | |
" data=sample_data)\n", | |
"mpld3.display()" | |
] | |
}, | |
{ | |
"cell_type": "code", | |
"execution_count": null, | |
"metadata": { | |
"collapsed": true | |
}, | |
"outputs": [], | |
"source": [] | |
} | |
], | |
"metadata": { | |
"hide_input": false, | |
"kernelspec": { | |
"display_name": "Python 3", | |
"language": "python", | |
"name": "python3" | |
}, | |
"language_info": { | |
"codemirror_mode": { | |
"name": "ipython", | |
"version": 3 | |
}, | |
"file_extension": ".py", | |
"mimetype": "text/x-python", | |
"name": "python", | |
"nbconvert_exporter": "python", | |
"pygments_lexer": "ipython3", | |
"version": "3.5.2" | |
} | |
}, | |
"nbformat": 4, | |
"nbformat_minor": 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment