Commit Graph

6 Commits

Author SHA1 Message Date
MinRK
62f318c777 undo failed changes
before raising

otherwise, invalid values were still accepted
2014-02-20 22:57:01 -08:00
MinRK
b51cc50357 further tests for default values in interact
both valid and invalid
2014-02-20 22:37:04 -08:00
MinRK
8a2d92010a set default value from signature defaults in interact
If available, use the default value from the signature for the initial condition,
when using range/choice abbreviations.

Not affected:

- single-value abbreviations (`@interact(a=5)` sets `a=5`)
- explicit Widgets
2014-02-16 15:11:39 -08:00
MinRK
813e32dfea set readout=True as default on SliderWidgets 2014-02-07 11:16:46 -08:00
MinRK
7861bee65f test widget interaction (Python) 2014-02-06 17:06:08 -08:00
Brian E. Granger
dd9a6efaed Utter interact insanity.
This involves a bunch of really complicated logic to handle the
different ways that function parameters can be processed in Python.
Most importantly, this includes support for *args in interact.
2014-02-06 17:06:05 -08:00