couple sliders on checkbox click
Consider the following example:
@interact
def _(a=slider(0,10,1,default=2),b=slider(0,10,1,default=5),equal=checkbox(False)):
a=2
Is it possible, that after clicking on the checkbox, the position of the second slider becomes equal to that of the first slider and that, as long as the checkbox is checked, both sliders are coupled, i.e. if you change one, the other one changes by the same value.