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

Fernando Perez fperez.net@gmail....
Mon Jul 2 21:42:49 CDT 2012

On Mon, Jul 2, 2012 at 7:39 PM, klo uo <klonuo@gmail.com> wrote:
> Hm, could be something with SVG source file:
>   from IPython.core.display import SVG
>   SVG('http://upload.wikimedia.org/wikipedia/commons/4/4c/CMYK_color_swatches.svg')
> doesn't display here, both in Firefox and Chrome

Try to open the url itself first.  For me, it gives an error.  If the
browser can't display the svg to begin with, going through ipython
isn't going to improve the situation.



More information about the IPython-User mailing list