Gordon Ball
48e1a0b2bc
s/choose/manual/g
2014-09-22 21:23:51 +02:00
Gordon Ball
859e9f5261
Change from on_demand kwarg to interact_choose function
2014-08-26 10:37:32 +02:00
Gordon Ball
8296f24904
Merge master
2014-08-26 10:25:38 +02:00
Jonathan Frederic
d985ee86c6
s/Container/Box
2014-08-13 13:19:27 -07:00
Jonathan Frederic
ba3033971e
Renamed *Widget to *,
...
depracted old names.
2014-08-08 14:56:11 -07:00
Gordon Ball
5eea47203b
Disable run button until the function finishes
2014-06-26 19:25:52 +02:00
Gordon Ball
4752b83feb
Add 'on_demand' option to interact() so that long-running functions can be started only when explicitly requested
2014-06-25 16:49:56 +02:00
Jessica B. Hamrick
31812159af
Only set widget description in interact if it does not already exist
2014-05-08 11:12:02 -07:00
MinRK
acfc2d5308
set default value from dict
2014-02-20 22:36:42 -08:00
MinRK
e91ef370dd
remove no-op adding abbreviations from always-empty dict
2014-02-16 15:17:23 -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
d772b4c3da
catch errors at a lower level in interact
...
for cleaner tracebacks in the interact callback than the fallback case
2014-02-07 16:51:10 -08:00
MinRK
6d555b7aee
return f with @interact, not just @interact(**kwargs)
2014-02-06 17:06:08 -08:00
MinRK
031b69895c
fix ValueError format message
2014-02-06 17:06:07 -08:00
MinRK
48a56d3156
simplify float/int slider abbreviation logic
...
fixes unhanded case where only one entry is a float
2014-02-06 17:06:07 -08:00
MinRK
7911c6c237
finish removing *args support
2014-02-06 17:06:07 -08:00
MinRK
ad6109692d
ensure range widgets get value that is on a step
2014-02-06 17:06:07 -08:00
MinRK
a58ca8a0a0
s/const/fixed/
2014-02-06 17:06:07 -08:00
MinRK
2d2c5beb0e
move @annotate to py3compat
2014-02-06 17:06:07 -08:00
MinRK
3053a855a9
remove positional arg support from interact
2014-02-06 17:06:06 -08:00
MinRK
feab63754d
update interact now that SelectionWidget.values is a dict
2014-02-06 17:06:06 -08:00
Brian E. Granger
88fb17b182
Adding const pseudo-widget for fixing arguments to interact.
2014-02-06 17:06:06 -08:00
Brian E. Granger
6e8c63ea19
Adding decorator forms of interact. Yeah!
2014-02-06 17:06:05 -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
Brian E. Granger
2ef393aaa3
Renaming interact.py->interaction.py to improve imports.
2014-02-06 17:06:05 -08:00