Commit Graph

3726 Commits

Author SHA1 Message Date
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
Brian E. Granger
2b248d65b0 Merge pull request #5035 from jdfreder/ff-hscroll
FF Fix: code cell missing hscroll
2014-02-05 18:46:11 -08:00
Min RK
cd7c1e6fae Merge pull request #5001 from ellisonbg/dashboard-dirs
Add directory navigation to dashboard
2014-02-05 17:21:43 -08:00
Brian E. Granger
f59e7099ad Fix spelling mistake in is_hidden docstring. 2014-02-05 17:06:18 -08:00
Brian E. Granger
eb9e0be218 Small refactoring of is_hidden to take root as default kwarg. 2014-02-05 16:43:11 -08:00
Brian E. Granger
009367666a Fixing test_files tests. 2014-02-05 15:41:28 -08:00
Brian E. Granger
0c794b5d2c 404 for hidden files to not revleal their existence. 2014-02-05 15:38:34 -08:00
Brian E. Granger
7ab69652ea Breadcrumb home icon. 2014-02-05 15:35:46 -08:00
Thomas Kluyver
ccaa3872a5 Merge pull request #5036 from jdfreder/ff-exticon
FF Fix: ext link icon same line as link text in help menu
2014-02-05 14:08:18 -08:00
Brian E. Granger
000d8abc56 Merge pull request #12 from minrk/ipynb
don't strip '.ipynb' from notebook names in nblist
2014-02-05 13:10:50 -08:00
Brian E. Granger
243392d810 Creating and testing IPython.html.utils.is_hidden. 2014-02-05 13:09:55 -08:00
Jonathan Frederic
a11596f7e7 fab css 2014-02-05 12:46:20 -08:00
Jonathan Frederic
65fba24d92 FF Fix: make ext icon same line as txt 2014-02-05 12:45:52 -08:00
MinRK
e0a7793226 don't strip '.ipynb' from notebook names in nblist
The only place the extension is not wanted is editing a name during upload.
Everywhere else, it's actually wanted.
2014-02-05 12:25:55 -08:00
Brian E. Granger
7e1a179a7c Addressing review comments.
* list_dirs and get_dir_model added to base NBM class.
* Calling of list_dirs moved to handler.
* type=notebook added to notebook model.
2014-02-05 12:01:11 -08:00
Jonathan Frederic
17abd86054 fab css 2014-02-05 12:01:08 -08:00
Jonathan Frederic
635fc4fbe2 FF Fix: missing scrollbars on inner_cells 2014-02-05 11:57:29 -08:00
Brian E. Granger
977b164d8e Cleaning up JS tests controller. 2014-02-05 11:18:09 -08:00
Brian E. Granger
157f5f64a5 Another variation of the dashboard page title. 2014-02-05 09:58:52 -08:00
Thomas Kluyver
b8101613eb Merge pull request #4975 from minrk/t2pp
setup.py changes for 2.0
2014-02-04 17:39:12 -08:00
Min RK
a5feb922a3 Merge pull request #4774 from Carreau/emit-output
emit event on appended element on dom
2014-02-04 16:53:51 -08:00
Brian E. Granger
e765f894b6 Merge pull request #5023 from jdfreder/widget-arrays
Widgets- add ability to pack and unpack arrays on JS side.
2014-02-04 16:43:50 -08:00
Brian E. Granger
378b18b2fb Nice dashboard page titles like /.../examples/notebooks/ 2014-02-04 16:29:55 -08:00
Jonathan Frederic
4b9cb92247 Added support for RuntimeArray 2014-02-04 16:29:48 -08:00
Jonathan Frederic
74b2f5c542 Added debug log to see what is happening... 2014-02-04 16:18:04 -08:00
Jonathan Frederic
836742dc59 Added test for pack and unpack Model functions 2014-02-04 16:03:37 -08:00
Brian E. Granger
6ac7f6c2b4 Fixing casperjs tests to run on casperjs 1.0.x. 2014-02-04 15:53:28 -08:00
Brian E. Granger
717f031e01 Adding dashboard navigation tests for dir browsing. 2014-02-04 15:53:28 -08:00
Brian E. Granger
c1a8f5af6a Get the existing tests working. 2014-02-04 15:53:28 -08:00
Brian E. Granger
9f9fe08f0f Cleaning up the dashboard CSS and fixing small visual problems. 2014-02-04 15:53:27 -08:00
Brian E. Granger
dd126fce6d Tighten spacing of dashboard. 2014-02-04 15:53:27 -08:00
Brian E. Granger
e6c0e462ac Taking it down to 3px. 2014-02-04 15:53:27 -08:00
Brian E. Granger
2df5c0b7d1 Adding btn-danger to Shutdown button. 2014-02-04 15:53:27 -08:00
Brian E. Granger
58a3daba5c Tighten up vertical spacing of notebook list. 2014-02-04 15:53:27 -08:00
Brian E. Granger
2207a4f0dc Adding proper breadcrumb support. 2014-02-04 15:53:27 -08:00
Brian E. Granger
775ebc72e0 Update styling of dashboard. 2014-02-04 15:53:27 -08:00
Brian E. Granger
86ba08213f Add directory browsing to the dashboard. 2014-02-04 15:52:49 -08:00