I would like to change the contents of a selector depending on other 
controls. For example,

    import numpy as np
    c = [1,2,3]
    @interact
    def _(a =selector(c),
          b = slider(5, 10, default=0):
          global c
         c=np.arange(0,b)
         print c

I would like the content of the selector 'a' to depend on what value b have.

Is there any way to update a control dynamically?

thanks
Fred

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to