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

klo uo klonuo@gmail....
Mon Jul 2 21:32:26 CDT 2012


Great.
Thanks Fernando

On Tue, Jul 3, 2012 at 4:28 AM, Fernando Perez <fperez.net@gmail.com> wrote:
> 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
> _______________________________________________
> IPython-User mailing list
> IPython-User@scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-user


More information about the IPython-User mailing list