title: SVG output not displayed when opening an IPython / Jupyter Notebook
body: <p>I'm writing some IPython / Jupyter Notebooks which calculate and display a lot of SVG figures. As a minimal example, consider the following:</p>
  
  <p><a href="https://i.stack.imgur.com/K50z7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/K50z7.png" alt="Notebook this displayed SVG output"></a></p>
  
  <p>Almost every time I reopen such notebooks (especially the big ones), their figures are replaced by a textual output:</p>
  
  <p><a href="https://i.stack.imgur.com/xvUOO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xvUOO.png" alt="enter image description here"></a></p>
  
  <p>Of course, I could recalculate them by running all cells. But it is quite long, and the data are actually present in the JSON <code>.ipynb</code> file: </p>
  
  <pre><code>{
   "cells": [
    {
     "cell_type": "code",
     "execution_count": 1,
     "metadata": {
      "collapsed": false
     },
     "outputs": [
      {
       "data": {
        "image/svg+xml": [
         "&lt;svg baseProfile=\"full\" height=\"200\" version=\"1.1\" width=\"300\" xmlns=\"http://www.w3.org/2000/svg\"&gt;\n",
         "\n",
         "  &lt;rect fill=\"red\" height=\"100%\" width=\"100%\"/&gt;\n",
         "\n",
         "  &lt;circle cx=\"150\" cy=\"100\" fill=\"green\" r=\"80\"/&gt;\n",
         "\n",
         "  &lt;text fill=\"white\" font-size=\"60\" text-anchor=\"middle\" x=\"150\" y=\"125\"&gt;SVG&lt;/text&gt;\n",
         "\n",
         "&lt;/svg&gt;"
        ],
        "text/plain": [
         "&lt;IPython.core.display.SVG object&gt;"
        ]
       },
       "execution_count": 1,
       "metadata": {},
       "output_type": "execute_result"
      }
     ],
     "source": [
      "from IPython.core.display import SVG\n",
      "SVG(url=\"https://mdn.mozillademos.org/files/3075/svgdemo1.xml\")"
     ]
    }
   ],
   "metadata": {
    "kernelspec": {
     "display_name": "Python 2",
     "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.10"
    }
   },
   "nbformat": 4,
   "nbformat_minor": 0
  }
  </code></pre>
  
  <p>Am I doing anything wrong? Is this a known bug? Can you reproduce this behaviour on <a href="https://gist.github.com/laowantong/8f77e85736b4a674597a" rel="nofollow noreferrer">the same notebook</a>? How to ensure that the SVG outputs is correctly shown each time I reopen a notebook?</p>
  
  <p>Configuration: Fresh Mac OS X 10.10.4 installation of the latest IPython Notebook Anaconda package, but without any subsequent manual updates (i.e., this is still IPython 3.2.0-py27_0).</p>