[IPython-dev] Default values for widgets
Stéfan van der Walt
Sat Feb 8 16:47:25 CST 2014
On Sat, 08 Feb 2014 14:20:32 -0800, Brian Granger wrote:
> Right now, we look at the following places for widget abbreviations:
> 1. kwargs to interact
> 2. annotations
> 3. defaults to individual keyword args in the def of the function.
I can certainly add a PR to set the default widget value from the keyword.
Another question: how do you prevent a keyword argument from being turned into
a widget? Currently all arguments are processed, irrespective of whether they
are specified in "interactive".
More information about the IPython-dev