From 47389746cebbba1c161a27533843113b11efeebb Mon Sep 17 00:00:00 2001 From: coatless Date: Mon, 19 Feb 2024 14:13:44 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20coatless?= =?UTF-8?q?-quarto/pyodide@dbccc78d7736b479f7188e11180c9dfe5fcb4392=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/readme/index.html | 2 +- examples/readme/index.qmd | 2 +- index.html | 2 +- qpyodide-code-cell-demo.html | 2 +- tests/index.html | 2 +- tests/qpyodide-test-graphic-output.html | 2 +- tests/qpyodide-test-internal-cell.html | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/examples/readme/index.html b/examples/readme/index.html index 8896394..7946591 100644 --- a/examples/readme/index.html +++ b/examples/readme/index.html @@ -195,7 +195,7 @@ } // Store cell data -globalThis.qpyodideCellDetails = [{"id":1,"code":"n = 5\nwhile n > 0:\n print(n)\n n = n + 1\n\nprint('Blastoff!')","options":{"classes":"","warning":"true","out-height":"","comment":"","context":"interactive","autorun":"","fig-height":5,"output":"true","results":"markup","message":"true","fig-width":7,"out-width":"700px","fig-cap":"","label":"","dpi":72}}]; +globalThis.qpyodideCellDetails = [{"code":"n = 5\nwhile n > 0:\n print(n)\n n = n - 1\n\nprint('Blastoff!')","options":{"classes":"","context":"interactive","label":"","results":"markup","dpi":72,"message":"true","fig-height":5,"output":"true","fig-cap":"","comment":"","out-height":"","autorun":"","fig-width":7,"warning":"true","out-width":"700px"},"id":1}]; diff --git a/examples/readme/index.qmd b/examples/readme/index.qmd index aaa3775..cfb4f2b 100644 --- a/examples/readme/index.qmd +++ b/examples/readme/index.qmd @@ -11,7 +11,7 @@ This is a pyodide-enabled code cell in a Quarto HTML document. n = 5 while n > 0: print(n) - n = n + 1 + n = n - 1 print('Blastoff!') ``` diff --git a/index.html b/index.html index e9f7c20..fe23b5d 100644 --- a/index.html +++ b/index.html @@ -237,7 +237,7 @@ } // Store cell data -globalThis.qpyodideCellDetails = [{"id":1,"options":{"warning":"true","fig-width":7,"results":"markup","fig-cap":"","autorun":"","message":"true","comment":"","out-width":"700px","out-height":"","classes":"","dpi":72,"output":"true","context":"interactive","fig-height":5,"label":""},"code":"# Welcome to Python!\n\nprint(\"Hello, Quarto-Pyodide!\")\nprint(\"You've just entered the world of Python programming.\")\n\n# Let's make a graph\nimport matplotlib.pyplot as plt\nplt.plot([1, 2, 3, 4], [1, 4, 9, 16])\nplt.ylabel('Magic Numbers')\nplt.show()\n\n# Feel free to add your own code below and have fun with Python!"}]; +globalThis.qpyodideCellDetails = [{"id":1,"options":{"fig-cap":"","results":"markup","message":"true","dpi":72,"comment":"","output":"true","label":"","out-height":"","warning":"true","autorun":"","fig-width":7,"fig-height":5,"out-width":"700px","context":"interactive","classes":""},"code":"# Welcome to Python!\n\nprint(\"Hello, Quarto-Pyodide!\")\nprint(\"You've just entered the world of Python programming.\")\n\n# Let's make a graph\nimport matplotlib.pyplot as plt\nplt.plot([1, 2, 3, 4], [1, 4, 9, 16])\nplt.ylabel('Magic Numbers')\nplt.show()\n\n# Feel free to add your own code below and have fun with Python!"}]; diff --git a/qpyodide-code-cell-demo.html b/qpyodide-code-cell-demo.html index 5b648ac..b8dd6de 100644 --- a/qpyodide-code-cell-demo.html +++ b/qpyodide-code-cell-demo.html @@ -273,7 +273,7 @@ } // Store cell data -globalThis.qpyodideCellDetails = [{"code":"1 + 1","id":1,"options":{"out-height":"","comment":"","output":"true","warning":"true","fig-cap":"","context":"interactive","results":"markup","autorun":"","fig-height":5,"fig-width":7,"dpi":72,"classes":"","out-width":"700px","message":"true","label":""}},{"code":"1 + 1","id":2,"options":{"out-height":"","comment":"","output":"true","warning":"true","fig-cap":"","context":"interactive","results":"markup","autorun":"","fig-height":5,"fig-width":7,"dpi":72,"classes":"","out-width":"700px","message":"true","label":""}},{"code":"greet = 'Hello'\ngreet","id":3,"options":{"out-height":"","comment":"","output":"true","warning":"true","fig-cap":"","context":"interactive","results":"markup","autorun":"","fig-height":5,"fig-width":7,"dpi":72,"classes":"","out-width":"700px","message":"true","label":""}},{"code":"len(greet)","id":4,"options":{"out-height":"","comment":"","output":"true","warning":"true","fig-cap":"","context":"interactive","results":"markup","autorun":"","fig-height":5,"fig-width":7,"dpi":72,"classes":"","out-width":"700px","message":"true","label":""}},{"code":"def square(x):\n return x**2\n\nsquare(8)","id":5,"options":{"out-height":"","comment":"","output":"true","warning":"true","fig-cap":"","context":"interactive","results":"markup","autorun":"","fig-height":5,"fig-width":7,"dpi":72,"classes":"","out-width":"700px","message":"true","label":""}},{"code":"num_list = [1, 2, 3]\n[square(num)for num in num_list]","id":6,"options":{"out-height":"","comment":"","output":"true","warning":"true","fig-cap":"","context":"interactive","results":"markup","autorun":"","fig-height":5,"fig-width":7,"dpi":72,"classes":"","out-width":"700px","message":"true","label":""}},{"code":"import pandas as pd\n\ndf = pd.DataFrame({\n 'Name': ['JJB', 'H', 'Alex', 'Steve'],\n 'Age': [18, 25, 33, 42]\n})\n\ndf","id":7,"options":{"out-height":"","comment":"","output":"true","warning":"true","fig-cap":"","context":"interactive","results":"markup","autorun":"","fig-height":5,"fig-width":7,"dpi":72,"classes":"","out-width":"700px","message":"true","label":""}},{"code":"import pandas as pd \n\ndf.Age","id":8,"options":{"out-height":"","comment":"","output":"true","warning":"true","fig-cap":"","context":"interactive","results":"markup","autorun":"","fig-height":5,"fig-width":7,"dpi":72,"classes":"","out-width":"700px","message":"true","label":""}},{"code":"import matplotlib.pyplot as plt\n\nx = [1, 5, 3, -2]\ny = [-5, 8, 9, 4]\n\nplt.plot(x, y)\nplt.show()","id":9,"options":{"out-height":"","comment":"","output":"true","warning":"true","fig-cap":"","context":"interactive","results":"markup","autorun":"","fig-height":5,"fig-width":7,"dpi":72,"classes":"","out-width":"700px","message":"true","label":""}}]; +globalThis.qpyodideCellDetails = [{"id":1,"options":{"output":"true","fig-width":7,"label":"","comment":"","autorun":"","dpi":72,"out-width":"700px","message":"true","classes":"","out-height":"","context":"interactive","results":"markup","fig-cap":"","fig-height":5,"warning":"true"},"code":"1 + 1"},{"id":2,"options":{"output":"true","fig-width":7,"label":"","comment":"","autorun":"","dpi":72,"out-width":"700px","message":"true","classes":"","out-height":"","context":"interactive","results":"markup","fig-cap":"","fig-height":5,"warning":"true"},"code":"1 + 1"},{"id":3,"options":{"output":"true","fig-width":7,"label":"","comment":"","autorun":"","dpi":72,"out-width":"700px","message":"true","classes":"","out-height":"","context":"interactive","results":"markup","fig-cap":"","fig-height":5,"warning":"true"},"code":"greet = 'Hello'\ngreet"},{"id":4,"options":{"output":"true","fig-width":7,"label":"","comment":"","autorun":"","dpi":72,"out-width":"700px","message":"true","classes":"","out-height":"","context":"interactive","results":"markup","fig-cap":"","fig-height":5,"warning":"true"},"code":"len(greet)"},{"id":5,"options":{"output":"true","fig-width":7,"label":"","comment":"","autorun":"","dpi":72,"out-width":"700px","message":"true","classes":"","out-height":"","context":"interactive","results":"markup","fig-cap":"","fig-height":5,"warning":"true"},"code":"def square(x):\n return x**2\n\nsquare(8)"},{"id":6,"options":{"output":"true","fig-width":7,"label":"","comment":"","autorun":"","dpi":72,"out-width":"700px","message":"true","classes":"","out-height":"","context":"interactive","results":"markup","fig-cap":"","fig-height":5,"warning":"true"},"code":"num_list = [1, 2, 3]\n[square(num)for num in num_list]"},{"id":7,"options":{"output":"true","fig-width":7,"label":"","comment":"","autorun":"","dpi":72,"out-width":"700px","message":"true","classes":"","out-height":"","context":"interactive","results":"markup","fig-cap":"","fig-height":5,"warning":"true"},"code":"import pandas as pd\n\ndf = pd.DataFrame({\n 'Name': ['JJB', 'H', 'Alex', 'Steve'],\n 'Age': [18, 25, 33, 42]\n})\n\ndf"},{"id":8,"options":{"output":"true","fig-width":7,"label":"","comment":"","autorun":"","dpi":72,"out-width":"700px","message":"true","classes":"","out-height":"","context":"interactive","results":"markup","fig-cap":"","fig-height":5,"warning":"true"},"code":"import pandas as pd \n\ndf.Age"},{"id":9,"options":{"output":"true","fig-width":7,"label":"","comment":"","autorun":"","dpi":72,"out-width":"700px","message":"true","classes":"","out-height":"","context":"interactive","results":"markup","fig-cap":"","fig-height":5,"warning":"true"},"code":"import matplotlib.pyplot as plt\n\nx = [1, 5, 3, -2]\ny = [-5, 8, 9, 4]\n\nplt.plot(x, y)\nplt.show()"}]; diff --git a/tests/index.html b/tests/index.html index f7cdaba..df79d26 100644 --- a/tests/index.html +++ b/tests/index.html @@ -228,7 +228,7 @@ } // Store cell data -globalThis.qpyodideCellDetails = [{"options":{"message":"true","label":"","fig-cap":"","output":"true","fig-height":5,"warning":"true","out-height":"","classes":"","comment":"","out-width":"700px","results":"markup","dpi":72,"fig-width":7,"context":"interactive","autorun":""},"id":1,"code":"print(\"Welcome to behind the scenes of quarto-pyodide!\")"}]; +globalThis.qpyodideCellDetails = [{"code":"print(\"Welcome to behind the scenes of quarto-pyodide!\")","options":{"label":"","fig-width":7,"output":"true","classes":"","autorun":"","out-height":"","warning":"true","message":"true","dpi":72,"context":"interactive","results":"markup","out-width":"700px","comment":"","fig-cap":"","fig-height":5},"id":1}]; diff --git a/tests/qpyodide-test-graphic-output.html b/tests/qpyodide-test-graphic-output.html index ce0c9f3..8510516 100644 --- a/tests/qpyodide-test-graphic-output.html +++ b/tests/qpyodide-test-graphic-output.html @@ -228,7 +228,7 @@ } // Store cell data -globalThis.qpyodideCellDetails = [{"code":"import matplotlib.pyplot as plt\n\nx = [1, 5, 3, -2]\ny = [-5, 8, 9, 4]\n\nplt.plot(x, y)\nplt.show()","id":1,"options":{"classes":"","output":"true","warning":"true","dpi":72,"context":"interactive","comment":"","message":"true","fig-height":5,"autorun":"","label":"","out-width":"700px","results":"markup","fig-width":7,"fig-cap":"","out-height":""}}]; +globalThis.qpyodideCellDetails = [{"options":{"comment":"","output":"true","autorun":"","out-width":"700px","fig-height":5,"results":"markup","out-height":"","classes":"","warning":"true","fig-cap":"","message":"true","dpi":72,"fig-width":7,"label":"","context":"interactive"},"code":"import matplotlib.pyplot as plt\n\nx = [1, 5, 3, -2]\ny = [-5, 8, 9, 4]\n\nplt.plot(x, y)\nplt.show()","id":1}]; diff --git a/tests/qpyodide-test-internal-cell.html b/tests/qpyodide-test-internal-cell.html index d5da12f..bbdf992 100644 --- a/tests/qpyodide-test-internal-cell.html +++ b/tests/qpyodide-test-internal-cell.html @@ -228,7 +228,7 @@ } // Store cell data -globalThis.qpyodideCellDetails = [{"code":"1 + 1","options":{"dpi":72,"message":"true","warning":"true","output":"true","results":"markup","out-width":"700px","comment":"","autorun":"","classes":"","fig-width":7,"label":"","fig-cap":"","fig-height":5,"context":"interactive","out-height":""},"id":1},{"code":"x = [1, 5, 3, -2]\ny = [-5, 8, 9, 4]","options":{"dpi":72,"message":"true","warning":"true","output":"true","results":"markup","out-width":"700px","comment":"","autorun":"","classes":"","fig-width":7,"label":"","fig-cap":"","fig-height":5,"context":"setup","out-height":""},"id":2},{"code":"import matplotlib.pyplot as plt\n\nprint(f\"x: {x}\")\n\nprint(f\"y: {y}\")\n\nplt.plot(x, y)","options":{"dpi":72,"message":"true","warning":"true","output":"true","results":"markup","out-width":"700px","comment":"","autorun":"","classes":"","fig-width":7,"label":"","fig-cap":"","fig-height":5,"context":"output","out-height":""},"id":3}]; +globalThis.qpyodideCellDetails = [{"id":1,"code":"1 + 1","options":{"label":"","fig-cap":"","output":"true","comment":"","classes":"","fig-height":5,"fig-width":7,"autorun":"","message":"true","dpi":72,"warning":"true","out-width":"700px","context":"interactive","out-height":"","results":"markup"}},{"id":2,"code":"x = [1, 5, 3, -2]\ny = [-5, 8, 9, 4]","options":{"label":"","fig-cap":"","output":"true","comment":"","classes":"","fig-height":5,"fig-width":7,"autorun":"","message":"true","dpi":72,"warning":"true","out-width":"700px","context":"setup","out-height":"","results":"markup"}},{"id":3,"code":"import matplotlib.pyplot as plt\n\nprint(f\"x: {x}\")\n\nprint(f\"y: {y}\")\n\nplt.plot(x, y)","options":{"label":"","fig-cap":"","output":"true","comment":"","classes":"","fig-height":5,"fig-width":7,"autorun":"","message":"true","dpi":72,"warning":"true","out-width":"700px","context":"output","out-height":"","results":"markup"}}];