positive_abz.html 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <div>
  2. <script type="text/javascript" src="../../../graphs/hypergeometric_1f1/positive_abz.js"></script>
  3. <div id="87d8c26d-c743-4b69-8576-64f861bb7262" 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('87d8c26d-c743-4b69-8576-64f861bb7262')
  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: positive_abz.data,
  24. layout: positive_abz.layout,
  25. frames: positive_abz.frames,
  26. config: { "showLink": true, "linkText": "Export to plot.ly", "mapboxAccessToken": "pk.eyJ1IjoiY2hyaWRkeXAiLCJhIjoiY2lxMnVvdm5iMDA4dnhsbTQ5aHJzcGs0MyJ9.X9o_rzNLNesDxdra4neC_A" }
  27. });
  28. }());
  29. </script>
  30. </div>