<div dir="ltr">Hello list. I am trying to set the state of a DropdownWidget (Or RadioButton) in IPython3. You didn't have to do that in the past, but even if I specify the value, it gives me an error. Simple example:<div><br></div><div>This works:</div><div><br></div><div><div>def plot_line(c='b'):</div><div>    plt.plot([0,1],color=c)</div><div>interact(plot_line,c=['b','r','g']);</div></div><div><br></div><div>This works in IPython2, but not in IPython3. In IPython3 it passes c=None to the function on initialization.</div><div><br></div><div><div>def plot_line(c='b'):</div><div>    plt.plot([0,1],color=c)</div><div>interact(plot_line,c=DropdownWidget(values=['b','r','g']));</div></div><div><br></div><div>Even when specifying the value, for example</div><div><br></div><div><div>def plot_line(c='b'):</div><div>    plt.plot([0,1],color=c)</div><div>interact(plot_line,c=DropdownWidget(value='r',values=['b','r','g']));</div></div><div><br></div><div>I get an error: KeyError: 'r'.</div><div><br></div><div>Any thoughts on how to set the state when creating a DropwdownWidget (or RadioButtonWidget) using interact? Or is this a bug?</div><div><br></div><div>Thanks,</div><div><br></div><div>Mark</div><div><br></div><div><br></div></div>