Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/notebooks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ jobs:
- name: Install graphviz
run: sudo apt-get -y install graphviz
- name: Run all notebooks
run: uv run --extra test pytest ${{ github.event.inputs.notebook-selector }}
run: uv run --group test --no-dev pytest ${{ github.event.inputs.notebook-selector }}
2 changes: 1 addition & 1 deletion docs/005/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
dependencies = [
"ampform[viz]",
"ampform[viz]~=0.15.0",
"ipympl",
"ipywidgets",
"mpl-interactions",
Expand Down
8 changes: 4 additions & 4 deletions docs/005/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/006/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dependencies = [
"ipywidgets",
"matplotlib",
"nbformat>=4.2.0",
"plotly",
"plotly~=5.0",
"sympy",
]
name = "technical-report"
Expand Down
28 changes: 14 additions & 14 deletions docs/006/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions docs/020/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/023/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
dependencies = [
"nbformat>=4.2.0",
"numpy",
"plotly",
"plotly~=5.0",
]
name = "technical-report"
requires-python = "~=3.13.0"
Expand Down
28 changes: 14 additions & 14 deletions docs/023/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/025/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies = [
"ipywidgets",
"matplotlib",
"nbformat",
"plotly",
"plotly~=5.0",
"sympy",
]
name = "technical-report"
Expand Down
28 changes: 14 additions & 14 deletions docs/025/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/026/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ dependencies = [
"ampform",
"matplotlib",
"nbformat>=4.2.0",
"plotly",
"plotly~=5.0",
"sympy",
]
name = "technical-report"
Expand Down
28 changes: 14 additions & 14 deletions docs/026/uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions docs/027/index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1013,19 +1013,19 @@
" MESH[1].set_array(T2n_res1.imag)\n",
" MESH[2].set_array(T1p_res1.imag)\n",
" MESH[3].set_array(T3n_res1.imag)\n",
" LINES[0].set_xdata(m0)\n",
" LINES[1].set_xdata(m0)\n",
" LINES[2].set_xdata(m0)\n",
" LINES[3].set_xdata(m0)\n",
" LINES[4].set_ydata(T1y)\n",
" LINES[5].set_ydata(T2y)\n",
" LINES[6].set_ydata(T1y)\n",
" LINES[7].set_ydata(T3y)\n",
" LINES[0].set_xdata([m0])\n",
" LINES[1].set_xdata([m0])\n",
" LINES[2].set_xdata([m0])\n",
" LINES[3].set_xdata([m0])\n",
" LINES[4].set_ydata([T1y])\n",
" LINES[5].set_ydata([T2y])\n",
" LINES[6].set_ydata([T1y])\n",
" LINES[7].set_ydata([T3y])\n",
" for mesh in MESH:\n",
" mesh.set_clim(-T_max, +T_max)\n",
" for ax in axes[0]:\n",
" ax.set_ylim(0, max(T1y) * 1.05)\n",
" fig.canvas.draw()\n",
" fig.canvas.draw_idle()\n",
"\n",
"\n",
"for ax in axes[:, 1]:\n",
Expand All @@ -1045,11 +1045,11 @@
"\n",
"output = w.interactive_output(plot, controls=sliders)\n",
"UI = w.VBox(list(sliders.values()))\n",
"fig.tight_layout()\n",
"ax1d1.legend()\n",
"ax1d2.legend()\n",
"ax2d2.legend()\n",
"display(output, UI)"
"display(UI)\n",
"plt.show()"
]
}
],
Expand All @@ -1072,7 +1072,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.13.12"
"version": "3.13.13"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion docs/027/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dependencies = [
"ipywidgets",
"matplotlib",
"nbformat>=4.2.0",
"plotly",
"plotly~=5.0",
"sympy",
]
name = "technical-report"
Expand Down
Loading
Loading