Open akhmerov opened 9 years ago
The following code produces a StaticInteract where the output disappears when the sliders are being moved or clicked:
StaticInteract
from ipywidgets import StaticInteract, RangeWidget StaticInteract(lambda alph, BB: (alph, BB), alph=RangeWidget(0, 10, 1), BB=RangeWidget(0, 10, 1))
Changing alph and BB into x and y fixes the problem.
alph
BB
x
y
For more examples see http://nbviewer.ipython.org/urls/dl.dropboxusercontent.com/u/763585/multiletter.ipynb
Edit: Further investigation showed that the problem appears when the ordering of variable names is changed by str.tolower().
str.tolower()
Thanks! If you know how to fix this, I'll accept a PR!
The following code produces a
StaticInteract
where the output disappears when the sliders are being moved or clicked:Changing
alph
andBB
intox
andy
fixes the problem.For more examples see http://nbviewer.ipython.org/urls/dl.dropboxusercontent.com/u/763585/multiletter.ipynb
Edit: Further investigation showed that the problem appears when the ordering of variable names is changed by
str.tolower()
.