Skip to content

Commit

Permalink
step=0.01 in sliders
Browse files Browse the repository at this point in the history
  • Loading branch information
shenvitor committed Aug 25, 2024
1 parent 124704b commit de63c76
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/eta-pi-p/manual.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -729,13 +729,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 de63c76

Please sign in to comment.