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 Sep 27, 2023
1 parent 5d20869 commit 5c90998
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/usage/dynamics/k-matrix.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1492,7 +1492,9 @@
" if substitute_sqrt_rho:\n",
"\n",
" def rho_i(i):\n",
" return phsp_factor(*sp.symbols(f\"s m_a{i} m_b{i}\", nonnegative=True)).doit()\n",
" return phsp_factor(\n",
" *sp.symbols(f\"s m_a{i} m_b{i}\", nonnegative=True)\n",
" ).doit()\n",
"\n",
" expr = expr.xreplace(\n",
" {sp.sqrt(rho_i(i)): 1 for i in range(n_channels)}\n",
Expand Down Expand Up @@ -1591,7 +1593,9 @@
" kmatrix.NonRelativisticPVector,\n",
" kmatrix.RelativisticPVector,\n",
" }:\n",
" fig.suptitle(f\"$P$-vector for {n_channels} channels and {n_poles} resonances\")\n",
" fig.suptitle(\n",
" f\"$P$-vector for {n_channels} channels and {n_poles} resonances\"\n",
" )\n",
"\n",
" for ax in axes:\n",
" ax.set_xlim(x_min, x_max)\n",
Expand Down

0 comments on commit 5c90998

Please sign in to comment.