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 Nov 5, 2024
1 parent 70c0c4e commit 59d6c68
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,6 @@
" save_transparent=False,\n",
" plot_prefix=\"PROF_\",\n",
"):\n",
"\n",
" # --- turn off interactive mode\n",
" plt.ioff()\n",
"\n",
Expand Down
6 changes: 3 additions & 3 deletions scepter/process/runs/generate-overview-plots.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,6 @@
" save_transparent=False,\n",
" plot_prefix=\"PROF_\",\n",
"):\n",
"\n",
" # --- turn off interactive mode\n",
" plt.ioff()\n",
"\n",
Expand Down Expand Up @@ -1117,8 +1116,9 @@
"runname_in = dfin[\"newrun_id_full\"][0]\n",
"dirname = runname_in # + \"_\" + domain_in\n",
"results_path = os.path.join(resdir, dirname)\n",
"flx_path, prof_path = os.path.join(results_path, \"flx\"), os.path.join(\n",
" results_path, \"prof\"\n",
"flx_path, prof_path = (\n",
" os.path.join(results_path, \"flx\"),\n",
" os.path.join(results_path, \"prof\"),\n",
")\n",
"\n",
"# create an output list\n",
Expand Down
1 change: 0 additions & 1 deletion scepter/process/spinups/generate-overview-plots.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,6 @@
" save_transparent=False,\n",
" plot_prefix=\"PROF_\",\n",
"):\n",
"\n",
" # --- turn off interactive mode\n",
" plt.ioff()\n",
"\n",
Expand Down
5 changes: 3 additions & 2 deletions scepter/process/spinups/spinup_basicplot.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,9 @@
"# where results are stored\n",
"resx = \"/home/tykukla/SCEPTER/scepter_output\"\n",
"results_path = os.path.join(resx, thissite)\n",
"flx_path, prof_path = os.path.join(results_path, \"flx\"), os.path.join(\n",
" results_path, \"prof\"\n",
"flx_path, prof_path = (\n",
" os.path.join(results_path, \"flx\"),\n",
" os.path.join(results_path, \"prof\"),\n",
")\n",
"\n",
"# define file name pattern\n",
Expand Down

0 comments on commit 59d6c68

Please sign in to comment.