- globalThis.qpyodideCellDetails = [{"id":1,"code":"n = 5\nwhile n > 0:\n print(n)\n n = n - 1\n\nprint('Blastoff!')","options":{"comment":"","dpi":72,"fig-width":7,"label":"","autorun":"","read-only":"false","results":"markup","message":"true","fig-height":5,"output":"true","fig-cap":"","context":"interactive","out-height":"","out-width":"700px","classes":"","warning":"true"}},{"id":2,"code":"import matplotlib.pyplot as plt\nimport numpy as np\n\nx = np.linspace(0, 2*np.pi, 100)\ny = np.sin(x)\nplt.plot(x, y)\nplt.title('Sine wave')\nplt.show()","options":{"comment":"","dpi":72,"fig-width":7,"label":"","autorun":"","read-only":"false","results":"markup","message":"true","fig-height":5,"output":"true","fig-cap":"","context":"interactive","out-height":"","out-width":"700px","classes":"","warning":"true"}},{"id":3,"code":"def say_hello(name):\n _________(f\"Hello there {name}!\")\n\nsay_hello(\"quarto-pyodide\")","options":{"comment":"","dpi":72,"fig-width":7,"label":"","autorun":"","read-only":"false","results":"markup","message":"true","fig-height":5,"output":"true","fig-cap":"","context":"interactive","out-height":"","out-width":"700px","classes":"","warning":"true"}},{"id":4,"code":"print(\"Hello quarto-pyodide RevealJS world!\")\n\n[x**2 for x in range(0, 5)]\n\n3 + 5","options":{"comment":"","dpi":72,"fig-width":7,"label":"","autorun":"","read-only":"false","results":"markup","message":"true","fig-height":5,"output":"true","fig-cap":"","context":"interactive","out-height":"","out-width":"700px","classes":"","warning":"true"}}];
0 commit comments