From 5520c72cf1f990a5b5e069d47ac774abc40c7928 Mon Sep 17 00:00:00 2001 From: coatless Date: Wed, 21 Feb 2024 07:16:22 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20coatless?= =?UTF-8?q?-quarto/pyodide@a215ac22fada11e2d8bd0569aeed7f1915eba56a=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- examples/blog/index.html | 4 ++-- examples/blog/posts/post-with-code/index.html | 2 +- examples/book/example-page.html | 2 +- examples/book/index.html | 2 +- examples/html-document/index.html | 2 +- examples/readme/index.html | 2 +- examples/revealjs/index.html | 4 ++-- examples/website/example-page.html | 2 +- examples/website/index.html | 2 +- index.html | 2 +- qpyodide-code-cell-demo.html | 2 +- qpyodide-first-steps.html | 2 +- tests/index.html | 2 +- tests/qpyodide-test-graphic-output.html | 2 +- tests/qpyodide-test-internal-cell.html | 2 +- 15 files changed, 17 insertions(+), 17 deletions(-) diff --git a/examples/blog/index.html b/examples/blog/index.html index e459582..73827f5 100644 --- a/examples/blog/index.html +++ b/examples/blog/index.html @@ -205,7 +205,7 @@
Categories
-
+
-
+

diff --git a/examples/blog/posts/post-with-code/index.html b/examples/blog/posts/post-with-code/index.html index b2125cc..19e8795 100644 --- a/examples/blog/posts/post-with-code/index.html +++ b/examples/blog/posts/post-with-code/index.html @@ -230,7 +230,7 @@ } // Store cell data -globalThis.qpyodideCellDetails = [{"options":{"warning":"true","output":"true","out-height":"","context":"interactive","results":"markup","comment":"","autorun":"","dpi":72,"fig-height":5,"fig-width":7,"fig-cap":"","label":"","out-width":"700px","message":"true","classes":""},"id":1,"code":"print(\"Hello {quarto-pyodide} blog world!\")"}]; +globalThis.qpyodideCellDetails = [{"code":"print(\"Hello {quarto-pyodide} blog world!\")","id":1,"options":{"warning":"true","results":"markup","output":"true","label":"","out-height":"","out-width":"700px","comment":"","fig-width":7,"context":"interactive","message":"true","fig-height":5,"classes":"","fig-cap":"","dpi":72,"autorun":""}}]; diff --git a/examples/book/example-page.html b/examples/book/example-page.html index 152ff42..9029a2a 100644 --- a/examples/book/example-page.html +++ b/examples/book/example-page.html @@ -230,7 +230,7 @@ } // Store cell data -globalThis.qpyodideCellDetails = [{"code":"import numpy as np\n\n# Data for plotting\nt = np.arange(0.0, 2.0, 0.01)\ns = 1 + np.sin(2 * np.pi * t)\n\n# Print t\nprint(f\"Displaying 10 observations of `t`:\\n{t[:10]}\\n\")\n\nprint(\"Showing the first 10 values of `s`:\")\n# The last object in the cell does not need print.\ns[:10]","id":1,"options":{"warning":"true","message":"true","results":"markup","label":"","context":"interactive","classes":"","fig-height":5,"comment":"","output":"true","fig-width":7,"autorun":"","dpi":72,"out-width":"700px","fig-cap":"","out-height":""}},{"code":"import matplotlib.pyplot as plt\n\nfig, ax = plt.subplots()\nax.plot(t, s)\n\nax.set(xlabel='time (s)', ylabel='voltage (mV)',\n title='About as simple as it gets, folks')\nax.grid()\n\nplt.show()","id":2,"options":{"warning":"true","message":"true","results":"markup","label":"","context":"interactive","classes":"","fig-height":5,"comment":"","output":"true","fig-width":7,"autorun":"","dpi":72,"out-width":"700px","fig-cap":"","out-height":""}}]; +globalThis.qpyodideCellDetails = [{"id":1,"options":{"message":"true","output":"true","autorun":"","fig-height":5,"dpi":72,"results":"markup","classes":"","warning":"true","context":"interactive","out-height":"","fig-cap":"","out-width":"700px","label":"","comment":"","fig-width":7},"code":"import numpy as np\n\n# Data for plotting\nt = np.arange(0.0, 2.0, 0.01)\ns = 1 + np.sin(2 * np.pi * t)\n\n# Print t\nprint(f\"Displaying 10 observations of `t`:\\n{t[:10]}\\n\")\n\nprint(\"Showing the first 10 values of `s`:\")\n# The last object in the cell does not need print.\ns[:10]"},{"id":2,"options":{"message":"true","output":"true","autorun":"","fig-height":5,"dpi":72,"results":"markup","classes":"","warning":"true","context":"interactive","out-height":"","fig-cap":"","out-width":"700px","label":"","comment":"","fig-width":7},"code":"import matplotlib.pyplot as plt\n\nfig, ax = plt.subplots()\nax.plot(t, s)\n\nax.set(xlabel='time (s)', ylabel='voltage (mV)',\n title='About as simple as it gets, folks')\nax.grid()\n\nplt.show()"}]; diff --git a/examples/book/index.html b/examples/book/index.html index f7cf3ac..654eb96 100644 --- a/examples/book/index.html +++ b/examples/book/index.html @@ -231,7 +231,7 @@ } // Store cell data -globalThis.qpyodideCellDetails = [{"id":1,"code":"print(\"Hello there! Welcome to a {quarto-pyodide} powered book!\")","options":{"message":"true","dpi":72,"fig-cap":"","results":"markup","autorun":"","warning":"true","label":"","context":"interactive","fig-width":7,"out-height":"","fig-height":5,"output":"true","classes":"","comment":"","out-width":"700px"}}]; +globalThis.qpyodideCellDetails = [{"code":"print(\"Hello there! Welcome to a {quarto-pyodide} powered book!\")","id":1,"options":{"autorun":"","fig-height":5,"message":"true","out-height":"","classes":"","dpi":72,"comment":"","output":"true","out-width":"700px","context":"interactive","warning":"true","label":"","fig-cap":"","results":"markup","fig-width":7}}]; diff --git a/examples/html-document/index.html b/examples/html-document/index.html index f03bbd4..b18e3b1 100644 --- a/examples/html-document/index.html +++ b/examples/html-document/index.html @@ -195,7 +195,7 @@ } // Store cell data -globalThis.qpyodideCellDetails = [{"options":{"context":"interactive","label":"","fig-cap":"","output":"true","results":"markup","classes":"","warning":"true","autorun":"","out-width":"700px","out-height":"","comment":"","fig-height":5,"dpi":72,"fig-width":7,"message":"true"},"code":"print(\"Hello there! Welcome to a quarto-pyodide powered HTML Document!\")","id":1}]; +globalThis.qpyodideCellDetails = [{"code":"print(\"Hello there! Welcome to a quarto-pyodide powered HTML Document!\")","id":1,"options":{"warning":"true","output":"true","context":"interactive","fig-height":5,"autorun":"","fig-cap":"","comment":"","label":"","dpi":72,"message":"true","out-width":"700px","results":"markup","classes":"","fig-width":7,"out-height":""}}]; diff --git a/examples/readme/index.html b/examples/readme/index.html index c7ac181..16788ff 100644 --- a/examples/readme/index.html +++ b/examples/readme/index.html @@ -195,7 +195,7 @@ } // Store cell data -globalThis.qpyodideCellDetails = [{"id":1,"options":{"output":"true","fig-width":7,"comment":"","warning":"true","autorun":"","classes":"","message":"true","dpi":72,"results":"markup","context":"interactive","label":"","fig-cap":"","fig-height":5,"out-width":"700px","out-height":""},"code":"n = 5\nwhile n > 0:\n print(n)\n n = n - 1\n\nprint('Blastoff!')"}]; +globalThis.qpyodideCellDetails = [{"options":{"comment":"","results":"markup","output":"true","label":"","warning":"true","dpi":72,"classes":"","message":"true","out-width":"700px","fig-height":5,"context":"interactive","out-height":"","autorun":"","fig-cap":"","fig-width":7},"code":"n = 5\nwhile n > 0:\n print(n)\n n = n - 1\n\nprint('Blastoff!')","id":1}]; diff --git a/examples/revealjs/index.html b/examples/revealjs/index.html index cb1f0bb..98992ee 100644 --- a/examples/revealjs/index.html +++ b/examples/revealjs/index.html @@ -483,7 +483,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":{"dpi":72,"fig-cap":"","comment":"","warning":"true","context":"interactive","out-width":"700px","results":"markup","label":"","output":"true","fig-width":7,"autorun":"","classes":"","fig-height":5,"out-height":"","message":"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":{"dpi":72,"fig-cap":"","comment":"","warning":"true","context":"interactive","out-width":"700px","results":"markup","label":"","output":"true","fig-width":7,"autorun":"","classes":"","fig-height":5,"out-height":"","message":"true"}},{"id":3,"code":"def say_hello(name):\n _________(f\"Hello there {name}!\")\n\nsay_hello(\"quarto-pyodide\")","options":{"dpi":72,"fig-cap":"","comment":"","warning":"true","context":"interactive","out-width":"700px","results":"markup","label":"","output":"true","fig-width":7,"autorun":"","classes":"","fig-height":5,"out-height":"","message":"true"}},{"id":4,"code":"print(\"Hello quarto-pyodide RevealJS world!\")\n\n[x**2 for x in range(0, 5)]\n\n3 + 5","options":{"dpi":72,"fig-cap":"","comment":"","warning":"true","context":"interactive","out-width":"700px","results":"markup","label":"","output":"true","fig-width":7,"autorun":"","classes":"","fig-height":5,"out-height":"","message":"true"}}]; + globalThis.qpyodideCellDetails = [{"options":{"comment":"","message":"true","output":"true","dpi":72,"classes":"","results":"markup","label":"","out-height":"","fig-width":7,"autorun":"","out-width":"700px","fig-cap":"","warning":"true","context":"interactive","fig-height":5},"code":"n = 5\nwhile n > 0:\n print(n)\n n = n - 1\n\nprint('Blastoff!')","id":1},{"options":{"comment":"","message":"true","output":"true","dpi":72,"classes":"","results":"markup","label":"","out-height":"","fig-width":7,"autorun":"","out-width":"700px","fig-cap":"","warning":"true","context":"interactive","fig-height":5},"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()","id":2},{"options":{"comment":"","message":"true","output":"true","dpi":72,"classes":"","results":"markup","label":"","out-height":"","fig-width":7,"autorun":"","out-width":"700px","fig-cap":"","warning":"true","context":"interactive","fig-height":5},"code":"def say_hello(name):\n _________(f\"Hello there {name}!\")\n\nsay_hello(\"quarto-pyodide\")","id":3},{"options":{"comment":"","message":"true","output":"true","dpi":72,"classes":"","results":"markup","label":"","out-height":"","fig-width":7,"autorun":"","out-width":"700px","fig-cap":"","warning":"true","context":"interactive","fig-height":5},"code":"print(\"Hello quarto-pyodide RevealJS world!\")\n\n[x**2 for x in range(0, 5)]\n\n3 + 5","id":4}]; @@ -686,7 +686,7 @@

