[IPython-User] How to display SVG file in Notebook?

Fernando Perez fperez.net@gmail....
Mon Jul 2 21:28:50 CDT 2012


On Mon, Jul 2, 2012 at 7:06 PM, klo uo <klonuo@gmail.com> wrote:
> I don't know, but I searched half hour, and read many thing about
> IPython and SVG but not what I was looking for.

from IPython.display import SVG
SVG(filename='python-logo.svg')

See the 'tour' notebook we ship:

https://github.com/ipython/ipython/blob/master/docs/examples/notebooks/00_notebook_tour.ipynb

Cheers,

f


More information about the IPython-User mailing list