Skip to content

Commit bf918a0

Browse files
authored
Merge pull request #162 from jupyter-widgets/youness
Clean ups and simplifications
2 parents 40bf33f + 54bcc35 commit bf918a0

File tree

4 files changed

+6
-25
lines changed

4 files changed

+6
-25
lines changed

notebooks/00.00-introduction.ipynb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@
1414
"source": [
1515
"# Jupyter Widgets Tutorial Introduction\n",
1616
"\n",
17-
"### Matt Craig, Martin Renou, Itay Dafna, Mariana Meireles, Youness Bennani\n",
18-
"\n",
1917
"## How to ask questions\n",
2018
"\n",
2119
"There is a \"raise hand\" button but instead, please use the chat or the Q/A. Prefer the chat, we will be able to answer your questions and interact in real-time through the chat. If need be we can have the host stop presenting to answer a question that's especially interesting or pertinent. We're not able to answer the Q/A questions unless we stop the flow of the tutorial to answer the question.\n",

notebooks/01.00-overview.ipynb

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616
"\n",
1717
"What you can accomplish with just Python has increased quite a bit in the last years as more sophisticated tools that plug in to the Jupyter widget ecosystem have been written.\n",
1818
"\n",
19-
"One of those tools is [bqplot](https://github.com/bloomberg/bqplot/blob/master/examples/Index.ipynb), which provides a plotting tool in which the plot, and the lines, markers, labels and legend, all act as widgets. That required both Python *and* JavaScript. On the JavaScript side bqplot uses [d3](https://d3js.org/) to do the drawing in the browser. \n",
19+
"One of those tools is [bqplot](https://github.com/bloomberg/bqplot/blob/master/examples/Index.ipynb), which provides a plotting tool in which the plot, and the lines, markers, labels and legend, all act as widgets. bqplot was developed using both Python *and* JavaScript. On the JavaScript side bqplot uses [d3](https://d3js.org/) to do the drawing in the browser. \n",
2020
"\n",
21-
"The widely-used plotting library [matplotlib](https://matplotlib.org/3.2.2/contents.html) also has a widget interface. Use `%matplotlib widget` in the notebook to have interactive plots that are widgets. For more control, look at the documentation for [ipympl](https://github.com/matplotlib/ipympl) for more details on using it as a widget.\n",
21+
"The widely-used plotting library [matplotlib](https://matplotlib.org/3.2.2/contents.html) also has a widget interface. Use `%matplotlib widget` in the notebook to have interactive plots that are widgets. Look at the documentation for [ipympl](https://github.com/matplotlib/ipympl) for more details on using it as a widget.\n",
2222
"\n",
23-
"Another example is [ipyvolume](https://ipyvolume.readthedocs.io/en/latest/), which does three-dimensional renderings of point or volumetric data in the browser. It has both Python and JavaScript pieces but using requires only Python.\n",
23+
"Another example is [ipyvolume](https://ipyvolume.readthedocs.io/en/latest/), which does three-dimensional renderings of point or volumetric data in the browser. It has both Python and JavaScript pieces but using it requires only Python.\n",
2424
"\n",
2525
"One last addition is in `ipywidgets` itself: the new `Output` widget can display any content which can be rendered in a Jupyter notebook. That means that anything you can show in a notebook you can include in a widget using only Python."
2626
]
@@ -59,18 +59,6 @@
5959
"[Video](https://youtu.be/kbgST0uifvM)"
6060
]
6161
},
62-
{
63-
"cell_type": "markdown",
64-
"metadata": {},
65-
"source": [
66-
"## Remainder of this tutorial \n",
67-
"\n",
68-
"+ Widget basics and core ipywidgets\n",
69-
"+ Widget styling and layout\n",
70-
"+ Widget events\n",
71-
"+ Other widget libraries"
72-
]
73-
},
7462
{
7563
"cell_type": "markdown",
7664
"metadata": {},

notebooks/04.WidgetList/04.01-more-on-output-widget.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
"source": [
186186
"### Output widgets as the foundation for interact\n",
187187
"\n",
188-
"The output widget forms the basis of how interact and related methods are implemented. It can also be used by itself to create rich layouts with widgets and code output. One simple way to customize how an interact UI looks is to use the `interactive_output` function to hook controls up to a function whose output is captured in the returned output widget. In the next example, we stack the controls vertically and then put the output of the function to the right."
188+
"The output widget forms the basis of how interact and related methods are implemented. It can also be used by itself to create rich layouts with widgets and code output. One simple way to customize a UI is to use `interactive_output` and capture its output. In the next example, we stack the controls vertically and then put the output of the function to the right."
189189
]
190190
},
191191
{
@@ -350,7 +350,7 @@
350350
"name": "python",
351351
"nbconvert_exporter": "python",
352352
"pygments_lexer": "ipython3",
353-
"version": "3.8.3"
353+
"version": "3.8.10"
354354
},
355355
"widgets": {
356356
"application/vnd.jupyter.widget-state+json": {

outline.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,9 @@
3232

3333
Core:
3434

35-
+ jupyerlab 3
35+
+ jupyterlab 3
3636
+ ipywidgets 7.6+
3737

38-
To update for jlab 3:
39-
40-
- ipysheets (maybe don't show)
41-
- ipyevents
42-
4338
New this year:
4439

4540
- ipycytoscape

0 commit comments

Comments
 (0)