Skip to content

Commit

Permalink
ENH: decrease FloatSlider step size (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
shenvitor authored Aug 26, 2024
1 parent 07f7abb commit 69a21fa
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/eta-pi-p/automated.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -380,13 +380,15 @@
" description=Rf\"\\({c_latex}\\)\",\n",
" min=0,\n",
" max=10,\n",
" step=0.01,\n",
" value=abs(value),\n",
" continuous_update=False,\n",
" )\n",
" slider_phi = w.FloatSlider(\n",
" description=Rf\"\\({phi_latex}\\)\",\n",
" min=-np.pi,\n",
" max=+np.pi,\n",
" step=0.01,\n",
" value=np.angle(value),\n",
" continuous_update=False,\n",
" )\n",
Expand Down
4 changes: 4 additions & 0 deletions docs/lambda-k-pi/ampform-dpd.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,7 @@
" description=Rf\"\\({sp.latex(symbol)}\\)\",\n",
" min=0.0,\n",
" max=1.0,\n",
" step=0.01,\n",
" value=value,\n",
" continuous_update=False,\n",
" )\n",
Expand All @@ -631,6 +632,7 @@
" description=Rf\"\\({sp.latex(symbol)}\\)\",\n",
" min=0.63,\n",
" max=4,\n",
" step=0.01,\n",
" value=value,\n",
" continuous_update=False,\n",
" )\n",
Expand All @@ -650,13 +652,15 @@
" description=Rf\"\\({c_latex}\\)\",\n",
" min=0,\n",
" max=10,\n",
" step=0.01,\n",
" value=abs(value),\n",
" continuous_update=False,\n",
" )\n",
" slider_phi = w.FloatSlider(\n",
" description=Rf\"\\({phi_latex}\\)\",\n",
" min=-np.pi,\n",
" max=+np.pi,\n",
" step=0.01,\n",
" value=np.angle(value),\n",
" continuous_update=False,\n",
" )\n",
Expand Down
4 changes: 4 additions & 0 deletions docs/lambda-k-pi/ampform.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -483,6 +483,7 @@
" description=Rf\"\\({sp.latex(symbol)}\\)\",\n",
" min=0.0,\n",
" max=1.0,\n",
" step=0.01,\n",
" value=value,\n",
" continuous_update=False,\n",
" )\n",
Expand All @@ -499,6 +500,7 @@
" description=Rf\"\\({sp.latex(symbol)}\\)\",\n",
" min=0.63,\n",
" max=4,\n",
" step=0.01,\n",
" value=value,\n",
" continuous_update=False,\n",
" )\n",
Expand All @@ -518,13 +520,15 @@
" description=Rf\"\\({c_latex}\\)\",\n",
" min=0,\n",
" max=10,\n",
" step=0.01,\n",
" value=abs(value),\n",
" continuous_update=False,\n",
" )\n",
" slider_phi = w.FloatSlider(\n",
" description=Rf\"\\({phi_latex}\\)\",\n",
" min=-np.pi,\n",
" max=+np.pi,\n",
" step=0.01,\n",
" value=np.angle(value),\n",
" continuous_update=False,\n",
" )\n",
Expand Down

0 comments on commit 69a21fa

Please sign in to comment.