|
15 | 15 | "source": [
|
16 | 16 | "## Prerequisite Knowledge\n",
|
17 | 17 | "\n",
|
18 |
| - "To follow along with this tutorial, you will want to have exposure to Python and Object-Oriented Programming. Familiarity with ipywidgets would also be helpful." |
| 18 | + "To follow along with this tutorial, you will want to have exposure to Python. Familiarity with ipywidgets would also be helpful." |
| 19 | + ] |
| 20 | + }, |
| 21 | + { |
| 22 | + "cell_type": "markdown", |
| 23 | + "id": "bc02cd49-8ad8-4a7b-8a64-0b00ad606103", |
| 24 | + "metadata": {}, |
| 25 | + "source": [ |
| 26 | + "## [Zoom Help](https://lbnl.zoom.us/j/93949723718?pwd=VGFBNjRweW9tSzMyUDMwZ0o0d0Fodz09)\n", |
| 27 | + "\n", |
| 28 | + "We will cover how to import answers from an external file in the next notebook, but if you feel stuck at any point, please join zoom to get help from Ludovico." |
| 29 | + ] |
| 30 | + }, |
| 31 | + { |
| 32 | + "cell_type": "markdown", |
| 33 | + "id": "424ab3ed-79d5-47d0-966a-2c4d9a9d8518", |
| 34 | + "metadata": {}, |
| 35 | + "source": [ |
| 36 | + "## Don't Forget to Pull" |
| 37 | + ] |
| 38 | + }, |
| 39 | + { |
| 40 | + "cell_type": "code", |
| 41 | + "execution_count": null, |
| 42 | + "id": "0f251cc9-a4ae-4066-b225-e3df83c46a7d", |
| 43 | + "metadata": {}, |
| 44 | + "outputs": [ |
| 45 | + { |
| 46 | + "name": "stdout", |
| 47 | + "output_type": "stream", |
| 48 | + "text": [ |
| 49 | + "Already up to date.\n" |
| 50 | + ] |
| 51 | + } |
| 52 | + ], |
| 53 | + "source": [ |
| 54 | + "%%bash\n", |
| 55 | + "\n", |
| 56 | + "git pull" |
19 | 57 | ]
|
20 | 58 | },
|
21 | 59 | {
|
|
30 | 68 | " * Who here has a workflow in a Jupyter Notebook\n",
|
31 | 69 | " * What domains are you from\n",
|
32 | 70 | " * Do you consider yourself a research? Developer? Something else?\n",
|
33 |
| - "* **Why you signed up for this workshop**\n", |
34 | 71 | "* **What are you familiar with already**\n",
|
35 | 72 | " * python\n",
|
36 | 73 | " * Jupyter\n",
|
37 | 74 | " * JupyterLab\n",
|
38 |
| - " * ipywidgets" |
| 75 | + " * ipywidgets\n", |
| 76 | + " * nbdev" |
39 | 77 | ]
|
40 | 78 | },
|
41 | 79 | {
|
|
49 | 87 | "- use stickies to indicate when you are done with an exercise"
|
50 | 88 | ]
|
51 | 89 | },
|
| 90 | + { |
| 91 | + "cell_type": "markdown", |
| 92 | + "id": "23d4a1bc-b7c5-4966-a567-374d55d3c8fb", |
| 93 | + "metadata": {}, |
| 94 | + "source": [ |
| 95 | + "## Preview of the Final Product" |
| 96 | + ] |
| 97 | + }, |
| 98 | + { |
| 99 | + "cell_type": "code", |
| 100 | + "execution_count": null, |
| 101 | + "id": "2df63040-7a12-44f2-a3d1-2db16e249bc7", |
| 102 | + "metadata": {}, |
| 103 | + "outputs": [], |
| 104 | + "source": [ |
| 105 | + "%%bash\n", |
| 106 | + "\n", |
| 107 | + "voila dashboard_02.ipynb" |
| 108 | + ] |
| 109 | + }, |
52 | 110 | {
|
53 | 111 | "cell_type": "markdown",
|
54 | 112 | "id": "60357866-72c6-48d0-93e9-eb3059b18695",
|
|
60 | 118 | "1. Getting started: JupyterLab and ipywidgets\n",
|
61 | 119 | " - Benefits of developing in Jupyter\n",
|
62 | 120 | " - Benefits of JupyterLab\n",
|
63 |
| - " - File browser\n", |
64 |
| - " - Output view\n", |
65 |
| - " - Click-and-drag windows\n", |
66 | 121 | " - ipywidgets\n",
|
67 |
| - " - Bi-directional communication\n", |
68 |
| - " - Trait validation\n", |
69 |
| - " - Observing trait changes\n", |
70 |
| - " - Preview of dashboard\n", |
71 | 122 | "2. workflow: Get familiar with a scientific workflow\n",
|
72 |
| - " - Plot original data\n", |
73 |
| - " - Add column for Savitzky-Golay filter\n", |
74 |
| - " - Select a range of data\n", |
75 |
| - " - Plot selected data with smoothed curve\n", |
76 | 123 | "3. nbdev: Use nbdev to export notebook cells to python modules\n",
|
77 |
| - " - `default_exp` directive\n", |
78 |
| - " - `export` directive\n", |
79 |
| - " - `nb_export` function\n", |
80 | 124 | "4. widgets: use ipywidgets and nbdev to create the beginnings of a dashboard\n",
|
81 |
| - " - observing traits\n", |
82 |
| - " - output widgets\n", |
83 | 125 | "5. dashboard_01 (code only)\n",
|
84 | 126 | "6. publishing: use Binder and Voila to publish your application\n",
|
85 | 127 | "7. layouts: styling and arranging widgets\n",
|
86 | 128 | "8. dashboard_02 (code only)\n",
|
87 | 129 | "9. review"
|
88 | 130 | ]
|
89 |
| - }, |
90 |
| - { |
91 |
| - "cell_type": "markdown", |
92 |
| - "id": "23d4a1bc-b7c5-4966-a567-374d55d3c8fb", |
93 |
| - "metadata": {}, |
94 |
| - "source": [ |
95 |
| - "## Preview of the Final Product" |
96 |
| - ] |
97 |
| - }, |
98 |
| - { |
99 |
| - "cell_type": "code", |
100 |
| - "execution_count": null, |
101 |
| - "id": "2df63040-7a12-44f2-a3d1-2db16e249bc7", |
102 |
| - "metadata": {}, |
103 |
| - "outputs": [], |
104 |
| - "source": [ |
105 |
| - "%%bash\n", |
106 |
| - "\n", |
107 |
| - "voila dashboard_02.ipynb" |
108 |
| - ] |
109 | 131 | }
|
110 | 132 | ],
|
111 | 133 | "metadata": {
|
|
0 commit comments