[IPython-dev] Widget documentation?
Anders Schneiderman
ASchneiderman at asha.org
Tue May 20 11:19:47 EDT 2014
Where is the documentation for widgets? There's a little here:
http://nbviewer.ipython.org/github/ipython/ipython/blob/2.x/examples/Interactive%20Widgets/Index.ipynb
But, for example, if you want to know the parameters that the float slider widget takes, I don't see it. I tried using:
widgets.FloatSliderWidget??
And what I got back didn't include all of the parameters:
Type: MetaHasTraits
String form: <class 'IPython.html.widgets.widget_float.FloatSliderWidget'>
File: c:\anaconda\lib\site-packages\ipython\html\widgets\widget_float.py
Init definition: widgets.FloatSliderWidget(self, *pargs, **kwargs)
Source:
class FloatSliderWidget(_BoundedFloatWidget):
_view_name = Unicode('FloatSliderView', sync=True)
orientation = Enum([u'horizontal', u'vertical'], u'horizontal',
help="Vertical or horizontal.", sync=True)
readout = Bool(True, help="Display the current value of the slider next to it.", sync=True)
Init docstring: Constructor
Thanks,
Anders Schneiderman
Database Services Manager | ASHA | (301) 296-8651
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20140520/18e5490e/attachment.html>
More information about the IPython-dev
mailing list