Skip to content

Commit

Permalink
new cell format
Browse files Browse the repository at this point in the history
  • Loading branch information
TheoMF committed Aug 22, 2023
1 parent 1c0e7d5 commit d996445
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 135 deletions.
46 changes: 1 addition & 45 deletions tests/1-2_example_notebook.ipynb
Original file line number Diff line number Diff line change
@@ -1,45 +1 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "f2fe3084",
"metadata": {},
"outputs": [],
"source": [
"def hypotenuse(a, b):\n",
" \"\"\"Return hypotenuse of triangle.\"\"\"\n",
" return (a**2 + b**2) ** 0.5\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "9bc368d8",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
{"cells": [{"cell_type": "code", "execution_count": null, "id": "f2fe3084", "metadata": {}, "outputs": [], "source": ["def hypotenuse(a, b):\n", " \"\"\"Return hypotenuse of triangle.\"\"\"\n", " return (a**2 + b**2) ** 0.5\n"]}, {"cell_type": "code", "execution_count": null, "id": "9bc368d8", "metadata": {}, "outputs": [], "source": []}], "metadata": {"kernelspec": {"display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3"}, "language_info": {"codemirror_mode": {"name": "ipython", "version": 3}, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.10"}}, "nbformat": 4, "nbformat_minor": 5}
46 changes: 1 addition & 45 deletions tests/1-example_notebook.ipynb
Original file line number Diff line number Diff line change
@@ -1,45 +1 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "f2fe3084",
"metadata": {},
"outputs": [],
"source": [
"def hypotenuse(a, b):\n",
" \"\"\"Return hypotenuse of triangle.\"\"\"\n",
" return (a**2 + b**2) ** 0.5\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "9bc368d8",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
{"cells": [{"cell_type": "code", "execution_count": null, "id": "f2fe3084", "metadata": {}, "outputs": [], "source": ["def hypotenuse(a, b):\n", " \"\"\"Return hypotenuse of triangle.\"\"\"\n", " return (a**2 + b**2) ** 0.5\n"]}, {"cell_type": "code", "execution_count": null, "id": "9bc368d8", "metadata": {}, "outputs": [], "source": []}], "metadata": {"kernelspec": {"display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3"}, "language_info": {"codemirror_mode": {"name": "ipython", "version": 3}, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.10"}}, "nbformat": 4, "nbformat_minor": 5}
46 changes: 1 addition & 45 deletions tests/2-other_notebook.ipynb
Original file line number Diff line number Diff line change
@@ -1,45 +1 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "f2fe3084",
"metadata": {},
"outputs": [],
"source": [
"def hypotenuse(a, b):\n",
" \"\"\"Return hypotenuse of triangle.\"\"\"\n",
" return (a**2 + b**2) ** 0.5\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "9bc368d8",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.10"
}
},
"nbformat": 4,
"nbformat_minor": 5
}
{"cells": [{"cell_type": "code", "execution_count": null, "id": "f2fe3084", "metadata": {}, "outputs": [], "source": ["def hypotenuse(a, b):\n", " \"\"\"Return hypotenuse of triangle.\"\"\"\n", " return (a**2 + b**2) ** 0.5\n"]}, {"cell_type": "code", "execution_count": null, "id": "9bc368d8", "metadata": {}, "outputs": [], "source": []}], "metadata": {"kernelspec": {"display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3"}, "language_info": {"codemirror_mode": {"name": "ipython", "version": 3}, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.8.10"}}, "nbformat": 4, "nbformat_minor": 5}

0 comments on commit d996445

Please sign in to comment.