1 <body> 2 <script type="text/javascript" src="../../../graphs/hypergeometric_1f1/negative_ab.js"></script> 3 4 <div id="2867e84a-7d1d-4110-b28a-fb718dbd65ca" style="width: 800px; height: 600px;" class="plotly-graph-div"></div> 5 <script type="text/javascript"> 6 (function(){ 7 window.PLOTLYENV={'BASE_URL': 'https://plot.ly'}; 8 9 var gd = document.getElementById('2867e84a-7d1d-4110-b28a-fb718dbd65ca') 10 var resizeDebounce = null; 11 12 function resizePlot() { 13 var bb = gd.getBoundingClientRect(); 14 Plotly.relayout(gd, { 15 width: bb.width, 16 height: bb.height 17 }); 18 } 19 20 21 window.addEventListener('resize', function() { 22 if (resizeDebounce) { 23 window.clearTimeout(resizeDebounce); 24 } 25 resizeDebounce = window.setTimeout(resizePlot, 100); 26 }); 27 28 29 30 Plotly.plot(gd, { 31 data: negative_ab.data, 32 layout: negative_ab.layout, 33 frames: negative_ab.frames, 34 config: {"showLink": true, "linkText": "Export to plot.ly", "mapboxAccessToken": "pk.eyJ1IjoiY2hyaWRkeXAiLCJhIjoiY2lxMnVvdm5iMDA4dnhsbTQ5aHJzcGs0MyJ9.X9o_rzNLNesDxdra4neC_A"} 35 }); 36 37 }()); 38 </script> 39 </body> 40 41