Skip to content

Commit

Permalink
Deploying to gh-pages from @ dbccc78 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed Feb 19, 2024
1 parent eb12d9b commit 4738974
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/readme/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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}];


</script>
Expand Down
2 changes: 1 addition & 1 deletion examples/readme/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -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!')
```
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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!"}];


</script>
Expand Down
2 changes: 1 addition & 1 deletion qpyodide-code-cell-demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -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()"}];


</script>
Expand Down
2 changes: 1 addition & 1 deletion tests/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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}];


</script>
Expand Down
2 changes: 1 addition & 1 deletion tests/qpyodide-test-graphic-output.html
Original file line number Diff line number Diff line change
Expand Up @@ -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}];


</script>
Expand Down
2 changes: 1 addition & 1 deletion tests/qpyodide-test-internal-cell.html
Original file line number Diff line number Diff line change
Expand Up @@ -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"}}];


</script>
Expand Down

0 comments on commit 4738974

Please sign in to comment.