|
34 | 34 | },
|
35 | 35 | {
|
36 | 36 | "cell_type": "code",
|
37 |
| - "execution_count": 1, |
| 37 | + "execution_count": null, |
38 | 38 | "metadata": {
|
39 | 39 | "tags": []
|
40 | 40 | },
|
|
54 | 54 | },
|
55 | 55 | {
|
56 | 56 | "cell_type": "code",
|
57 |
| - "execution_count": 2, |
| 57 | + "execution_count": null, |
58 | 58 | "metadata": {
|
59 | 59 | "tags": []
|
60 | 60 | },
|
61 |
| - "outputs": [ |
62 |
| - { |
63 |
| - "data": { |
64 |
| - "text/plain": [ |
65 |
| - "App(7fddbc3c7520)" |
66 |
| - ] |
67 |
| - }, |
68 |
| - "execution_count": 2, |
69 |
| - "metadata": {}, |
70 |
| - "output_type": "execute_result" |
71 |
| - }, |
72 |
| - { |
73 |
| - "data": { |
74 |
| - "application/vnd.jupyter.widget-view+json": { |
75 |
| - "model_id": "3a492cbddebd4240bee68d567ee504a1", |
76 |
| - "version_major": 2, |
77 |
| - "version_minor": 0 |
78 |
| - }, |
79 |
| - "text/plain": [ |
80 |
| - "LayoutWidget(Layout(App(7fddbc3c7520)))" |
81 |
| - ] |
82 |
| - }, |
83 |
| - "metadata": {}, |
84 |
| - "output_type": "display_data" |
85 |
| - } |
86 |
| - ], |
| 61 | + "outputs": [], |
87 | 62 | "source": [
|
88 | 63 | "from reactpy import component, html, run\n",
|
89 | 64 | "\n",
|
|
109 | 84 | },
|
110 | 85 | {
|
111 | 86 | "cell_type": "code",
|
112 |
| - "execution_count": 3, |
| 87 | + "execution_count": null, |
113 | 88 | "metadata": {
|
114 | 89 | "tags": []
|
115 | 90 | },
|
116 |
| - "outputs": [ |
117 |
| - { |
118 |
| - "data": { |
119 |
| - "text/plain": [ |
120 |
| - "TodoList(7fdda0a0dea0)" |
121 |
| - ] |
122 |
| - }, |
123 |
| - "execution_count": 3, |
124 |
| - "metadata": {}, |
125 |
| - "output_type": "execute_result" |
126 |
| - }, |
127 |
| - { |
128 |
| - "data": { |
129 |
| - "application/vnd.jupyter.widget-view+json": { |
130 |
| - "model_id": "741e25bca51b400baedaf5ad683012fc", |
131 |
| - "version_major": 2, |
132 |
| - "version_minor": 0 |
133 |
| - }, |
134 |
| - "text/plain": [ |
135 |
| - "LayoutWidget(Layout(TodoList(7fdda0a0dea0)))" |
136 |
| - ] |
137 |
| - }, |
138 |
| - "metadata": {}, |
139 |
| - "output_type": "display_data" |
140 |
| - } |
141 |
| - ], |
| 91 | + "outputs": [], |
142 | 92 | "source": [
|
143 | 93 | "from reactpy import component, html\n",
|
144 | 94 | "\n",
|
|
187 | 137 | },
|
188 | 138 | {
|
189 | 139 | "cell_type": "code",
|
190 |
| - "execution_count": 4, |
| 140 | + "execution_count": null, |
191 | 141 | "metadata": {
|
192 | 142 | "tags": []
|
193 | 143 | },
|
194 |
| - "outputs": [ |
195 |
| - { |
196 |
| - "data": { |
197 |
| - "text/plain": [ |
198 |
| - "Gallery(7fdda0a0e560)" |
199 |
| - ] |
200 |
| - }, |
201 |
| - "execution_count": 4, |
202 |
| - "metadata": {}, |
203 |
| - "output_type": "execute_result" |
204 |
| - }, |
205 |
| - { |
206 |
| - "data": { |
207 |
| - "application/vnd.jupyter.widget-view+json": { |
208 |
| - "model_id": "599b9afb8ca94319b7153f23e137308f", |
209 |
| - "version_major": 2, |
210 |
| - "version_minor": 0 |
211 |
| - }, |
212 |
| - "text/plain": [ |
213 |
| - "LayoutWidget(Layout(Gallery(7fdda0a0e560)))" |
214 |
| - ] |
215 |
| - }, |
216 |
| - "metadata": {}, |
217 |
| - "output_type": "display_data" |
218 |
| - } |
219 |
| - ], |
| 144 | + "outputs": [], |
220 | 145 | "source": [
|
221 | 146 | "import json\n",
|
222 | 147 | "from pathlib import Path\n",
|
|
266 | 191 | },
|
267 | 192 | {
|
268 | 193 | "cell_type": "code",
|
269 |
| - "execution_count": 5, |
| 194 | + "execution_count": null, |
270 | 195 | "metadata": {
|
271 | 196 | "tags": []
|
272 | 197 | },
|
|
302 | 227 | },
|
303 | 228 | {
|
304 | 229 | "cell_type": "code",
|
305 |
| - "execution_count": 9, |
| 230 | + "execution_count": null, |
306 | 231 | "metadata": {
|
307 | 232 | "tags": []
|
308 | 233 | },
|
309 |
| - "outputs": [ |
310 |
| - { |
311 |
| - "data": { |
312 |
| - "application/vnd.jupyter.widget-view+json": { |
313 |
| - "model_id": "f6fbf01c66dc42b0b53d15ecf64ddc73", |
314 |
| - "version_major": 2, |
315 |
| - "version_minor": 0 |
316 |
| - }, |
317 |
| - "text/plain": [ |
318 |
| - "Box(children=(IntSlider(value=0, readout=False), LayoutWidget(Layout(SliderObserver(7fe2e19e7e20, slider=IntSl…" |
319 |
| - ] |
320 |
| - }, |
321 |
| - "execution_count": 9, |
322 |
| - "metadata": {}, |
323 |
| - "output_type": "execute_result" |
324 |
| - } |
325 |
| - ], |
| 234 | + "outputs": [], |
326 | 235 | "source": [
|
327 | 236 | "from ipywidgets import Box, IntSlider\n",
|
328 | 237 | "from reactpy_jupyter import LayoutWidget\n",
|
|
342 | 251 | },
|
343 | 252 | {
|
344 | 253 | "cell_type": "code",
|
345 |
| - "execution_count": 7, |
| 254 | + "execution_count": null, |
346 | 255 | "metadata": {
|
347 | 256 | "tags": []
|
348 | 257 | },
|
349 |
| - "outputs": [ |
350 |
| - { |
351 |
| - "data": { |
352 |
| - "application/vnd.jupyter.widget-view+json": { |
353 |
| - "model_id": "3b018482270d4a7482aaed36e6ea2334", |
354 |
| - "version_major": 2, |
355 |
| - "version_minor": 0 |
356 |
| - }, |
357 |
| - "text/plain": [ |
358 |
| - "Box(children=(IntSlider(value=0, readout=False), LayoutWidget(Layout(SliderObserver(7fdda0a0e6e0, slider=IntSl…" |
359 |
| - ] |
360 |
| - }, |
361 |
| - "execution_count": 7, |
362 |
| - "metadata": {}, |
363 |
| - "output_type": "execute_result" |
364 |
| - } |
365 |
| - ], |
| 258 | + "outputs": [], |
366 | 259 | "source": [
|
367 | 260 | "from reactpy_jupyter import widgetize\n",
|
368 | 261 | "\n",
|
|
394 | 287 | },
|
395 | 288 | {
|
396 | 289 | "cell_type": "code",
|
397 |
| - "execution_count": 8, |
| 290 | + "execution_count": null, |
398 | 291 | "metadata": {
|
399 | 292 | "tags": []
|
400 | 293 | },
|
401 |
| - "outputs": [ |
402 |
| - { |
403 |
| - "name": "stderr", |
404 |
| - "output_type": "stream", |
405 |
| - "text": [ |
406 |
| - "/tmp/ipykernel_304396/2504933715.py:4: DeprecationWarning: module_from_template() is deprecated due to instability - use the Javascript Components API instead. This function will be removed in a future release.\n", |
407 |
| - " victory = web.module_from_template(\"react\", \"victory-bar\", fallback=\"⌛\")\n" |
408 |
| - ] |
409 |
| - }, |
410 |
| - { |
411 |
| - "data": { |
412 |
| - "text/plain": [ |
413 |
| - "Demo(7fdda0a0fdc0)" |
414 |
| - ] |
415 |
| - }, |
416 |
| - "execution_count": 8, |
417 |
| - "metadata": {}, |
418 |
| - "output_type": "execute_result" |
419 |
| - }, |
420 |
| - { |
421 |
| - "data": { |
422 |
| - "application/vnd.jupyter.widget-view+json": { |
423 |
| - "model_id": "6d8207d9bfd844719d49d94595493d76", |
424 |
| - "version_major": 2, |
425 |
| - "version_minor": 0 |
426 |
| - }, |
427 |
| - "text/plain": [ |
428 |
| - "LayoutWidget(Layout(Demo(7fdda0a0fdc0)))" |
429 |
| - ] |
430 |
| - }, |
431 |
| - "metadata": {}, |
432 |
| - "output_type": "display_data" |
433 |
| - } |
434 |
| - ], |
| 294 | + "outputs": [], |
435 | 295 | "source": [
|
436 | 296 | "from reactpy import component, web\n",
|
437 | 297 | "\n",
|
|
0 commit comments