[IPython-dev] Link widget

Sylvain Corlay sylvain.corlay at gmail.com
Thu Mar 13 13:59:50 EDT 2014


Quick question on the API:

Does it really have to be a widget, or could it be a function in
IPython.html.widgets.

from IPython.html import widgets
a = widgets.FloatSliderWidget(value=30)
b = widgets.FloatSliderWidget()

show(a)
show(b)

widgets.link([[a,'value'], [b,'value']])    # could be called "sync" as well



On Thu, Mar 13, 2014 at 1:01 PM, Jason Grout <jason-sage at creativetrax.com>wrote:

>
>
> On 3/13/14, 11:54, Brian Granger wrote:
> > I am +1 on this in IPython, but not for 2.0
>
>
> Understood.  As I finish it over the next little bit, I'll put in a pull
> request and you can merge it whenever.  I'll keep it in my ipywidgets
> repository for the time being as well.
>
> Thanks,
>
> Jason
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140313/7ae023b9/attachment.html>


More information about the IPython-dev mailing list