|
360 | 360 | "cell_type": "markdown",
|
361 | 361 | "metadata": {},
|
362 | 362 | "source": [
|
363 |
| - "### Reference" |
| 363 | + "### Dash Example" |
364 | 364 | ]
|
365 | 365 | },
|
366 | 366 | {
|
367 | 367 | "cell_type": "code",
|
368 |
| - "execution_count": 1, |
| 368 | + "execution_count": 4, |
369 | 369 | "metadata": {},
|
370 | 370 | "outputs": [
|
371 |
| - { |
372 |
| - "name": "stderr", |
373 |
| - "output_type": "stream", |
374 |
| - "text": [ |
375 |
| - "/usr/local/lib/python3.7/site-packages/IPython/core/display.py:689: UserWarning: Consider using IPython.display.IFrame instead\n", |
376 |
| - " warnings.warn(\"Consider using IPython.display.IFrame instead\")\n" |
377 |
| - ] |
378 |
| - }, |
379 | 371 | {
|
380 | 372 | "data": {
|
381 | 373 | "text/html": [
|
382 |
| - "<iframe src= \"https://dash-simple-apps.plotly.host/dash-colorscaleplot/\" width=\"100%\" height=\"650px\" frameBorder=\"0\"></iframe>" |
| 374 | + "\n", |
| 375 | + " <iframe\n", |
| 376 | + " width=\"100%\"\n", |
| 377 | + " height=\"650px\"\n", |
| 378 | + " src=\"https://dash-simple-apps.plotly.host/dash-colorscaleplot/?frameBorder=0\"\n", |
| 379 | + " frameborder=\"0\"\n", |
| 380 | + " allowfullscreen\n", |
| 381 | + " ></iframe>\n", |
| 382 | + " " |
383 | 383 | ],
|
384 | 384 | "text/plain": [
|
385 |
| - "<IPython.core.display.HTML object>" |
| 385 | + "<IPython.lib.display.IFrame at 0x106426128>" |
386 | 386 | ]
|
387 | 387 | },
|
388 |
| - "execution_count": 1, |
| 388 | + "execution_count": 4, |
389 | 389 | "metadata": {},
|
390 | 390 | "output_type": "execute_result"
|
391 | 391 | }
|
392 | 392 | ],
|
393 | 393 | "source": [
|
394 |
| - "from IPython.display import HTML\n", |
395 |
| - "HTML('<iframe src= \"https://dash-simple-apps.plotly.host/dash-colorscaleplot/\" width=\"100%\" height=\"650px\" frameBorder=\"0\"></iframe>')" |
| 394 | + "from IPython.display import IFrame\n", |
| 395 | + "IFrame(src= \"https://dash-simple-apps.plotly.host/dash-colorscaleplot/\" ,width=\"100%\" ,height=\"650px\", frameBorder=\"0\")" |
| 396 | + ] |
| 397 | + }, |
| 398 | + { |
| 399 | + "cell_type": "markdown", |
| 400 | + "metadata": {}, |
| 401 | + "source": [ |
| 402 | + "[source code](https://github.com/plotly/simple-example-chart-apps/tree/master/colorscale)" |
| 403 | + ] |
| 404 | + }, |
| 405 | + { |
| 406 | + "cell_type": "markdown", |
| 407 | + "metadata": {}, |
| 408 | + "source": [ |
| 409 | + "### Reference" |
396 | 410 | ]
|
397 | 411 | },
|
398 | 412 | {
|
|
404 | 418 | },
|
405 | 419 | {
|
406 | 420 | "cell_type": "code",
|
407 |
| - "execution_count": 2, |
| 421 | + "execution_count": 6, |
408 | 422 | "metadata": {},
|
409 | 423 | "outputs": [
|
410 | 424 | {
|
|
436 | 450 | "output_type": "stream",
|
437 | 451 | "text": [
|
438 | 452 | "Collecting git+https://github.com/plotly/publisher.git\n",
|
439 |
| - " Cloning https://github.com/plotly/publisher.git to /private/var/folders/s5/vjqn03zs7nn8zs_fwzcf14r40000gn/T/pip-req-build-mf6h8_9u\n", |
| 453 | + " Cloning https://github.com/plotly/publisher.git to /private/var/folders/s5/vjqn03zs7nn8zs_fwzcf14r40000gn/T/pip-req-build-refmjbml\n", |
440 | 454 | "Building wheels for collected packages: publisher\n",
|
441 | 455 | " Building wheel for publisher (setup.py) ... \u001b[?25ldone\n",
|
442 |
| - "\u001b[?25h Stored in directory: /private/var/folders/s5/vjqn03zs7nn8zs_fwzcf14r40000gn/T/pip-ephem-wheel-cache-guvpyq87/wheels/99/3e/a0/fbd22ba24cca72bdbaba53dbc23c1768755fb17b3af0f33966\n", |
| 456 | + "\u001b[?25h Stored in directory: /private/var/folders/s5/vjqn03zs7nn8zs_fwzcf14r40000gn/T/pip-ephem-wheel-cache-yj6cqbja/wheels/99/3e/a0/fbd22ba24cca72bdbaba53dbc23c1768755fb17b3af0f33966\n", |
443 | 457 | "Successfully built publisher\n",
|
444 | 458 | "Installing collected packages: publisher\n",
|
445 | 459 | " Found existing installation: publisher 0.13\n",
|
446 | 460 | " Uninstalling publisher-0.13:\n",
|
447 | 461 | " Successfully uninstalled publisher-0.13\n",
|
448 | 462 | "Successfully installed publisher-0.13\n"
|
449 | 463 | ]
|
450 |
| - }, |
451 |
| - { |
452 |
| - "name": "stderr", |
453 |
| - "output_type": "stream", |
454 |
| - "text": [ |
455 |
| - "/usr/local/lib/python3.7/site-packages/IPython/nbconvert.py:13: ShimWarning: The `IPython.nbconvert` package has been deprecated since IPython 4.0. You should import from nbconvert instead.\n", |
456 |
| - " \"You should import from nbconvert instead.\", ShimWarning)\n", |
457 |
| - "/usr/local/lib/python3.7/site-packages/publisher/publisher.py:53: UserWarning: Did you \"Save\" this notebook before running this command? Remember to save, always save.\n", |
458 |
| - " warnings.warn('Did you \"Save\" this notebook before running this command? '\n" |
459 |
| - ] |
460 | 464 | }
|
461 | 465 | ],
|
462 | 466 | "source": [
|
|
478 | 482 | " order=11,\n",
|
479 | 483 | " ipynb= '~notebook_demo/187')"
|
480 | 484 | ]
|
481 |
| - }, |
482 |
| - { |
483 |
| - "cell_type": "code", |
484 |
| - "execution_count": null, |
485 |
| - "metadata": { |
486 |
| - "collapsed": true |
487 |
| - }, |
488 |
| - "outputs": [], |
489 |
| - "source": [] |
490 | 485 | }
|
491 | 486 | ],
|
492 | 487 | "metadata": {
|
|
0 commit comments