|
1 |
| -ipywidgets |
2 |
| -========== |
| 1 | +Jupyter Widgets |
| 2 | +=============== |
3 | 3 |
|
4 | 4 | .. only:: html
|
5 | 5 |
|
6 | 6 | :Release: |release|
|
7 | 7 | :Date: |today|
|
8 | 8 |
|
9 |
| -**ipywidgets**, also known as jupyter-widgets or simply widgets, are |
10 |
| -`interactive HTML widgets <https://github.com/jupyter-widgets/ipywidgets/blob/master/docs/source/examples/Index.ipynb>`_ |
11 |
| -for Jupyter notebooks and the IPython kernel. |
| 9 | +Jupyter Widgets are `interactive browser controls |
| 10 | +<https://github.com/jupyter-widgets/ipywidgets/blob/master/docs/source/examples/Index.ipynb>`_ |
| 11 | +for Jupyter notebooks. Examples include: |
| 12 | +- Basic form controls like sliders, checkboxes, text inputs |
| 13 | +- Container controls like tabs, accordions, horizontal and vertical layout boxes, grid layouts |
| 14 | +- Advanced controls like maps, 2d and 3d visualizations, datagrids, and more |
12 | 15 |
|
13 |
| -Notebooks come alive when interactive widgets are used. Users gain control of |
14 |
| -their data and can visualize changes in the data. |
| 16 | +Notebooks come alive when interactive widgets are used. Users can visualize and |
| 17 | +manipulate their data in intuitive and easy ways. Researchers can easily see |
| 18 | +how changing inputs to a model impact the results. Scientists can share |
| 19 | +interactive results with graphical user interfaces that others can play with |
| 20 | +without seeing code. Exploring, learning, and sharing becomes a fun immersive |
| 21 | +experience. |
15 | 22 |
|
16 |
| -Learning becomes an immersive, fun experience. Researchers can easily see |
17 |
| -how changing inputs to a model impact the results. We hope you will add |
18 |
| -ipywidgets to your notebooks, and we're here to help you get started. |
| 23 | +.. todo: Add screenshot |
19 | 24 |
|
| 25 | +Core Jupyter Widgets |
| 26 | +-------------------- |
| 27 | + |
| 28 | +Jupyter Widgets is primarily a framework to provide interactive controls (see |
| 29 | +:doc:`examples/Widget Basics` for more information). The ``ipywidgets`` package |
| 30 | +also provides a basic, lightweight set of core form controls that *use* this |
| 31 | +framework. These included controls include a text area, text box, select and |
| 32 | +multiselect controls, checkbox, sliders, tab panels, grid layout, etc. |
| 33 | + |
| 34 | +The framework for building rich interactive objects is the foremost purpose of |
| 35 | +the Jupyter Widgets project, and the set of included core form controls is |
| 36 | +purposefully kept small and self-contained. We encourage and support a robust |
| 37 | +ecosystem of packages built on top of the Jupyter Widgets framework to provide |
| 38 | +more complicated interactive objects, such as maps, 2d and 3d visualizations, or |
| 39 | +other form control systems built on a variety of popular Javascript frameworks |
| 40 | +such as Material or Vue. |
| 41 | + |
| 42 | +See the `Jupyter Widgets wiki page |
| 43 | +<https://github.com/jupyter/jupyter/wiki/Jupyter-Widgets>`_ for more information |
| 44 | +about custom widget packages built on top of the Jupyter Widgets framework. |
| 45 | + |
| 46 | +Jupyter Widgets components |
| 47 | +-------------------------- |
| 48 | + |
| 49 | +The Jupyter Widgets framework has several components: |
| 50 | + |
| 51 | +1. A package in the kernel to provide an interface for widgets. The |
| 52 | + ``ipywidgets`` Python package provides Jupyter Widgets for the IPython |
| 53 | + kernel. Other kernels may also provide Jupyter Widgets support. |
| 54 | +2. An extension for the browser Jupyter frontend to manage Jupyter Widgets. |
| 55 | + Installing ``ipywidgets`` automatically installs extensions for JupyterLab |
| 56 | + and Jupyter Notebook (the ``jupyterlab-widgets`` and ``widgetsnbextension`` |
| 57 | + packages). The Jupyter Widgets project also maintains a plain HTML interface |
| 58 | + for embedding Jupyter Widgets on a webpage, and many other frontends support |
| 59 | + Jupyter Widgets. |
| 60 | + |
| 61 | +See the `Jupyter Widgets wiki |
| 62 | +page <https://github.com/jupyter/jupyter/wiki/Jupyter-Widgets>`_ for more |
| 63 | +information from the community about kernels and frontends that support Jupyter Widgets, as well as |
| 64 | +some custom widget packages built on top of the Jupyter Widgets framework. |
20 | 65 |
|
21 | 66 | .. toctree::
|
22 | 67 | :caption: User Guide
|
@@ -46,7 +91,6 @@ ipywidgets to your notebooks, and we're here to help you get started.
|
46 | 91 | :caption: Developer Guide
|
47 | 92 | :maxdepth: 1
|
48 | 93 |
|
49 |
| - developer_docs |
50 | 94 | dev_install.md
|
51 | 95 | dev_testing.md
|
52 | 96 | dev_docs.md
|
|
0 commit comments