negative_a.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <div>
  2. <script type="text/javascript" src="../../../graphs/hypergeometric_1f1/negative_a.js"></script>
  3. <div id="cc677464-acba-4deb-b026-ef0ea03f1259" 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('cc677464-acba-4deb-b026-ef0ea03f1259')
  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_a.data,
  24. layout: negative_a.layout,
  25. frames: negative_a.frames,
  26. config: { "showLink": true, "linkText": "Export to plot.ly", "mapboxAccessToken": "pk.eyJ1IjoiY2hyaWRkeXAiLCJhIjoiY2lxMnVvdm5iMDA4dnhsbTQ5aHJzcGs0MyJ9.X9o_rzNLNesDxdra4neC_A" }
  27. });
  28. }());
  29. </script>
  30. </div>