matplotlib Graphing with Pyodide

quarto-{pyodide + countdown}

Pair code cells with a countdown timer to allow for practice

-
+
diff --git a/examples/website/example-page.html b/examples/website/example-page.html index b161f0b..aa1320c 100644 --- a/examples/website/example-page.html +++ b/examples/website/example-page.html @@ -228,7 +228,7 @@ } // Store cell data -globalThis.qpyodideCellDetails = [{"options":{"fig-cap":"","warning":"true","context":"interactive","results":"markup","fig-height":5,"autorun":"","label":"","comment":"","output":"true","fig-width":7,"classes":"","dpi":72,"out-height":"","out-width":"700px","message":"true"},"id":1,"code":"import pandas as pd \nimport numpy as np \n\ndf = pd.DataFrame(\n {\n \"A\": 1.0,\n \"B\": pd.Timestamp(\"20130102\"),\n \"C\": pd.Series(1, index=list(range(4)), dtype=\"float32\"),\n \"D\": np.array([3] * 4, dtype=\"int32\"),\n \"E\": pd.Categorical([\"test\", \"train\", \"test\", \"train\"]),\n \"F\": \"foo\",\n }\n)\n\n\ndf"}]; +globalThis.qpyodideCellDetails = [{"options":{"output":"true","autorun":"","dpi":72,"context":"interactive","warning":"true","comment":"","out-height":"","classes":"","message":"true","label":"","fig-width":7,"results":"markup","fig-height":5,"out-width":"700px","fig-cap":""},"id":1,"code":"import pandas as pd \nimport numpy as np \n\ndf = pd.DataFrame(\n {\n \"A\": 1.0,\n \"B\": pd.Timestamp(\"20130102\"),\n \"C\": pd.Series(1, index=list(range(4)), dtype=\"float32\"),\n \"D\": np.array([3] * 4, dtype=\"int32\"),\n \"E\": pd.Categorical([\"test\", \"train\", \"test\", \"train\"]),\n \"F\": \"foo\",\n }\n)\n\n\ndf"}]; diff --git a/examples/website/index.html b/examples/website/index.html index 379568a..12631d6 100644 --- a/examples/website/index.html +++ b/examples/website/index.html @@ -228,7 +228,7 @@ } // Store cell data -globalThis.qpyodideCellDetails = [{"code":"print(\"Hello there! Welcome to a quarto-pyodide powered website!\")","options":{"context":"interactive","results":"markup","fig-width":7,"comment":"","dpi":72,"output":"true","autorun":"","label":"","message":"true","classes":"","fig-height":5,"fig-cap":"","out-width":"700px","warning":"true","out-height":""},"id":1}]; +globalThis.qpyodideCellDetails = [{"options":{"comment":"","fig-width":7,"message":"true","label":"","dpi":72,"autorun":"","output":"true","warning":"true","context":"interactive","fig-cap":"","out-width":"700px","out-height":"","results":"markup","classes":"","fig-height":5},"code":"print(\"Hello there! Welcome to a quarto-pyodide powered website!\")","id":1}]; diff --git a/index.html b/index.html index e8afecb..60a16a0 100644 --- a/index.html +++ b/index.html @@ -237,7 +237,7 @@ } // Store cell data -globalThis.qpyodideCellDetails = [{"options":{"message":"true","warning":"true","results":"markup","dpi":72,"output":"true","autorun":"","classes":"","out-width":"700px","fig-cap":"","fig-width":7,"context":"interactive","label":"","fig-height":5,"comment":"","out-height":""},"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!","id":1}]; +globalThis.qpyodideCellDetails = [{"id":1,"options":{"comment":"","context":"interactive","autorun":"","results":"markup","output":"true","fig-cap":"","fig-height":5,"message":"true","out-width":"700px","warning":"true","classes":"","dpi":72,"out-height":"","fig-width":7,"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!"}]; diff --git a/qpyodide-code-cell-demo.html b/qpyodide-code-cell-demo.html index b80867f..834336e 100644 --- a/qpyodide-code-cell-demo.html +++ b/qpyodide-code-cell-demo.html @@ -273,7 +273,7 @@ } // Store cell data -globalThis.qpyodideCellDetails = [{"options":{"fig-width":7,"results":"markup","comment":"","fig-cap":"","label":"","dpi":72,"context":"interactive","output":"true","out-height":"","warning":"true","fig-height":5,"message":"true","autorun":"","out-width":"700px","classes":""},"code":"1 + 1","id":1},{"options":{"fig-width":7,"results":"markup","comment":"","fig-cap":"","label":"","dpi":72,"context":"interactive","output":"true","out-height":"","warning":"true","fig-height":5,"message":"true","autorun":"","out-width":"700px","classes":""},"code":"1 + 1","id":2},{"options":{"fig-width":7,"results":"markup","comment":"","fig-cap":"","label":"","dpi":72,"context":"interactive","output":"true","out-height":"","warning":"true","fig-height":5,"message":"true","autorun":"","out-width":"700px","classes":""},"code":"greet = 'Hello'\ngreet","id":3},{"options":{"fig-width":7,"results":"markup","comment":"","fig-cap":"","label":"","dpi":72,"context":"interactive","output":"true","out-height":"","warning":"true","fig-height":5,"message":"true","autorun":"","out-width":"700px","classes":""},"code":"len(greet)","id":4},{"options":{"fig-width":7,"results":"markup","comment":"","fig-cap":"","label":"","dpi":72,"context":"interactive","output":"true","out-height":"","warning":"true","fig-height":5,"message":"true","autorun":"","out-width":"700px","classes":""},"code":"# Try running selected code at the start of the line\nprint(\"Hello quarto-pyodide World!\")\n\n# Try highlight only -3 or 5 and pressing the keys required\n# for the \"selected code\" approach\n-3 + 5\n\n# Finally, try running the entire code cell by using Shift + ↩","id":5},{"options":{"fig-width":7,"results":"markup","comment":"","fig-cap":"","label":"","dpi":72,"context":"interactive","output":"true","out-height":"","warning":"true","fig-height":5,"message":"true","autorun":"","out-width":"700px","classes":""},"code":"def square(x):\n return x**2\n\nsquare(8)","id":6},{"options":{"fig-width":7,"results":"markup","comment":"","fig-cap":"","label":"","dpi":72,"context":"interactive","output":"true","out-height":"","warning":"true","fig-height":5,"message":"true","autorun":"","out-width":"700px","classes":""},"code":"num_list = [1, 2, 3]\n[square(num)for num in num_list]","id":7},{"options":{"fig-width":7,"results":"markup","comment":"","fig-cap":"","label":"","dpi":72,"context":"interactive","output":"true","out-height":"","warning":"true","fig-height":5,"message":"true","autorun":"","out-width":"700px","classes":""},"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":{"fig-width":7,"results":"markup","comment":"","fig-cap":"","label":"","dpi":72,"context":"interactive","output":"true","out-height":"","warning":"true","fig-height":5,"message":"true","autorun":"","out-width":"700px","classes":""},"code":"import pandas as pd \n\ndf.Age","id":9},{"options":{"fig-width":7,"results":"markup","comment":"","fig-cap":"","label":"","dpi":72,"context":"interactive","output":"true","out-height":"","warning":"true","fig-height":5,"message":"true","autorun":"","out-width":"700px","classes":""},"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":10}]; +globalThis.qpyodideCellDetails = [{"id":1,"options":{"fig-width":7,"label":"","comment":"","warning":"true","out-height":"","message":"true","fig-height":5,"context":"interactive","results":"markup","fig-cap":"","classes":"","autorun":"","dpi":72,"out-width":"700px","output":"true"},"code":"1 + 1"},{"id":2,"options":{"fig-width":7,"label":"","comment":"","warning":"true","out-height":"","message":"true","fig-height":5,"context":"interactive","results":"markup","fig-cap":"","classes":"","autorun":"","dpi":72,"out-width":"700px","output":"true"},"code":"1 + 1"},{"id":3,"options":{"fig-width":7,"label":"","comment":"","warning":"true","out-height":"","message":"true","fig-height":5,"context":"interactive","results":"markup","fig-cap":"","classes":"","autorun":"","dpi":72,"out-width":"700px","output":"true"},"code":"greet = 'Hello'\ngreet"},{"id":4,"options":{"fig-width":7,"label":"","comment":"","warning":"true","out-height":"","message":"true","fig-height":5,"context":"interactive","results":"markup","fig-cap":"","classes":"","autorun":"","dpi":72,"out-width":"700px","output":"true"},"code":"len(greet)"},{"id":5,"options":{"fig-width":7,"label":"","comment":"","warning":"true","out-height":"","message":"true","fig-height":5,"context":"interactive","results":"markup","fig-cap":"","classes":"","autorun":"","dpi":72,"out-width":"700px","output":"true"},"code":"# Try running selected code at the start of the line\nprint(\"Hello quarto-pyodide World!\")\n\n# Try highlight only -3 or 5 and pressing the keys required\n# for the \"selected code\" approach\n-3 + 5\n\n# Finally, try running the entire code cell by using Shift + ↩"},{"id":6,"options":{"fig-width":7,"label":"","comment":"","warning":"true","out-height":"","message":"true","fig-height":5,"context":"interactive","results":"markup","fig-cap":"","classes":"","autorun":"","dpi":72,"out-width":"700px","output":"true"},"code":"def square(x):\n return x**2\n\nsquare(8)"},{"id":7,"options":{"fig-width":7,"label":"","comment":"","warning":"true","out-height":"","message":"true","fig-height":5,"context":"interactive","results":"markup","fig-cap":"","classes":"","autorun":"","dpi":72,"out-width":"700px","output":"true"},"code":"num_list = [1, 2, 3]\n[square(num)for num in num_list]"},{"id":8,"options":{"fig-width":7,"label":"","comment":"","warning":"true","out-height":"","message":"true","fig-height":5,"context":"interactive","results":"markup","fig-cap":"","classes":"","autorun":"","dpi":72,"out-width":"700px","output":"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":9,"options":{"fig-width":7,"label":"","comment":"","warning":"true","out-height":"","message":"true","fig-height":5,"context":"interactive","results":"markup","fig-cap":"","classes":"","autorun":"","dpi":72,"out-width":"700px","output":"true"},"code":"import pandas as pd \n\ndf.Age"},{"id":10,"options":{"fig-width":7,"label":"","comment":"","warning":"true","out-height":"","message":"true","fig-height":5,"context":"interactive","results":"markup","fig-cap":"","classes":"","autorun":"","dpi":72,"out-width":"700px","output":"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/qpyodide-first-steps.html b/qpyodide-first-steps.html index a19789d..5d4ffe5 100644 --- a/qpyodide-first-steps.html +++ b/qpyodide-first-steps.html @@ -273,7 +273,7 @@ } // Store cell data -globalThis.qpyodideCellDetails = [{"id":1,"options":{"results":"markup","message":"true","fig-width":7,"autorun":"","context":"interactive","comment":"","fig-cap":"","dpi":72,"out-height":"","output":"true","warning":"true","fig-height":5,"label":"","classes":"","out-width":"700px"},"code":"n = 5\nwhile n > 0:\n print(n)\n n = n - 1\n\nprint('Blastoff!')"}]; +globalThis.qpyodideCellDetails = [{"code":"n = 5\nwhile n > 0:\n print(n)\n n = n - 1\n\nprint('Blastoff!')","id":1,"options":{"results":"markup","output":"true","fig-cap":"","fig-height":5,"comment":"","out-height":"","context":"interactive","autorun":"","classes":"","dpi":72,"out-width":"700px","label":"","message":"true","warning":"true","fig-width":7}}]; diff --git a/tests/index.html b/tests/index.html index 5efbf8a..2dd9540 100644 --- a/tests/index.html +++ b/tests/index.html @@ -228,7 +228,7 @@ } // Store cell data -globalThis.qpyodideCellDetails = [{"id":1,"code":"print(\"Welcome to behind the scenes of quarto-pyodide!\")","options":{"out-height":"","output":"true","message":"true","dpi":72,"results":"markup","context":"interactive","out-width":"700px","label":"","fig-width":7,"classes":"","warning":"true","autorun":"","fig-height":5,"fig-cap":"","comment":""}}]; +globalThis.qpyodideCellDetails = [{"id":1,"code":"print(\"Welcome to behind the scenes of quarto-pyodide!\")","options":{"output":"true","message":"true","out-height":"","comment":"","results":"markup","out-width":"700px","context":"interactive","fig-height":5,"warning":"true","label":"","dpi":72,"autorun":"","classes":"","fig-cap":"","fig-width":7}}]; diff --git a/tests/qpyodide-test-graphic-output.html b/tests/qpyodide-test-graphic-output.html index eff2f56..4e339d5 100644 --- a/tests/qpyodide-test-graphic-output.html +++ b/tests/qpyodide-test-graphic-output.html @@ -228,7 +228,7 @@ } // Store cell data -globalThis.qpyodideCellDetails = [{"options":{"comment":"","warning":"true","context":"interactive","fig-height":5,"results":"markup","autorun":"","dpi":72,"label":"","fig-width":7,"classes":"","fig-cap":"","output":"true","message":"true","out-height":"","out-width":"700px"},"id":1,"code":"import matplotlib.pyplot as plt\n\nx = [1, 5, 3, -2]\ny = [-5, 8, 9, 4]\n\nplt.plot(x, y)\nplt.show()"}]; +globalThis.qpyodideCellDetails = [{"id":1,"code":"import matplotlib.pyplot as plt\n\nx = [1, 5, 3, -2]\ny = [-5, 8, 9, 4]\n\nplt.plot(x, y)\nplt.show()","options":{"autorun":"","output":"true","out-width":"700px","label":"","results":"markup","message":"true","context":"interactive","comment":"","warning":"true","out-height":"","dpi":72,"classes":"","fig-width":7,"fig-cap":"","fig-height":5}}]; diff --git a/tests/qpyodide-test-internal-cell.html b/tests/qpyodide-test-internal-cell.html index db35589..131f1ef 100644 --- a/tests/qpyodide-test-internal-cell.html +++ b/tests/qpyodide-test-internal-cell.html @@ -228,7 +228,7 @@ } // Store cell data -globalThis.qpyodideCellDetails = [{"options":{"context":"interactive","results":"markup","out-height":"","classes":"","warning":"true","fig-width":7,"fig-cap":"","comment":"","fig-height":5,"out-width":"700px","dpi":72,"label":"","autorun":"","message":"true","output":"true"},"code":"1 + 1","id":1},{"options":{"context":"setup","results":"markup","out-height":"","classes":"","warning":"true","fig-width":7,"fig-cap":"","comment":"","fig-height":5,"out-width":"700px","dpi":72,"label":"","autorun":"","message":"true","output":"true"},"code":"x = [1, 5, 3, -2]\ny = [-5, 8, 9, 4]","id":2},{"options":{"context":"output","results":"markup","out-height":"","classes":"","warning":"true","fig-width":7,"fig-cap":"","comment":"","fig-height":5,"out-width":"700px","dpi":72,"label":"","autorun":"","message":"true","output":"true"},"code":"import matplotlib.pyplot as plt\n\nprint(f\"x: {x}\")\n\nprint(f\"y: {y}\")\n\nplt.plot(x, y)","id":3}]; +globalThis.qpyodideCellDetails = [{"id":1,"options":{"warning":"true","out-height":"","dpi":72,"results":"markup","fig-cap":"","classes":"","context":"interactive","message":"true","comment":"","label":"","autorun":"","output":"true","out-width":"700px","fig-height":5,"fig-width":7},"code":"1 + 1"},{"id":2,"options":{"warning":"true","out-height":"","dpi":72,"results":"markup","fig-cap":"","classes":"","context":"setup","message":"true","comment":"","label":"","autorun":"","output":"true","out-width":"700px","fig-height":5,"fig-width":7},"code":"x = [1, 5, 3, -2]\ny = [-5, 8, 9, 4]"},{"id":3,"options":{"warning":"true","out-height":"","dpi":72,"results":"markup","fig-cap":"","classes":"","context":"output","message":"true","comment":"","label":"","autorun":"","output":"true","out-width":"700px","fig-height":5,"fig-width":7},"code":"import matplotlib.pyplot as plt\n\nprint(f\"x: {x}\")\n\nprint(f\"y: {y}\")\n\nplt.plot(x, y)"}];