[IPython-dev] ANN: numtraits v0.2

Wes Turner wes.turner at gmail.com
Thu Oct 1 17:55:08 EDT 2015


On Thu, Oct 1, 2015 at 12:57 PM, Nicholas Bollweg <nick.bollweg at gmail.com>
wrote:

> To answer my own questions:
> NumericalTrait doesn't yet work with ipywidgets. But it probably could!
>

- [ ] ENH: ipywidget support
- [ ] ENH: _repr_json_, _repr_html_, _repr_latex_

https://github.com/jrjohansson/version_information/blob/master/version_information/version_information.py


>
> We made an example that uses a passthrough traitlet:
> http://nbviewer.ipython.org/gist/anonymous/0358c8fee545f6ab5853
>
> Everything works pretty well, with two sliders exposing the same value,
> automatically handling the translation. Nice!
>
> The javascript side is a bit ugly, as there isn't a ton of resources for
> potentially complex forms. As it is, quantities
> <https://github.com/gentooboontoo/js-quantities> is the best option.
>
> It also looks like openmdao units would be possible, but it's all pretty
> baked in... perhaps this is an opportunity for entry_points?
>
> As an aside, we tried to put that gist up as a binder, but ran into some
> issues... i'll raise them appropriately!
>
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> https://mail.scipy.org/mailman/listinfo/ipython-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20151001/f65166ee/attachment.html>


More information about the IPython-dev mailing list