From d9964455d5993e635ca1378462dd83dfbe495c1b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Martinez?= Date: Tue, 22 Aug 2023 14:26:57 +0200 Subject: [PATCH] new cell format --- tests/1-2_example_notebook.ipynb | 46 +------------------------------- tests/1-example_notebook.ipynb | 46 +------------------------------- tests/2-other_notebook.ipynb | 46 +------------------------------- 3 files changed, 3 insertions(+), 135 deletions(-) diff --git a/tests/1-2_example_notebook.ipynb b/tests/1-2_example_notebook.ipynb index 27818aa..69122a5 100644 --- a/tests/1-2_example_notebook.ipynb +++ b/tests/1-2_example_notebook.ipynb @@ -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} diff --git a/tests/1-example_notebook.ipynb b/tests/1-example_notebook.ipynb index 27818aa..69122a5 100644 --- a/tests/1-example_notebook.ipynb +++ b/tests/1-example_notebook.ipynb @@ -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} diff --git a/tests/2-other_notebook.ipynb b/tests/2-other_notebook.ipynb index 27818aa..69122a5 100644 --- a/tests/2-other_notebook.ipynb +++ b/tests/2-other_notebook.ipynb @@ -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}