negative_ab.html 1.5 KB

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