{ "metadata": { "name": "" }, "nbformat": 3, "nbformat_minor": 0, "worksheets": [ { "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "The Bokeh Plot Library\n", "======================\n", "\n", "I am [paddy_mullen](https://twitter.com/paddy_mullen). I work for [Continuum Analytics](http://continuum.io/) where we write the [Bokeh](http://bokeh.pydata.org) open source plotting library. This tutorial will walk you through the basic bokeh plotting api and show you some of the advanced possiblilities. Peter Wang, Bryan Van de Ven, Hugo Shi and myself are the primary contributors.\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Installation instructions for tutorial\n", "======================================\n", "\n", "If you have conda installed run the following shell commands\n", "\n", " mkdir bokeh_example\n", " cd bokeh_example/\n", " git clone https://github.com/paddymul/bokeh_tutorial.git\n", " conda create -n bokeh_tutorial bokeh ipython-notebook pyyaml pyaudio anaconda=1.8 --yes\n", " source activate bokeh_tutorial\n", " cd bokeh_tutorial\n", " ipython notebook\n", "\n", "Then in the IPython notebook, open the bokeh_tutorial notebook.\n", "\n", "If you are executing this notebook, please use the menu and select Cell -> All Output -> Clear. Then reload the page, this quirk will be going away in 0.3." ] }, { "cell_type": "code", "collapsed": false, "input": [ "import numpy as np\n", "from bokeh.plotting import output_notebook\n", "import pandas as pd\n", "output_notebook()\n" ], "language": "python", "metadata": {}, "outputs": [ { "html": [ "
Configuring embedded BokehJS mode.
\n", " \n", "