Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 19, 2024
1 parent d51ef31 commit a4ddb6a
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 17 deletions.
3 changes: 1 addition & 2 deletions docs/notebooks/cordex-preprocessing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@
"import intake\n",
"import numpy as np\n",
"import xarray as xr\n",
"from tqdm.notebook import tqdm\n",
"\n",
"os.environ[\"HDF5_USE_FILE_LOCKING\"] = \"FALSE\"\n",
"\n",
Expand Down Expand Up @@ -119,7 +118,7 @@
}
],
"source": [
"from dask.distributed import Client, progress\n",
"from dask.distributed import Client\n",
"\n",
"client = Client()"
]
Expand Down
1 change: 0 additions & 1 deletion docs/notebooks/domains.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2700,7 +2700,6 @@
" %matplotlib inline\n",
" import cartopy.crs as ccrs\n",
" import cartopy.feature as cf\n",
" import matplotlib.patheffects as pe\n",
" import matplotlib.pyplot as plt\n",
"\n",
" plt.figure(figsize=(20, 10))\n",
Expand Down
1 change: 0 additions & 1 deletion docs/notebooks/esgf.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@
}
],
"source": [
"import pandas as pd\n",
"\n",
"from cordex import esgf_access\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion docs/notebooks/euro-cordex-ensemble.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"metadata": {},
"outputs": [],
"source": [
"from dask.distributed import Client, progress\n",
"from dask.distributed import Client\n",
"\n",
"client = Client()"
]
Expand Down
2 changes: 0 additions & 2 deletions docs/notebooks/mask.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3275,8 +3275,6 @@
}
],
"source": [
"import hvplot.xarray\n",
"import seaborn\n",
"\n",
"tas_hamburg = tas.where(tas_mask >= 0)\n",
"fig, ax = plt.subplots(figsize=(13, 10))\n",
Expand Down
6 changes: 2 additions & 4 deletions docs/notebooks/preprocessing.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@
"outputs": [],
"source": [
"import intake\n",
"import numpy as np\n",
"import xarray as xr\n",
"from tqdm.notebook import tqdm"
"import xarray as xr"
]
},
{
Expand Down Expand Up @@ -85,7 +83,7 @@
}
],
"source": [
"from dask.distributed import Client, progress\n",
"from dask.distributed import Client\n",
"\n",
"client = Client()\n",
"client"
Expand Down
4 changes: 1 addition & 3 deletions docs/notebooks/prudence.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
"import numpy as np\n",
"import regionmask\n",
"import xarray as xr\n",
"from tqdm.autonotebook import tqdm\n",
"\n",
"import cordex as cx\n",
"\n",
Expand Down Expand Up @@ -85,7 +84,6 @@
"):\n",
" \"\"\"plot a domain using the right projections and transformations with cartopy\"\"\"\n",
" %matplotlib inline\n",
" import cartopy.crs as ccrs\n",
" import cartopy.feature as cf\n",
" import matplotlib.pyplot as plt\n",
"\n",
Expand Down Expand Up @@ -1010,7 +1008,7 @@
}
],
"source": [
"from dask.distributed import Client, progress\n",
"from dask.distributed import Client\n",
"\n",
"client = Client()\n",
"client"
Expand Down
3 changes: 0 additions & 3 deletions docs/notebooks/weighted-masking.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
"metadata": {},
"outputs": [],
"source": [
"import cf_xarray as cfxr\n",
"import numpy as np\n",
"import xarray as xr\n",
"import xesmf as xe\n",
"\n",
"import cordex as cx"
]
Expand Down Expand Up @@ -2161,7 +2159,6 @@
],
"source": [
"import cartopy.crs as ccrs\n",
"import cartopy.feature as cf\n",
"import matplotlib.pyplot as plt\n",
"\n",
"plt.figure(figsize=(15, 10))\n",
Expand Down

0 comments on commit a4ddb6a

Please sign in to comment.