From 0152f4f2e180658e83b30fa8bead6152caaacb30 Mon Sep 17 00:00:00 2001 From: Ryan Coe Date: Fri, 10 Nov 2023 10:30:21 -0700 Subject: [PATCH] remove unused imports --- examples/tutorial_1_WaveBot.ipynb | 4 +--- examples/tutorial_2_AquaHarmonics.ipynb | 4 +--- examples/tutorial_4_Pioneer.ipynb | 2 +- tests/test_integration.py | 1 - tests/test_waves.py | 1 - 5 files changed, 3 insertions(+), 9 deletions(-) diff --git a/examples/tutorial_1_WaveBot.ipynb b/examples/tutorial_1_WaveBot.ipynb index 2c827c55..2f82207e 100644 --- a/examples/tutorial_1_WaveBot.ipynb +++ b/examples/tutorial_1_WaveBot.ipynb @@ -30,8 +30,6 @@ "metadata": {}, "outputs": [], "source": [ - "from datetime import datetime\n", - "\n", "import autograd.numpy as np\n", "import capytaine as cpy\n", "import matplotlib.pyplot as plt\n", @@ -867,7 +865,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.9" + "version": "3.11.5" }, "vscode": { "interpreter": { diff --git a/examples/tutorial_2_AquaHarmonics.ipynb b/examples/tutorial_2_AquaHarmonics.ipynb index a1548f14..36a95c44 100644 --- a/examples/tutorial_2_AquaHarmonics.ipynb +++ b/examples/tutorial_2_AquaHarmonics.ipynb @@ -22,13 +22,11 @@ "metadata": {}, "outputs": [], "source": [ - "import os\n", "import capytaine as cpy\n", "import autograd.numpy as np\n", "import matplotlib.pyplot as plt\n", "from matplotlib import cm\n", "from scipy.optimize import brute\n", - "import xarray as xr\n", "import logging\n", "logging.basicConfig()\n", "logging.getLogger().setLevel(logging.DEBUG)\n", @@ -917,7 +915,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.10" + "version": "3.11.5" }, "vscode": { "interpreter": { diff --git a/examples/tutorial_4_Pioneer.ipynb b/examples/tutorial_4_Pioneer.ipynb index a87d36b6..0fd03425 100644 --- a/examples/tutorial_4_Pioneer.ipynb +++ b/examples/tutorial_4_Pioneer.ipynb @@ -972,7 +972,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.9" + "version": "3.11.5" } }, "nbformat": 4, diff --git a/tests/test_integration.py b/tests/test_integration.py index 1ca987cf..40dea0fe 100644 --- a/tests/test_integration.py +++ b/tests/test_integration.py @@ -5,7 +5,6 @@ import wecopttool as wot import capytaine as cpy import numpy as np -import matplotlib.pyplot as plt from scipy.optimize import Bounds diff --git a/tests/test_waves.py b/tests/test_waves.py index 3d0fbec4..67fd7ce7 100644 --- a/tests/test_waves.py +++ b/tests/test_waves.py @@ -4,7 +4,6 @@ import os import pytest -import capytaine as cpy import numpy as np import wavespectra as ws from scipy import signal