{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 1,
   "metadata": {
    "collapsed": false
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "[<matplotlib.lines.Line2D at 0x7f21298cc828>]"
      ]
     },
     "execution_count": 1,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXkAAAEACAYAAABWLgY0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAFFhJREFUeJzt3V+onPd95/H3x01jZcnWkA1og1XFRLFJHXDlFBQbL2jS\npcRKS3zj4IZA5NxY1A4WWwhdQhcfQS6am21iSpHbOtE6IVsJE2y1tkkD8dSEEq2xJVpbVhsT07ja\n+vjC6xbbpbj1dy/OSBmP52ieM2f+PDPzfsEh8+d3Zr48SZ7z1u/MzElVIUlaTpfNewBJ0vR4kpek\nJeZJXpKWmCd5SVpinuQlaYl5kpekJdb4JJ/ksiRPJzm5yf33JvlxkjNJ9k5uREnSuLZS8oeBs8Pu\nSHIA2FNVVwOHgKMTmE2StE2NTvJJdgGfAv5kkyW3AA8AVNUp4IokOycyoSRpbE1L/veBLwGbvT32\nSuDFvuvne7dJkuZo5Ek+ya8D61V1BkjvS5K0AN7VYM1NwKeTfAp4D/AfkzxQVZ/vW3Me+MW+67t6\nt71NEj8oR5LGUFVjBfbIkq+qL1fV7qr6EPCbwA8GTvAAJ4HPAyS5AXi1qtY3ebzWf91zzz1zn8E5\nnXNRZ3TO7X2trxe33lr80i8VP/rRxm3bMfbr5JMcSnJH78T9KPBCkueB+4A7tzWVJK2gEyfguutg\nzx54+mn4+Me3/5hNtmsuqqq/BP6yd/m+gfu+uP1xJGn1vPwy3HUXPPssPPzwZE7uF/iO1yE6nc68\nR2jEOSdrEeZchBnBObdiGvXeL9vd79nSkyU1y+eTpLbqr/dvfvPSJ/ck1LR+8SpJmqxp13u/Le3J\nS5LGN829981Y8pI0A7Os936WvCRN0TzqvZ8lL0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H8j8De3uX\n3wv8bUv/t9lkzrkfz94c/6H3nz8H/AjY17bj2XDOthzP/wZ8e9gs4x7LaZT8RN88NUVN5gSY6y+L\nq+qHwP+7xJI2HMsmc8L8j+VLVXWmd/k14Dk23s/Rb+7Hs+GcMOfjCVBVb/QuXs7G7/gG93/nfjx7\nzz1qTpjz8UyyC/gU8CebLBnrWE7jJD/szVOD/wPd7M1Ts9RkToAbe/80eiTJtbMZbUvacCybas2x\nTHIVG//yODVwV6uO5yXmhBYcz972wmngJeD7VfXkwJJWHM8Gc8L8j+fvA19i+A8gGPNYtuajhlvq\nKWB3Ve1l4/N7HprzPIusNccyyXuBB4HDvVJupRFztuJ4VtVbVXU9sAv4+Lx/eG+mwZxzPZ5Jfh1Y\n7/0LLkzwXxXTOMmfB3b3Xd/Vu21wzS+OWDNtI+esqtcu/DOvqh4Dfj7J+2Y3YiNtOJYjteVYJnkX\nGyfOb1XVw0OWtOJ4jpqzLcezb55/Bh4Hbh64qxXH84LN5mzB8bwJ+HSSnwD/G/hEkgcG1ox1LKdx\nkr/45qkk72bjzVODvyk+CXweLr6jduibp6Zs5Jz9+11J9rHxktNXZjvmxtOz+U/2NhzLCzads0XH\n8hvA2ar6+ib3t+V4XnLONhzPJO9PckXv8nuAXwPODSyb+/FsMue8j2dVfbmqdlfVh9g4F/2gqj4/\nsGysYznxz66pBXnzVJM5gVuT/BbwJvAvwG2znjPJd4AO8J+S/BS4B3g3LTqWTeakHcfyJuBzwN/0\n9mcL+DIbr7BqzfFsMictOJ7AB4D/lY2PI78MON47fq36/3qTOWnH8XyHSRxL3wwlSUvMX7xK0hLz\nJC9JS8yTvCQtMU/ykrTEPMlL0hLzJC9JS8yTvCQtMU/ykrTE/j+33DZWsalW/QAAAABJRU5ErkJg\ngg==\n",
      "text/plain": [
       "<matplotlib.figure.Figure at 0x7f21541826a0>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "from IPython.display import set_matplotlib_formats\n",
    "# generate pdf and png images\n",
    "set_matplotlib_formats('pdf', 'png')\n",
    "\n",
    "import matplotlib.pyplot as plt\n",
    "%matplotlib inline\n",
    "\n",
    "\n",
    "plt.plot(range(5))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {
    "collapsed": true
   },
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python [Root]",
   "language": "python",
   "name": "Python [Root]"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.5.2"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 0
}
