{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Geojson in python\n", "- https://pypi.python.org/pypi/geojson/\n", "\n", "# Bokeh with geojson\n", "- http://bokeh.pydata.org/en/0.11.1/docs/user_guide/geo.html" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Bokeh with geojson (sample)\n", "- requires bokeh > 0.11.1\n", "- iPython > 4.0.0\n", "- jupyter\n", " - [ref](https://oyama999.wordpress.com/2015/09/12/snow-leopard-ipython-jupyter/)" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "collapsed": false }, "outputs": [], "source": [ "from bokeh.io import output_notebook" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/html": [ "\n", "\n", " \n", "
" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "output_notebook()" ] }, { "cell_type": "code", "execution_count": 51, "metadata": { "collapsed": false }, "outputs": [ { "data": { "text/html": [ "\n", "\n", " \n", "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/plain": [ "