Skip to content

Commit

Permalink
MAINT: sort keyword arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
redeboer committed Oct 1, 2024
1 parent 54a8960 commit da76a57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions docs/003.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -374,10 +374,10 @@
},
"outputs": [],
"source": [
"fig, axes = plt.subplots(ncols=2, figsize=(11, 4.5), tight_layout=True)\n",
"fig, axes = plt.subplots(figsize=(11, 4.5), ncols=2, tight_layout=True)\n",
"ax1, ax2 = axes\n",
"for ax in axes:\n",
" ax.axhline(0, linewidth=0.5, c=\"black\")\n",
" ax.axhline(0, color=\"black\", linewidth=0.5)\n",
"\n",
"real_style = {\"label\": \"Real part\", \"c\": \"black\", \"linestyle\": \"dashed\"}\n",
"imag_style = {\"label\": \"Imag part\", \"c\": \"red\"}\n",
Expand Down Expand Up @@ -713,9 +713,9 @@
"outputs": [],
"source": [
"fig, axes = plt.subplots(\n",
" figsize=(5, 2.5 * len(l_values)),\n",
" nrows=len(l_values),\n",
" sharex=True,\n",
" figsize=(5, 2.5 * len(l_values)),\n",
" tight_layout=True,\n",
")\n",
"fig.suptitle(f\"Dispersion integrals for $m_1={m1_val:.2f}, m_2={m2_val:.2f}$\")\n",
Expand Down
2 changes: 1 addition & 1 deletion docs/017.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@
" a.set_yticks([])\n",
" a.axis(\"off\")\n",
"fig.tight_layout()\n",
"fig.subplots_adjust(wspace=0, hspace=0)\n",
"fig.subplots_adjust(hspace=0, wspace=0)\n",
"\n",
"fig.canvas.toolbar_visible = False\n",
"fig.canvas.header_visible = False\n",
Expand Down

0 comments on commit da76a57

Please sign in to comment.