Jonathan Frederic
7b8b8b7a1e
Fix interact test
2015-01-27 15:48:34 -08:00
Jonathan Frederic
7a2439d1a0
Import get_ipython
function
2015-01-26 17:33:21 -08:00
Jonathan Frederic
567183b154
Use output widget with interact
2015-01-23 12:29:12 -08:00
Jonathan Frederic
e4b6ef57ec
Move get_ipython call into output widget constructor
2015-01-23 12:28:41 -08:00
Min RK
3d96dfc6fb
Merge pull request #7523 from jdfreder/outputwidgetfix
...
Fix the output widget
2015-01-22 17:02:59 -08:00
Jonathan Frederic
c248211ed6
Don't build message twice.
2015-01-22 11:15:43 -08:00
Jonathan Frederic
6eda2d80f9
Add support for Message class.
2015-01-22 10:45:06 -08:00
Jonathan Frederic
273a8030d9
Hook the output the right way.
2015-01-22 10:34:17 -08:00
Jonathan Frederic
526071cadb
Remove superfluous return
2015-01-21 12:33:28 -08:00
Torsten Bittner
d5a7879a26
Add documentation for interactive function.
2015-01-21 12:25:28 -08:00
Jonathan Frederic
39b99340ed
Finished changing output widget logic.
2015-01-21 11:27:19 -08:00
Torsten Bittner
080f926c8e
Add documentation for interact function.
2015-01-20 17:51:04 -08:00
Min RK
0f6685acf0
test that custom description doesn't change kwarg
2015-01-19 16:17:04 -08:00
Min RK
21a7f75ade
Don't use widget.description as kwarg key
...
in interact.
description can be set manually,
so it cannot be relied upon to store the kwarg key.
Add a `widget._kwarg` attribute instead.
2015-01-19 16:01:18 -08:00
Thomas Kluyver
9038e0d6a4
Add docstring for IntRangeSlider
...
Closes gh-5381
This was the last remaining widget class I could see without a docstring
2015-01-15 18:21:33 -08:00
Min RK
ec1adebc1e
allow interact(instancemethod)
...
objects that can't have `.widget` attribute assigned
are wrapped in a lambda
2015-01-14 13:44:29 -08:00
Jason Grout
0bdfdc03ca
python3 does not like adding lists and map results
...
Thanks to @takluyver for pointing this out
2015-01-08 18:43:38 +00:00
Jason Grout
18cfbc0d11
Generate fontweight enum values without an extraneous variable from a comprehension
...
In python 2, the comprehension will create a new class attribute, i. Using a map will not create the extra local variable.
2015-01-08 18:24:38 +00:00
Jonathan Frederic
3f2dc88154
Remove the popup widget
2014-12-29 08:08:20 -08:00
Thomas Kluyver
9c0fb7bf68
Use more conventional *args naming over *parg
2014-12-17 12:47:56 -08:00
Thomas Kluyver
cbb685b314
Fix copy-pasted super() call
2014-12-17 12:47:04 -08:00
Jason Goad
cda015340c
added value positional argument to applicable widgets
2014-12-17 12:45:58 -08:00
Jason Goad
7bcced9da0
widget fix?
2014-12-17 12:43:17 -08:00
Jason Grout
c73933fe90
Make the widget warning easier to catch by specifying the module.
2014-12-13 00:09:43 +00:00
Jason Grout
5c24d8dfb1
Change IPython widget warning to get rid of filenames and line numbers
...
We do this to not confuse the interactive user
2014-12-12 23:57:17 +00:00
Brian E. Granger
e61188a4c8
Merge pull request #7201 from jasongrout/widget-warning
...
Make the widget error message shorter and more understandable.
2014-12-12 12:19:03 -08:00
Jason Grout
e489718d5c
Make the widget error message shorter and more understandable.
2014-12-12 20:12:53 +00:00
Brian E. Granger
8ea37a4b2b
Merge pull request #7200 from jasongrout/widget-warning
...
Make the widget experimental error a real python warning
2014-12-12 11:24:53 -08:00
Jason Grout
c8d70e0603
Make the widget experimental error a real python warning
...
This means it can easily be turned off too.
2014-12-12 19:10:37 +00:00
Min RK
cadd5a14fe
Merge pull request #6747 from jdfreder/combofix
...
Make Selection widgets respect values order.
2014-12-12 10:59:01 -08:00
Jonathan Frederic
ab409d1966
Hide variables that shouldn't be exposed to the user
2014-12-12 07:51:03 -08:00
Jonathan Frederic
73637fb694
Merge pull request #7097 from jasongrout/widget-visibility
...
Expand the semantics of the widget visible attribute to allow for visibility: hidden
2014-12-10 10:54:15 -08:00
Jonathan Frederic
3ea8929b82
Merge pull request #6454 from jasongrout/links
...
Javascript link
2014-12-09 16:39:11 -08:00
Min RK
7d465c7e96
Merge pull request #7139 from jdfreder/widget-space-fix
...
Fix padding of widgets.
2014-12-09 15:06:21 -08:00
Jason Grout
8cf5972f57
Add the unlink method to javascript links to maintain compatibility with traitlet links
2014-12-09 22:50:05 +00:00
Jonathan Frederic
2cc041444a
Explicit 2.5px
2014-12-09 10:35:02 -08:00
Jonathan Frederic
cb12229480
Fix padding of widgets.
2014-12-08 17:32:43 -08:00
Jonathan Frederic
d466601dbb
Persistence API,
...
This is a combination of 10 commits.
Enable widget instanciation from front-end.
Address @minrk 's review comments.
Make API that allows users to persist widget state easily.
Added support for view persistence
Started adding support for model persistence.
Half way there!
Finished persistence API.
Move persistence code into the widget framework.
Fin.
Bug fixes
2014-12-08 17:18:09 -08:00
Jonathan Frederic
80bfe779f5
Add warning to widget namespace import.
2014-12-04 15:38:13 -08:00
Jason Grout
9ca509d915
Merge remote-tracking branch 'public-upstream/master' into links-rebase
...
Conflicts:
examples/Interactive Widgets/Widget Events.ipynb
2014-12-04 19:11:33 +00:00
Jason Grout
26bec1ad36
Add None as a widget visible value to allow for visiblity: hidden
...
Now, visible can have three values:
* True - show the widget
* False - hide the widget and collapse the empty space
* None - hide the widget and show the empty space
2014-12-04 00:27:59 +00:00
Jonathan Frederic
22168a538e
Typo fix
2014-12-02 13:18:55 -08:00
Jonathan Frederic
01a6929c0d
Fix faulty interact tests
2014-12-02 09:29:02 -08:00
Jonathan Frederic
592112f0fa
Don't magically convert values to a list of tuples.
2014-12-02 09:22:16 -08:00
Jonathan Frederic
c8ef47b03b
Fix readonly lock logic.
2014-12-01 16:27:17 -08:00
silviav12
a803717c5d
Removed the two empty lines of dosctring in widget_float.py.
2014-12-01 20:45:16 +00:00
silviav12
6b7399c8e6
Added changes to dosctring documentation in widget_float.py (previous docstring written by me).
...
Added docstring documentation in widget_bool.py.
2014-11-30 18:27:47 +00:00
Silvia
b41a9c9586
Add docstring documentation for widget_float
2014-11-29 16:54:44 +00:00
Thomas Kluyver
99e6d35808
Fix variable name
2014-11-24 15:41:38 -08:00
Thomas Kluyver
694e32c938
Import Tuple traitlet for Selection widget
2014-11-24 15:41:37 -08:00