|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485 |
- {
- "cells": [
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "slide"
- }
- },
- "source": [
- "# Being More Productive with Jupyter Notebooks \n",
- "> ## An Introduction to NBExtensions \n",
- "\n",
- "<br/>\n",
- "<br/>\n",
- "\n",
- "\n",
- "#### Keith Maull / NCAR\n",
- "#### April 20, 2017"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "slide"
- }
- },
- "source": [
- "# Jupyter Notebooks\n",
- "<img src=\"images/jupyter.jpg\" width=\"360\"/>"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "subslide"
- }
- },
- "source": [
- "## ... are awesome.\n",
- "\n",
- "[![](./images/icedragon_2017-04-20_14-08-19.png)](https://github.com/jupyter/jupyter/wiki/A-gallery-of-interesting-Jupyter-Notebooks)\n"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "subslide"
- }
- },
- "source": [
- "## but if you use Jupyter ... you surely use NBextensions"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "subslide"
- }
- },
- "source": [
- "## ... or maybe you've _heard of them_\n",
- "\n",
- "<img src=\"images/firefox_2017-04-20_10-03-00.png\" width=\"800\"/>\n"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "subslide"
- }
- },
- "source": [
- "## ... or maybe even _seen_ them lurking ...\n",
- "\n",
- "<img src=\"images/firefox_2017-04-20_10-06-52_frog.png\" width=\"800\"/>"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "slide"
- }
- },
- "source": [
- "# But have you _really used_ them?"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "slide"
- }
- },
- "source": [
- "# NBExtensions in 30 seconds ..."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "fragment"
- }
- },
- "source": [
- "## NBExtensions are to Jupyter Notebooks what plugins are to Chrome"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "fragment"
- }
- },
- "source": [
- "## They make working <strike>on</strike> in Jupyter fun and interesting"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "fragment"
- }
- },
- "source": [
- "## ... and they might even make you more productive"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "slide"
- }
- },
- "source": [
- "# NB Extensions / How?"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "fragment"
- }
- },
- "source": [
- "## To get started you'll need a few key ingredients ..."
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "fragment"
- }
- },
- "source": [
- "## ingredient 0: a current version of Jupyter!"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "slide"
- }
- },
- "source": [
- "## NB Extensions / How? / Installation"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "fragment"
- }
- },
- "source": [
- "### if you're using `pip` :\n",
- "```\n",
- "pip install jupyter_contrib_nbextensions\n",
- "```\n",
- "\n",
- "### if you're using `conda`:\n",
- "```\n",
- "jupyter contrib nbextension install [--user | --system | ...]\n",
- "```"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "slide"
- }
- },
- "source": [
- "## NB Extensions / How? / Installation"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "fragment"
- }
- },
- "source": [
- "### now check your environment ...\n",
- "\n",
- "<img src=\"images/firefox_2017-04-20_13-16-38.png\"/>"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "subslide"
- }
- },
- "source": [
- "[![](images/icedragon_2017-04-20_14-11-49.png)](http://localhost:8889/tree#nbextensions_configurator)"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "slide"
- }
- },
- "source": [
- "# Five plugins you should _try today_!"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "fragment"
- }
- },
- "source": [
- "## 5: [Table of Contents](./example_document.ipynb)"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "collapsed": false,
- "hide_input": true,
- "slideshow": {
- "slide_type": "fragment"
- }
- },
- "source": [
- "## 4: [Code folding](./example_document.ipynb)"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "hide_input": false,
- "slideshow": {
- "slide_type": "fragment"
- }
- },
- "source": [
- "## 3: [Gist-it](./example_document.ipynb)"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "fragment"
- }
- },
- "source": [
- "## 2: [Equation autonumbering](./example_document.ipynb)"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "hide_input": false,
- "slideshow": {
- "slide_type": "fragment"
- }
- },
- "source": [
- "## 1: [spell checker](./example_document.ipynb)"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "fragment"
- }
- },
- "source": [
- "## 0: [Nbextensions dashboard tab](./example_document.ipynb)"
- ]
- },
- {
- "cell_type": "markdown",
- "metadata": {
- "slideshow": {
- "slide_type": "slide"
- }
- },
- "source": [
- "<img src=\"images/parachute-1242426_1920.jpg\" width=\"800\"/>\n",
- "<center>\n",
- "<h1>Thank you!</h1>\n",
- "<h4>Let's collaborate: `kmaull@ucar.edu`</h4>\n",
- "</center>"
- ]
- }
- ],
- "metadata": {
- "anaconda-cloud": {},
- "celltoolbar": "Slideshow",
- "kernelspec": {
- "display_name": "Python [default]",
- "language": "python",
- "name": "python2"
- },
- "language_info": {
- "codemirror_mode": {
- "name": "ipython",
- "version": 2
- },
- "file_extension": ".py",
- "mimetype": "text/x-python",
- "name": "python",
- "nbconvert_exporter": "python",
- "pygments_lexer": "ipython2",
- "version": "2.7.12"
- },
- "nbpresent": {
- "slides": {
- "bed0ac58-cf34-4f59-9302-6146dff3ab44": {
- "id": "bed0ac58-cf34-4f59-9302-6146dff3ab44",
- "layout": "manual",
- "prev": null,
- "regions": {
- "d1854d10-660b-4c3a-89a8-70cdb0a724c0": {
- "attrs": {
- "height": 0.8,
- "width": 0.8,
- "x": 0.1,
- "y": 0.1
- },
- "id": "d1854d10-660b-4c3a-89a8-70cdb0a724c0"
- }
- }
- }
- },
- "themes": {
- "default": "b802de63-d7e4-4da1-98e4-ee0067e6956a",
- "theme": {
- "b802de63-d7e4-4da1-98e4-ee0067e6956a": {
- "id": "b802de63-d7e4-4da1-98e4-ee0067e6956a",
- "palette": {
- "19cc588f-0593-49c9-9f4b-e4d7cc113b1c": {
- "id": "19cc588f-0593-49c9-9f4b-e4d7cc113b1c",
- "rgb": [
- 252,
- 252,
- 252
- ]
- },
- "31af15d2-7e15-44c5-ab5e-e04b16a89eff": {
- "id": "31af15d2-7e15-44c5-ab5e-e04b16a89eff",
- "rgb": [
- 68,
- 68,
- 68
- ]
- },
- "50f92c45-a630-455b-aec3-788680ec7410": {
- "id": "50f92c45-a630-455b-aec3-788680ec7410",
- "rgb": [
- 155,
- 177,
- 192
- ]
- },
- "c5cc3653-2ee1-402a-aba2-7caae1da4f6c": {
- "id": "c5cc3653-2ee1-402a-aba2-7caae1da4f6c",
- "rgb": [
- 43,
- 126,
- 184
- ]
- },
- "efa7f048-9acb-414c-8b04-a26811511a21": {
- "id": "efa7f048-9acb-414c-8b04-a26811511a21",
- "rgb": [
- 25.118061674008803,
- 73.60176211453744,
- 107.4819383259912
- ]
- }
- },
- "rules": {
- "blockquote": {
- "color": "50f92c45-a630-455b-aec3-788680ec7410"
- },
- "code": {
- "font-family": "Anonymous Pro"
- },
- "h1": {
- "color": "c5cc3653-2ee1-402a-aba2-7caae1da4f6c",
- "font-family": "Lato",
- "font-size": 8
- },
- "h2": {
- "color": "c5cc3653-2ee1-402a-aba2-7caae1da4f6c",
- "font-family": "Lato",
- "font-size": 6
- },
- "h3": {
- "color": "50f92c45-a630-455b-aec3-788680ec7410",
- "font-family": "Lato",
- "font-size": 5.5
- },
- "h4": {
- "color": "c5cc3653-2ee1-402a-aba2-7caae1da4f6c",
- "font-family": "Lato",
- "font-size": 5
- },
- "h5": {
- "font-family": "Lato"
- },
- "h6": {
- "font-family": "Lato"
- },
- "h7": {
- "font-family": "Lato"
- },
- "pre": {
- "font-family": "Anonymous Pro",
- "font-size": 4
- }
- },
- "text-base": {
- "font-family": "Merriweather",
- "font-size": 4
- }
- }
- }
- }
- },
- "toc": {
- "nav_menu": {
- "height": "512px",
- "width": "252px"
- },
- "navigate_menu": true,
- "number_sections": false,
- "sideBar": true,
- "threshold": 4,
- "toc_cell": false,
- "toc_section_display": "none",
- "toc_window_display": false
- }
- },
- "nbformat": 4,
- "nbformat_minor": 0
- }
|