Skip to content

Instantly share code, notes, and snippets.

@bollwyvl
Last active August 29, 2015 14:12
Show Gist options
  • Save bollwyvl/c1959fc938d11ac327da to your computer and use it in GitHub Desktop.
Save bollwyvl/c1959fc938d11ac327da to your computer and use it in GitHub Desktop.
Display the source blob
Display the rendered blob
Raw
{
"metadata": {
"name": "",
"signature": "sha256:62d24ff79729886bcba524b529048f48f87be82c6c7e585ed2ec6be5a72cbd00"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
"cell_type": "code",
"collapsed": false,
"input": [
"import numpy as np\n",
"import matplotlib.pyplot as plt\n",
"import matplotlib\n",
"from scipy.stats import norm\n",
"import sys\n",
"import io\n",
"print('matplotlib version %s' % matplotlib.__version__)\n",
"import IPython\n",
"print('IPython version %s' % IPython.__version__)"
],
"language": "python",
"metadata": {},
"outputs": [
{
"output_type": "stream",
"stream": "stdout",
"text": [
"matplotlib version 1.4.2\n",
"IPython version 2.3.1\n"
]
}
],
"prompt_number": 10
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"class NormGraph(object):\n",
" def __init__(self):\n",
" super(NormGraph, self).__init__()\n",
" def _repr_svg_(self):\n",
" if sys.version_info[0] >= 3:\n",
" output = io.StringIO()\n",
" else:\n",
" output = io.BytesIO()\n",
" self._fig = plt.figure()\n",
" axes_kwargs = {}\n",
" plot_kwargs = {}\n",
" self._ax = [self._fig.add_subplot(111, **axes_kwargs)]\n",
" x = np.arange(-10, 10, 0.001)\n",
" y = norm.pdf(x,0,2)\n",
" self._ax[0].plot(x, y, **plot_kwargs)\n",
" self._fig.savefig(output, format='svg')\n",
" \n",
" return output.getvalue()"
],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 11
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"%matplotlib inline\n",
"plt.plot(0, 1)"
],
"language": "python",
"metadata": {},
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 12,
"text": [
"[<matplotlib.lines.Line2D at 0x7fc28a3d1690>]"
]
},
{
"metadata": {},
"output_type": "display_data",
"png": "",
"text": [
"<matplotlib.figure.Figure at 0x7fc2b402a2d0>"
]
}
],
"prompt_number": 12
},
{
"cell_type": "code",
"collapsed": false,
"input": [
"plt.close('all')\n",
"NormGraph()"
],
"language": "python",
"metadata": {},
"outputs": [
{
"metadata": {},
"output_type": "pyout",
"prompt_number": 25,
"svg": [
"<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\n",
"<!-- Created with matplotlib (http://matplotlib.org/) -->\n",
"<svg height=\"288pt\" version=\"1.1\" viewBox=\"0 0 432 288\" width=\"432pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\n",
" <defs>\n",
" <style type=\"text/css\">\n",
"*{stroke-linecap:butt;stroke-linejoin:round;}\n",
" </style>\n",
" </defs>\n",
" <g id=\"figure_1\">\n",
" <g id=\"patch_1\">\n",
" <path d=\"\n",
"M0 288\n",
"L432 288\n",
"L432 0\n",
"L0 0\n",
"z\n",
"\" style=\"fill:#ffffff;\"/>\n",
" </g>\n",
" <g id=\"axes_1\">\n",
" <g id=\"patch_2\">\n",
" <path d=\"\n",
"M54 252\n",
"L388.8 252\n",
"L388.8 28.8\n",
"L54 28.8\n",
"z\n",
"\" style=\"fill:#ffffff;\"/>\n",
" </g>\n",
" <g id=\"line2d_1\">\n",
" <path clip-path=\"url(#p124b8dd147)\" d=\"\n",
"M54 251.999\n",
"L91.2465 251.884\n",
"L101.525 251.634\n",
"L108.355 251.255\n",
"L113.628 250.748\n",
"L117.997 250.111\n",
"L121.78 249.339\n",
"L125.145 248.43\n",
"L128.208 247.375\n",
"L131.054 246.162\n",
"L133.733 244.778\n",
"L136.277 243.213\n",
"L138.721 241.449\n",
"L141.098 239.459\n",
"L143.425 237.22\n",
"L145.735 234.684\n",
"L148.029 231.832\n",
"L150.322 228.621\n",
"L152.632 224.997\n",
"L154.959 220.928\n",
"L157.336 216.317\n",
"L159.763 211.114\n",
"L162.258 205.234\n",
"L164.836 198.578\n",
"L167.531 190.994\n",
"L170.376 182.305\n",
"L173.423 172.268\n",
"L176.754 160.503\n",
"L180.554 146.235\n",
"L185.442 126.954\n",
"L196.005 85.0392\n",
"L199.471 72.3684\n",
"L202.333 62.7147\n",
"L204.827 55.0583\n",
"L207.054 48.9171\n",
"L209.063 44.0029\n",
"L210.904 40.0651\n",
"L212.595 36.9574\n",
"L214.152 34.5467\n",
"L215.591 32.7156\n",
"L216.914 31.3799\n",
"L218.152 30.435\n",
"L219.307 29.8246\n",
"L220.412 29.487\n",
"L221.484 29.3909\n",
"L222.538 29.5188\n",
"L223.61 29.8745\n",
"L224.715 30.4784\n",
"L225.886 31.3799\n",
"L227.125 32.6212\n",
"L228.464 34.2909\n",
"L229.904 36.4566\n",
"L231.461 39.2175\n",
"L233.135 42.6526\n",
"L234.959 46.9184\n",
"L236.968 52.2018\n",
"L239.178 58.662\n",
"L241.655 66.62\n",
"L244.484 76.4866\n",
"L247.866 89.1263\n",
"L252.453 107.209\n",
"L263.334 150.4\n",
"L267.234 164.788\n",
"L270.616 176.437\n",
"L273.712 186.325\n",
"L276.609 194.842\n",
"L279.354 202.239\n",
"L281.982 208.695\n",
"L284.527 214.368\n",
"L287.004 219.358\n",
"L289.431 223.755\n",
"L291.825 227.637\n",
"L294.186 231.047\n",
"L296.529 234.049\n",
"L298.873 236.696\n",
"L301.233 239.032\n",
"L303.627 241.092\n",
"L306.088 242.919\n",
"L308.615 244.519\n",
"L311.26 245.929\n",
"L314.039 247.158\n",
"L317.002 248.225\n",
"L320.216 249.143\n",
"L323.765 249.922\n",
"L327.766 250.568\n",
"L332.42 251.088\n",
"L338.061 251.486\n",
"L345.36 251.765\n",
"L356.057 251.932\n",
"L377.4 251.996\n",
"L388.783 251.999\n",
"L388.783 251.999\" style=\"fill:none;stroke:#0000ff;stroke-linecap:square;\"/>\n",
" </g>\n",
" <g id=\"patch_3\">\n",
" <path d=\"\n",
"M54 28.8\n",
"L388.8 28.8\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;\"/>\n",
" </g>\n",
" <g id=\"patch_4\">\n",
" <path d=\"\n",
"M388.8 252\n",
"L388.8 28.8\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;\"/>\n",
" </g>\n",
" <g id=\"patch_5\">\n",
" <path d=\"\n",
"M54 252\n",
"L388.8 252\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;\"/>\n",
" </g>\n",
" <g id=\"patch_6\">\n",
" <path d=\"\n",
"M54 252\n",
"L54 28.8\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;\"/>\n",
" </g>\n",
" <g id=\"matplotlib.axis_1\">\n",
" <g id=\"xtick_1\">\n",
" <g id=\"line2d_2\">\n",
" <defs>\n",
" <path d=\"\n",
"M0 0\n",
"L0 -4\" id=\"m93b0483c22\" style=\"stroke:#000000;stroke-width:0.5;\"/>\n",
" </defs>\n",
" <g>\n",
" <use style=\"stroke:#000000;stroke-width:0.5;\" x=\"54.0\" xlink:href=\"#m93b0483c22\" y=\"252.0\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"line2d_3\">\n",
" <defs>\n",
" <path d=\"\n",
"M0 0\n",
"L0 4\" id=\"m741efc42ff\" style=\"stroke:#000000;stroke-width:0.5;\"/>\n",
" </defs>\n",
" <g>\n",
" <use style=\"stroke:#000000;stroke-width:0.5;\" x=\"54.0\" xlink:href=\"#m741efc42ff\" y=\"28.8\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_1\">\n",
" <!-- \u221210 -->\n",
" <defs>\n",
" <path d=\"\n",
"M10.5938 35.5\n",
"L73.1875 35.5\n",
"L73.1875 27.2031\n",
"L10.5938 27.2031\n",
"z\n",
"\" id=\"BitstreamVeraSans-Roman-2212\"/>\n",
" <path d=\"\n",
"M31.7812 66.4062\n",
"Q24.1719 66.4062 20.3281 58.9062\n",
"Q16.5 51.4219 16.5 36.375\n",
"Q16.5 21.3906 20.3281 13.8906\n",
"Q24.1719 6.39062 31.7812 6.39062\n",
"Q39.4531 6.39062 43.2812 13.8906\n",
"Q47.125 21.3906 47.125 36.375\n",
"Q47.125 51.4219 43.2812 58.9062\n",
"Q39.4531 66.4062 31.7812 66.4062\n",
"M31.7812 74.2188\n",
"Q44.0469 74.2188 50.5156 64.5156\n",
"Q56.9844 54.8281 56.9844 36.375\n",
"Q56.9844 17.9688 50.5156 8.26562\n",
"Q44.0469 -1.42188 31.7812 -1.42188\n",
"Q19.5312 -1.42188 13.0625 8.26562\n",
"Q6.59375 17.9688 6.59375 36.375\n",
"Q6.59375 54.8281 13.0625 64.5156\n",
"Q19.5312 74.2188 31.7812 74.2188\" id=\"BitstreamVeraSans-Roman-30\"/>\n",
" <path d=\"\n",
"M12.4062 8.29688\n",
"L28.5156 8.29688\n",
"L28.5156 63.9219\n",
"L10.9844 60.4062\n",
"L10.9844 69.3906\n",
"L28.4219 72.9062\n",
"L38.2812 72.9062\n",
"L38.2812 8.29688\n",
"L54.3906 8.29688\n",
"L54.3906 0\n",
"L12.4062 0\n",
"z\n",
"\" id=\"BitstreamVeraSans-Roman-31\"/>\n",
" </defs>\n",
" <g transform=\"translate(44.309375 263.5984375)scale(0.1 -0.1)\">\n",
" <use xlink:href=\"#BitstreamVeraSans-Roman-2212\"/>\n",
" <use x=\"83.7890625\" xlink:href=\"#BitstreamVeraSans-Roman-31\"/>\n",
" <use x=\"147.412109375\" xlink:href=\"#BitstreamVeraSans-Roman-30\"/>\n",
" </g>\n",
" </g>\n",
" </g>\n",
" <g id=\"xtick_2\">\n",
" <g id=\"line2d_4\">\n",
" <g>\n",
" <use style=\"stroke:#000000;stroke-width:0.5;\" x=\"137.7\" xlink:href=\"#m93b0483c22\" y=\"252.0\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"line2d_5\">\n",
" <g>\n",
" <use style=\"stroke:#000000;stroke-width:0.5;\" x=\"137.7\" xlink:href=\"#m741efc42ff\" y=\"28.8\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_2\">\n",
" <!-- \u22125 -->\n",
" <defs>\n",
" <path d=\"\n",
"M10.7969 72.9062\n",
"L49.5156 72.9062\n",
"L49.5156 64.5938\n",
"L19.8281 64.5938\n",
"L19.8281 46.7344\n",
"Q21.9688 47.4688 24.1094 47.8281\n",
"Q26.2656 48.1875 28.4219 48.1875\n",
"Q40.625 48.1875 47.75 41.5\n",
"Q54.8906 34.8125 54.8906 23.3906\n",
"Q54.8906 11.625 47.5625 5.09375\n",
"Q40.2344 -1.42188 26.9062 -1.42188\n",
"Q22.3125 -1.42188 17.5469 -0.640625\n",
"Q12.7969 0.140625 7.71875 1.70312\n",
"L7.71875 11.625\n",
"Q12.1094 9.23438 16.7969 8.0625\n",
"Q21.4844 6.89062 26.7031 6.89062\n",
"Q35.1562 6.89062 40.0781 11.3281\n",
"Q45.0156 15.7656 45.0156 23.3906\n",
"Q45.0156 31 40.0781 35.4375\n",
"Q35.1562 39.8906 26.7031 39.8906\n",
"Q22.75 39.8906 18.8125 39.0156\n",
"Q14.8906 38.1406 10.7969 36.2812\n",
"z\n",
"\" id=\"BitstreamVeraSans-Roman-35\"/>\n",
" </defs>\n",
" <g transform=\"translate(131.2953125 263.5984375)scale(0.1 -0.1)\">\n",
" <use xlink:href=\"#BitstreamVeraSans-Roman-2212\"/>\n",
" <use x=\"83.7890625\" xlink:href=\"#BitstreamVeraSans-Roman-35\"/>\n",
" </g>\n",
" </g>\n",
" </g>\n",
" <g id=\"xtick_3\">\n",
" <g id=\"line2d_6\">\n",
" <g>\n",
" <use style=\"stroke:#000000;stroke-width:0.5;\" x=\"221.4\" xlink:href=\"#m93b0483c22\" y=\"252.0\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"line2d_7\">\n",
" <g>\n",
" <use style=\"stroke:#000000;stroke-width:0.5;\" x=\"221.4\" xlink:href=\"#m741efc42ff\" y=\"28.8\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_3\">\n",
" <!-- 0 -->\n",
" <g transform=\"translate(218.88046875 263.5984375)scale(0.1 -0.1)\">\n",
" <use xlink:href=\"#BitstreamVeraSans-Roman-30\"/>\n",
" </g>\n",
" </g>\n",
" </g>\n",
" <g id=\"xtick_4\">\n",
" <g id=\"line2d_8\">\n",
" <g>\n",
" <use style=\"stroke:#000000;stroke-width:0.5;\" x=\"305.1\" xlink:href=\"#m93b0483c22\" y=\"252.0\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"line2d_9\">\n",
" <g>\n",
" <use style=\"stroke:#000000;stroke-width:0.5;\" x=\"305.1\" xlink:href=\"#m741efc42ff\" y=\"28.8\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_4\">\n",
" <!-- 5 -->\n",
" <g transform=\"translate(302.74140625 263.5984375)scale(0.1 -0.1)\">\n",
" <use xlink:href=\"#BitstreamVeraSans-Roman-35\"/>\n",
" </g>\n",
" </g>\n",
" </g>\n",
" <g id=\"xtick_5\">\n",
" <g id=\"line2d_10\">\n",
" <g>\n",
" <use style=\"stroke:#000000;stroke-width:0.5;\" x=\"388.8\" xlink:href=\"#m93b0483c22\" y=\"252.0\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"line2d_11\">\n",
" <g>\n",
" <use style=\"stroke:#000000;stroke-width:0.5;\" x=\"388.8\" xlink:href=\"#m741efc42ff\" y=\"28.8\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_5\">\n",
" <!-- 10 -->\n",
" <g transform=\"translate(383.31875 263.5984375)scale(0.1 -0.1)\">\n",
" <use xlink:href=\"#BitstreamVeraSans-Roman-31\"/>\n",
" <use x=\"63.623046875\" xlink:href=\"#BitstreamVeraSans-Roman-30\"/>\n",
" </g>\n",
" </g>\n",
" </g>\n",
" </g>\n",
" <g id=\"matplotlib.axis_2\">\n",
" <g id=\"ytick_1\">\n",
" <g id=\"line2d_12\">\n",
" <defs>\n",
" <path d=\"\n",
"M0 0\n",
"L4 0\" id=\"m728421d6d4\" style=\"stroke:#000000;stroke-width:0.5;\"/>\n",
" </defs>\n",
" <g>\n",
" <use style=\"stroke:#000000;stroke-width:0.5;\" x=\"54.0\" xlink:href=\"#m728421d6d4\" y=\"252.0\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"line2d_13\">\n",
" <defs>\n",
" <path d=\"\n",
"M0 0\n",
"L-4 0\" id=\"mcb0005524f\" style=\"stroke:#000000;stroke-width:0.5;\"/>\n",
" </defs>\n",
" <g>\n",
" <use style=\"stroke:#000000;stroke-width:0.5;\" x=\"388.8\" xlink:href=\"#mcb0005524f\" y=\"252.0\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_6\">\n",
" <!-- 0.00 -->\n",
" <defs>\n",
" <path d=\"\n",
"M10.6875 12.4062\n",
"L21 12.4062\n",
"L21 0\n",
"L10.6875 0\n",
"z\n",
"\" id=\"BitstreamVeraSans-Roman-2e\"/>\n",
" </defs>\n",
" <g transform=\"translate(29.0578125 254.759375)scale(0.1 -0.1)\">\n",
" <use xlink:href=\"#BitstreamVeraSans-Roman-30\"/>\n",
" <use x=\"63.623046875\" xlink:href=\"#BitstreamVeraSans-Roman-2e\"/>\n",
" <use x=\"95.41015625\" xlink:href=\"#BitstreamVeraSans-Roman-30\"/>\n",
" <use x=\"159.033203125\" xlink:href=\"#BitstreamVeraSans-Roman-30\"/>\n",
" </g>\n",
" </g>\n",
" </g>\n",
" <g id=\"ytick_2\">\n",
" <g id=\"line2d_14\">\n",
" <g>\n",
" <use style=\"stroke:#000000;stroke-width:0.5;\" x=\"54.0\" xlink:href=\"#m728421d6d4\" y=\"196.2\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"line2d_15\">\n",
" <g>\n",
" <use style=\"stroke:#000000;stroke-width:0.5;\" x=\"388.8\" xlink:href=\"#mcb0005524f\" y=\"196.2\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_7\">\n",
" <!-- 0.05 -->\n",
" <g transform=\"translate(29.2671875 198.959375)scale(0.1 -0.1)\">\n",
" <use xlink:href=\"#BitstreamVeraSans-Roman-30\"/>\n",
" <use x=\"63.623046875\" xlink:href=\"#BitstreamVeraSans-Roman-2e\"/>\n",
" <use x=\"95.41015625\" xlink:href=\"#BitstreamVeraSans-Roman-30\"/>\n",
" <use x=\"159.033203125\" xlink:href=\"#BitstreamVeraSans-Roman-35\"/>\n",
" </g>\n",
" </g>\n",
" </g>\n",
" <g id=\"ytick_3\">\n",
" <g id=\"line2d_16\">\n",
" <g>\n",
" <use style=\"stroke:#000000;stroke-width:0.5;\" x=\"54.0\" xlink:href=\"#m728421d6d4\" y=\"140.4\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"line2d_17\">\n",
" <g>\n",
" <use style=\"stroke:#000000;stroke-width:0.5;\" x=\"388.8\" xlink:href=\"#mcb0005524f\" y=\"140.4\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_8\">\n",
" <!-- 0.10 -->\n",
" <g transform=\"translate(29.0578125 143.159375)scale(0.1 -0.1)\">\n",
" <use xlink:href=\"#BitstreamVeraSans-Roman-30\"/>\n",
" <use x=\"63.623046875\" xlink:href=\"#BitstreamVeraSans-Roman-2e\"/>\n",
" <use x=\"95.41015625\" xlink:href=\"#BitstreamVeraSans-Roman-31\"/>\n",
" <use x=\"159.033203125\" xlink:href=\"#BitstreamVeraSans-Roman-30\"/>\n",
" </g>\n",
" </g>\n",
" </g>\n",
" <g id=\"ytick_4\">\n",
" <g id=\"line2d_18\">\n",
" <g>\n",
" <use style=\"stroke:#000000;stroke-width:0.5;\" x=\"54.0\" xlink:href=\"#m728421d6d4\" y=\"84.6\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"line2d_19\">\n",
" <g>\n",
" <use style=\"stroke:#000000;stroke-width:0.5;\" x=\"388.8\" xlink:href=\"#mcb0005524f\" y=\"84.6\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_9\">\n",
" <!-- 0.15 -->\n",
" <g transform=\"translate(29.2671875 87.359375)scale(0.1 -0.1)\">\n",
" <use xlink:href=\"#BitstreamVeraSans-Roman-30\"/>\n",
" <use x=\"63.623046875\" xlink:href=\"#BitstreamVeraSans-Roman-2e\"/>\n",
" <use x=\"95.41015625\" xlink:href=\"#BitstreamVeraSans-Roman-31\"/>\n",
" <use x=\"159.033203125\" xlink:href=\"#BitstreamVeraSans-Roman-35\"/>\n",
" </g>\n",
" </g>\n",
" </g>\n",
" <g id=\"ytick_5\">\n",
" <g id=\"line2d_20\">\n",
" <g>\n",
" <use style=\"stroke:#000000;stroke-width:0.5;\" x=\"54.0\" xlink:href=\"#m728421d6d4\" y=\"28.8\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"line2d_21\">\n",
" <g>\n",
" <use style=\"stroke:#000000;stroke-width:0.5;\" x=\"388.8\" xlink:href=\"#mcb0005524f\" y=\"28.8\"/>\n",
" </g>\n",
" </g>\n",
" <g id=\"text_10\">\n",
" <!-- 0.20 -->\n",
" <defs>\n",
" <path d=\"\n",
"M19.1875 8.29688\n",
"L53.6094 8.29688\n",
"L53.6094 0\n",
"L7.32812 0\n",
"L7.32812 8.29688\n",
"Q12.9375 14.1094 22.625 23.8906\n",
"Q32.3281 33.6875 34.8125 36.5312\n",
"Q39.5469 41.8438 41.4219 45.5312\n",
"Q43.3125 49.2188 43.3125 52.7812\n",
"Q43.3125 58.5938 39.2344 62.25\n",
"Q35.1562 65.9219 28.6094 65.9219\n",
"Q23.9688 65.9219 18.8125 64.3125\n",
"Q13.6719 62.7031 7.8125 59.4219\n",
"L7.8125 69.3906\n",
"Q13.7656 71.7812 18.9375 73\n",
"Q24.125 74.2188 28.4219 74.2188\n",
"Q39.75 74.2188 46.4844 68.5469\n",
"Q53.2188 62.8906 53.2188 53.4219\n",
"Q53.2188 48.9219 51.5312 44.8906\n",
"Q49.8594 40.875 45.4062 35.4062\n",
"Q44.1875 33.9844 37.6406 27.2188\n",
"Q31.1094 20.4531 19.1875 8.29688\" id=\"BitstreamVeraSans-Roman-32\"/>\n",
" </defs>\n",
" <g transform=\"translate(29.0578125 31.559375)scale(0.1 -0.1)\">\n",
" <use xlink:href=\"#BitstreamVeraSans-Roman-30\"/>\n",
" <use x=\"63.623046875\" xlink:href=\"#BitstreamVeraSans-Roman-2e\"/>\n",
" <use x=\"95.41015625\" xlink:href=\"#BitstreamVeraSans-Roman-32\"/>\n",
" <use x=\"159.033203125\" xlink:href=\"#BitstreamVeraSans-Roman-30\"/>\n",
" </g>\n",
" </g>\n",
" </g>\n",
" </g>\n",
" </g>\n",
" </g>\n",
" <defs>\n",
" <clipPath id=\"p124b8dd147\">\n",
" <rect height=\"223.2\" width=\"334.8\" x=\"54.0\" y=\"28.8\"/>\n",
" </clipPath>\n",
" </defs>\n",
"</svg>\n"
],
"text": [
"<__main__.NormGraph at 0x7fc289e75790>"
]
},
{
"metadata": {},
"output_type": "display_data",
"png": "",
"text": [
"<matplotlib.figure.Figure at 0x7fc289e75550>"
]
}
],
"prompt_number": 25
},
{
"cell_type": "code",
"collapsed": false,
"input": [],
"language": "python",
"metadata": {},
"outputs": [],
"prompt_number": 25
},
{
"cell_type": "code",
"collapsed": false,
"input": [],
"language": "python",
"metadata": {},
"outputs": []
}
],
"metadata": {}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment