MinRK
704b349302
add IPython.html.nbextensions.install_nbextension
...
for installing files into IPYTHONDIR/nbextensions
2014-02-08 20:02:56 -08:00
Brian E. Granger
47abe842b2
Merge pull request #5067 from minrk/widget-error
...
show traceback in widget handlers
2014-02-08 11:16:02 -08:00
Brian E. Granger
d3567f4cb0
Merge pull request #4920 from ellisonbg/pdf-formatter
...
Adding PDFFormatter and kernel side handling of PDF display data
2014-02-08 10:11:34 -08:00
Brian E. Granger
fc6b68a8aa
Merge pull request #5048 from ellisonbg/modal-indicator
...
Add edit/command mode indicator
2014-02-08 10:04:27 -08:00
Brian E. Granger
9b21f618e6
Merge pull request #5061 from minrk/execute-button
...
make execute button in menu bar match shift-enter
2014-02-08 10:03:24 -08:00
Brian E. Granger
22136b5e38
Merge pull request #5052 from ellisonbg/pager-q
...
Add q to toggle the pager.
2014-02-08 10:02:56 -08:00
Min RK
da974043ab
Merge pull request #5070 from minrk/remove-display-flex
...
fix flex: auto
2014-02-07 21:57:10 -08:00
MinRK
95d3d6de8b
fix flex: auto
...
flex: 0 doesn't seem to mean what box-flex meant (auto)
closes #5069
2014-02-07 20:20:24 -08:00
Brian E. Granger
436ac1184f
Merge pull request #5065 from takluyver/interact-annotations-example
...
Add example of using annotations in interact
2014-02-07 20:04:55 -08:00
Brian E. Granger
5a087f2a66
To the most conservative choice.
2014-02-07 20:00:25 -08:00
Brian E. Granger
31301c4194
Just close the pager with q, not toggle.
2014-02-07 19:43:20 -08:00
Brian E. Granger
4e37e901d8
Add q to toggle the pager.
2014-02-07 19:37:27 -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
ddc22152ea
show traceback in widget handlers
...
rather than logging
closes #5064
2014-02-07 16:43:49 -08:00
Thomas Kluyver
5173de4a3b
Add example of using annotations in interact
...
The reason for using annotations is to use the syntax - our decorator
has no advantages over passing kwargs to interact[ive]. So this adds a
proper demo, with a 'Python 3 only' subheading.
2014-02-07 16:09:00 -08:00
MinRK
24ef1be736
make execute button in menu bar match shift-enter
...
Noticed this when testing the UI on the IPad.
I expected the button to perform the default execute behavior,
but it doesn't.
2014-02-07 15:26:20 -08:00
Thomas Kluyver
4f53aa2985
Merge pull request #5063 from minrk/lorenz
...
another pass on Interact example notebooks
2014-02-07 15:24:15 -08:00
MinRK
6428f87e21
add Interact notebooks to widget index.ipynb
2014-02-07 15:22:31 -08:00
Thomas Kluyver
2d973d2b14
Merge pull request #5051 from jdfreder/ff-hscroll2
...
FF Fix: code cell missing hscroll (2)
2014-02-07 15:19:52 -08:00
MinRK
8baf62ee65
update pass on Interact example notebooks
...
forgot to check Lorenz before merging the interact PR
and change the w.kwargs example in Interact to one without image data
2014-02-07 15:19:15 -08:00
Jonathan Frederic
b5d772eb65
fab css
2014-02-07 15:08:57 -08:00
MinRK
7032e9ef69
set overflow-x: hidden on Firefox only
...
workaround crazy Firefox-only behavior when selecting newlines
closes #3549
Conflicts:
IPython/html/static/style/style.min.css
2014-02-07 15:08:35 -08:00
Brian E. Granger
5904212460
Merge pull request #4960 from ellisonbg/newinteract
...
Interact/Interactive for widget
2014-02-07 14:58:46 -08:00
Min RK
8fdee1599c
Merge pull request #5045 from ellisonbg/multipress
...
Clear timeout in multi-press keyboard shortcuts.
2014-02-07 14:54:47 -08:00
MinRK
d2f2cf4b0c
another pass on Interact example
...
after recent API changes
2014-02-07 14:52:24 -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
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
81281d6205
update Interact example notebook
...
- use %matplotlib, not %pylab
- use non-identical graph generators in networks example
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
55cddce784
Fixing interact imports.
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
Thomas Kluyver
a96c228554
Get widgets from function annotations and default arguments.
...
Also, preserve the order of function parameters from the signature where
possible.
This uses a backport of the Python 3.3 signature machinery that @minrk
found and improved.
2014-02-06 17:06:05 -08:00
Brian E. Granger
5853bb8ff7
Adding .widget to function.
2014-02-06 17:06:04 -08:00
Brian E. Granger
93047f1d3c
Updating interact to work with latest state of widgets.
2014-02-06 17:06:04 -08:00
Brian E. Granger
faebb43e01
Updating interact to new APIs.
2014-02-06 17:06:04 -08:00
Brian E. Granger
0cf8002ebf
Adding Interact and Lorenz examples.
2014-02-06 17:06:04 -08:00
Brian E. Granger
1d6cde4877
Adding interact.py.
2014-02-06 17:06:04 -08:00
Jonathan Frederic
33586b7ac8
Convert tabs to spaces
2014-02-06 16:27:45 -08:00
Brian E. Granger
445f6225e8
Spinning sun + nothing for command mode.
2014-02-06 14:54:40 -08:00