You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am not sure this is possible, but is there a way to change the value of an option within a @manipulate loop? For example, consider
using PyPlot
f =figure()
@manipulatefor is_synapse=[true,false,None],i=1:10withfig(f) dodisplay( is_synapse)
endend
What I want is that the user goes from i=1...10 and chooses one of the options, but when the user changes the slider value, the option is_synapse gets updated, according to an internal list, such as:
using PyPlot
f =figure()
@manipulatefor is_synapse=[true,false,None],i=1:10withfig(f) doif i changed because of user
is_synapse = value from cache
elseif is_synapse changed because of user
value from cache = is_synapse
endendend
Any hints are welcome, thanks for this great package!
The text was updated successfully, but these errors were encountered:
I am not sure this is possible, but is there a way to change the value of an option within a
@manipulate
loop? For example, considerWhat I want is that the user goes from
i=1...10
and chooses one of the options, but when the user changes the slider value, the optionis_synapse
gets updated, according to an internal list, such as:Any hints are welcome, thanks for this great package!
The text was updated successfully, but these errors were encountered: