From 032dfd8414c32e92db1ccd622640ae695438fca8 Mon Sep 17 00:00:00 2001 From: Ellie Daw Date: Tue, 1 Oct 2024 13:27:15 -0500 Subject: [PATCH] Linter :) --- docs/notebooks/CoCiPGrid.ipynb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/notebooks/CoCiPGrid.ipynb b/docs/notebooks/CoCiPGrid.ipynb index 2d0ee0f3..0a94ab6b 100644 --- a/docs/notebooks/CoCiPGrid.ipynb +++ b/docs/notebooks/CoCiPGrid.ipynb @@ -6,14 +6,15 @@ "metadata": {}, "outputs": [], "source": [ - "import numpy as np\n", "import matplotlib.pyplot as plt\n", - "from pycontrails.models.cocipgrid import CocipGrid\n", - "from pycontrails.datalib.ecmwf import ERA5\n", - "from pycontrails.core import MetDataset\n", + "import numpy as np\n", "import pandas as pd\n", - "from pycontrails.models.ps_model import PSGrid\n", - "from pycontrails.models.humidity_scaling import HistogramMatching" + "\n", + "from pycontrails.core import MetDataset\n", + "from pycontrails.datalib.ecmwf import ERA5\n", + "from pycontrails.models.cocipgrid import CocipGrid\n", + "from pycontrails.models.humidity_scaling import HistogramMatching\n", + "from pycontrails.models.ps_model import PSGrid" ] }, { @@ -104,7 +105,7 @@ "# Plot results\n", "plt.figure(figsize=(12, 8))\n", "ef_per_m = result.data[\"ef_per_m\"].isel(time=0, level=0)\n", - "plt.contourf(result.data.longitude, result.data.latitude, ef_per_m, cmap='coolwarm')\n", + "plt.contourf(result.data.longitude, result.data.latitude, ef_per_m, cmap=\"coolwarm\")\n", "plt.colorbar(label=\"Energy Forcing per meter (W/m)\")\n", "plt.title(\"CocipGrid Energy Forcing\")\n", "plt.xlabel(\"Longitude\")\n", @@ -694,8 +695,7 @@ "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", - "pygments_lexer": "ipython3", - "version": "3.11.6" + "pygments_lexer": "ipython3" } }, "nbformat": 4,