[IPython-dev] widget value persistence

Darren Dale dsdale24 at gmail.com
Thu Feb 27 14:37:06 EST 2014


I just discovered some of the incredible stuff you ipython devs have been
working on for 2.0. I have a question about the new widgets. We support
many different kinds of experiments at my lab (which is a national user
facility), some of which require extensive routines for data reduction and
analysis. Much of this work occurs in GUI-based applications. It would be
*brilliant* to be able to use the ipython notebook, where we could
distribute ipynb templates that specify the whole analysis workflow and
provide a transparent record of processing steps.

However, I have a question about portions of the analysis that would
require user interaction via a widget. Suppose I start from an ipynb
template which includes a slider that defaults to 25. My particular dataset
requires the slider to be set to 30. Is it possible for an ipynb widget to
save its most recent value as the new default value for the next time the
notebook is run? This would be a game-changer for developing user
interfaces for scientific applications.

Thanks,
Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140227/2487897e/attachment.html>


More information about the IPython-dev mailing list