Skip to content

Commit

Permalink
Deploying to gh-pages from @ caf9cf4 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
coatless committed Feb 19, 2024
1 parent 1636dc1 commit 86fd864
Show file tree
Hide file tree
Showing 8 changed files with 723 additions and 81 deletions.
2 changes: 1 addition & 1 deletion demos/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":"print(\"Hello Quarto-Pyodide World!\")","options":{"results":"markup","label":"","message":"true","dpi":72,"output":"true","comment":"","fig-cap":"","fig-width":7,"warning":"true","fig-height":5,"classes":"","out-width":"700px","context":"interactive","out-height":"","autorun":""}}];
globalThis.qpyodideCellDetails = [{"id":1,"code":"print(\"Hello Quarto-Pyodide World!\")","options":{"output":"true","results":"markup","fig-height":5,"dpi":72,"out-width":"700px","autorun":"","label":"","message":"true","classes":"","warning":"true","fig-width":7,"comment":"","fig-cap":"","out-height":"","context":"interactive"}}];


</script>
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 = [{"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!","options":{"message":"true","label":"","out-height":"","warning":"true","context":"interactive","fig-height":5,"results":"markup","classes":"","autorun":"","output":"true","dpi":72,"fig-cap":"","fig-width":7,"out-width":"700px","comment":""},"id":1}];
globalThis.qpyodideCellDetails = [{"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,"options":{"dpi":72,"context":"interactive","out-height":"","fig-cap":"","warning":"true","autorun":"","label":"","message":"true","output":"true","classes":"","results":"markup","fig-width":7,"comment":"","out-width":"700px","fig-height":5}}];


</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 = [{"options":{"fig-height":5,"comment":"","out-height":"","context":"interactive","results":"markup","message":"true","out-width":"700px","output":"true","warning":"true","classes":"","label":"","autorun":"","dpi":72,"fig-cap":"","fig-width":7},"code":"1 + 1","id":1},{"options":{"fig-height":5,"comment":"","out-height":"","context":"interactive","results":"markup","message":"true","out-width":"700px","output":"true","warning":"true","classes":"","label":"","autorun":"","dpi":72,"fig-cap":"","fig-width":7},"code":"1 + 1","id":2},{"options":{"fig-height":5,"comment":"","out-height":"","context":"interactive","results":"markup","message":"true","out-width":"700px","output":"true","warning":"true","classes":"","label":"","autorun":"","dpi":72,"fig-cap":"","fig-width":7},"code":"greet = 'Hello'\ngreet","id":3},{"options":{"fig-height":5,"comment":"","out-height":"","context":"interactive","results":"markup","message":"true","out-width":"700px","output":"true","warning":"true","classes":"","label":"","autorun":"","dpi":72,"fig-cap":"","fig-width":7},"code":"len(greet)","id":4},{"options":{"fig-height":5,"comment":"","out-height":"","context":"interactive","results":"markup","message":"true","out-width":"700px","output":"true","warning":"true","classes":"","label":"","autorun":"","dpi":72,"fig-cap":"","fig-width":7},"code":"def square(x):\n return x**2\n\nsquare(8)","id":5},{"options":{"fig-height":5,"comment":"","out-height":"","context":"interactive","results":"markup","message":"true","out-width":"700px","output":"true","warning":"true","classes":"","label":"","autorun":"","dpi":72,"fig-cap":"","fig-width":7},"code":"num_list = [1, 2, 3]\n[square(num)for num in num_list]","id":6},{"options":{"fig-height":5,"comment":"","out-height":"","context":"interactive","results":"markup","message":"true","out-width":"700px","output":"true","warning":"true","classes":"","label":"","autorun":"","dpi":72,"fig-cap":"","fig-width":7},"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":{"fig-height":5,"comment":"","out-height":"","context":"interactive","results":"markup","message":"true","out-width":"700px","output":"true","warning":"true","classes":"","label":"","autorun":"","dpi":72,"fig-cap":"","fig-width":7},"code":"import pandas as pd \n\ndf.Age","id":8},{"options":{"fig-height":5,"comment":"","out-height":"","context":"interactive","results":"markup","message":"true","out-width":"700px","output":"true","warning":"true","classes":"","label":"","autorun":"","dpi":72,"fig-cap":"","fig-width":7},"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}];
globalThis.qpyodideCellDetails = [{"id":1,"code":"1 + 1","options":{"label":"","comment":"","out-width":"700px","warning":"true","autorun":"","context":"interactive","classes":"","results":"markup","message":"true","output":"true","fig-height":5,"fig-cap":"","out-height":"","fig-width":7,"dpi":72}},{"id":2,"code":"1 + 1","options":{"label":"","comment":"","out-width":"700px","warning":"true","autorun":"","context":"interactive","classes":"","results":"markup","message":"true","output":"true","fig-height":5,"fig-cap":"","out-height":"","fig-width":7,"dpi":72}},{"id":3,"code":"greet = 'Hello'\ngreet","options":{"label":"","comment":"","out-width":"700px","warning":"true","autorun":"","context":"interactive","classes":"","results":"markup","message":"true","output":"true","fig-height":5,"fig-cap":"","out-height":"","fig-width":7,"dpi":72}},{"id":4,"code":"len(greet)","options":{"label":"","comment":"","out-width":"700px","warning":"true","autorun":"","context":"interactive","classes":"","results":"markup","message":"true","output":"true","fig-height":5,"fig-cap":"","out-height":"","fig-width":7,"dpi":72}},{"id":5,"code":"def square(x):\n return x**2\n\nsquare(8)","options":{"label":"","comment":"","out-width":"700px","warning":"true","autorun":"","context":"interactive","classes":"","results":"markup","message":"true","output":"true","fig-height":5,"fig-cap":"","out-height":"","fig-width":7,"dpi":72}},{"id":6,"code":"num_list = [1, 2, 3]\n[square(num)for num in num_list]","options":{"label":"","comment":"","out-width":"700px","warning":"true","autorun":"","context":"interactive","classes":"","results":"markup","message":"true","output":"true","fig-height":5,"fig-cap":"","out-height":"","fig-width":7,"dpi":72}},{"id":7,"code":"import pandas as pd\n\ndf = pd.DataFrame({\n 'Name': ['JJB', 'H', 'Alex', 'Steve'],\n 'Age': [18, 25, 33, 42]\n})\n\ndf","options":{"label":"","comment":"","out-width":"700px","warning":"true","autorun":"","context":"interactive","classes":"","results":"markup","message":"true","output":"true","fig-height":5,"fig-cap":"","out-height":"","fig-width":7,"dpi":72}},{"id":8,"code":"import pandas as pd \n\ndf.Age","options":{"label":"","comment":"","out-width":"700px","warning":"true","autorun":"","context":"interactive","classes":"","results":"markup","message":"true","output":"true","fig-height":5,"fig-cap":"","out-height":"","fig-width":7,"dpi":72}},{"id":9,"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":{"label":"","comment":"","out-width":"700px","warning":"true","autorun":"","context":"interactive","classes":"","results":"markup","message":"true","output":"true","fig-height":5,"fig-cap":"","out-height":"","fig-width":7,"dpi":72}}];


</script>
Expand Down
Loading

0 comments on commit 86fd864

Please sign in to comment.