MinRK
acfc2d5308
set default value from dict
12 years ago
MinRK
e91ef370dd
remove no-op adding abbreviations from always-empty dict
12 years ago
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
12 years ago
MinRK
d772b4c3da
catch errors at a lower level in interact
...
for cleaner tracebacks in the interact callback than the fallback case
12 years ago
MinRK
6d555b7aee
return f with @interact, not just @interact(**kwargs)
12 years ago
MinRK
031b69895c
fix ValueError format message
12 years ago
MinRK
48a56d3156
simplify float/int slider abbreviation logic
...
fixes unhanded case where only one entry is a float
12 years ago
MinRK
7911c6c237
finish removing *args support
12 years ago
MinRK
ad6109692d
ensure range widgets get value that is on a step
12 years ago
MinRK
a58ca8a0a0
s/const/fixed/
12 years ago
MinRK
2d2c5beb0e
move @annotate to py3compat
12 years ago
MinRK
3053a855a9
remove positional arg support from interact
12 years ago
MinRK
feab63754d
update interact now that SelectionWidget.values is a dict
12 years ago
Brian E. Granger
88fb17b182
Adding const pseudo-widget for fixing arguments to interact.
12 years ago
Brian E. Granger
6e8c63ea19
Adding decorator forms of interact. Yeah!
12 years ago
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.
12 years ago
Brian E. Granger
2ef393aaa3
Renaming interact.py->interaction.py to improve imports.
12 years ago